Hey,
I tried to use the IPv6 NAT module but it doesn’t work for me yet. Is this usage right? I have a public VPS reachable at 2a01:4f8:1c17:47c6::
on enp1s0
. I want to forward port 22 to internal device fdc9:281f:4d7:9ee9::2
on wg0
:
nat = {
enable = true;
internalInterfaces = [ "wg0" ];
externalInterface = "enp1s0";
enableIPv6 = true;
internalIPv6s = [ "fdc9:281f:4d7:9ee9::/64" ];
internalIPs = [ "10.250.0.0/16" ];
externalIPv6 = "2a01:4f8:1c17:47c6::";
forwardPorts = [
{
sourcePort = 22;
proto = "tcp";
destination = "[fdc9:281f:04d7:9ee9::2]:22";
}
Unfortunately nmap still shows port 22 filtered. On the VPS port 22 is open for fdc9:281f:04d7:9ee9::2