diff options
Diffstat (limited to 'extensions/libip6t_SNPT.man')
-rw-r--r-- | extensions/libip6t_SNPT.man | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libip6t_SNPT.man b/extensions/libip6t_SNPT.man index 78d644a7..8741c648 100644 --- a/extensions/libip6t_SNPT.man +++ b/extensions/libip6t_SNPT.man @@ -15,15 +15,15 @@ Set destination prefix that you want to use in the translation and length .PP You have to use the DNPT target to undo the translation. Example: .IP -ip6tables \-t mangle \-I POSTROUTING \-s fd00::/64 \! \-o vboxnet0 +ip6tables \-t mangle \-I POSTROUTING \-s fd00::/64 ! \-o vboxnet0 \-j SNPT \-\-src-pfx fd00::/64 \-\-dst-pfx 2001:e20:2000:40f::/64 .IP ip6tables \-t mangle \-I PREROUTING \-i wlan0 \-d 2001:e20:2000:40f::/64 -\-j DNPT \-\-src-pfx 2001:e20:2000:40f::/64 \-\-dst-pfx fd00::/64 +\-j DNPT \-\-src-pfx 2001:e20:2000:40f::/64 \-\-dst\-pfx fd00::/64 .PP You may need to enable IPv6 neighbor proxy: .IP -sysctl -w net.ipv6.conf.all.proxy_ndp=1 +sysctl \-w net.ipv6.conf.all.proxy_ndp=1 .PP You also have to use the .B NOTRACK |