1

Route connections via an IPv6 IP address?

view story
linux-howto

http://serverfault.com – I have a dedicated server with a big block of IPv6 IPs. I'd like to be able to use a randomized IPv6 IP within that block and run all outgoing connections through that single selected IP. I've already accomplished the same thing with IPv4 by using iptables: iptables -t nat -A POSTROUTING -p tcp -m tcp ! -s XXX.XXX.XXX.XXX -j SNAT --to-source XXX.XXX.XXX.XXX Since ip6tables doesn't seem to have a NAT table, I started looking for alternatives... One alternative I found is : NATP66 . If I installed and compiled everything for NATP66 to work I think I could probably use this ip6tables rule: (HowTos)