You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My host server only has a private ipv4 address and a global ipv6 address. I want to enable ipv6 forwarding so I can access my guest VM through global ipv6.
My host server only has a private ipv4 address and a global ipv6 address. I want to enable ipv6 forwarding so I can access my guest VM through global ipv6.
I have successfully defined a network with ipv6:
Then, the address of my guest VM is
fd12:8848:a2a2:1::53
and I can connect to it with ssh from the host.However, this script seemed to only add ipv4 DNAT in
iptables
.ip6tables -t nat -L
did not have any DNAT rules. So, I added it by hand:sudo ip6tables -t nat -A PREROUTING -p tcp --dport 4022 -j DNAT --to-destination '[fd12:8848:a2a2:1::53]:22'
And everything works perfectly.
But I still want to let this script manages it automatically and it would be appreciated if the developers of the script can add this feature.
The text was updated successfully, but these errors were encountered: