Wednesday, 28 August 2013

Translating iptables rule to ip6tables

Translating iptables rule to ip6tables

What's the equivalent of this iptables rule in ip6tables:
-A OUTPUT -s 127.0.0.1/32 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports
8080
I tried this and it doesn't seem to work:
-A OUTPUT -s ::1/128 -p tcp -m tcp --dport 80 -j REDIRECT --on-port 8080

No comments:

Post a Comment