Netfilter says they have support for SNAT and DNAT for ipv6. I look under the man pages of ip6tables and see that there is SNAT and DNAT listed. So my question is how do you make rules for them? I tried using the same structure of the rules for iptables, but ip6tables does not have a nat table and SNAT/DNAT are virtual states. So I don't know what modifications to make from an example like:
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 1.2.3.4
to be applicable to ip6tables. Thanks for the help!
ip6tablesman page says nothing about SNAT or DNAT. As you're probably aware, there is no such thing in IPv6. – Michael Hampton Jan 17 at 22:02