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