How can I redirect one port to another local port by using ip6tables ?
e.g. something like this :
ip6tables -t nat -A PREROUTING -j REDIRECT -p tcp –dport 443 –to-ports 8443
How can I redirect one port to another local port by using ip6tables ?
Share
ip6tablesdoes not supportREDIRECT. (Normally people use this in a NAT environment, and NAT is generally not supported with IPv6.)If all you need to do is bind to the low port as a normal user, why not try the workaround described in this answer? Of course, in the case of Tomcat, it sounds like this would mean giving any Java process that capability.