2
Does anyone how to redirect an incoming port to another port for an IPv6 address in OpenWRT?
There is no NAT involved just an ordinary global IPv6 address.
What I am trying to do is change the port of SSH for a number of servers; redirecting an arbitrary port number to 22 internally. Whilst remaining on port 22 for the local network.
E.g. [2345::1]:5000 -> OpenWRT -> [2345::1]:22
When using the equivalent IPv4 NAT this configuration is very simple because the ports can easily be configured with port forwarding.
Many thanks
I'm not sure why you wouldn't just configure those servers to additionally listen on port 5000... – user1686 – 2018-08-19T22:42:59.130
^, and then simply block port 22 for WAN inbound connections. – confetti – 2018-08-19T23:19:18.817
yes that would be an alternative, but doing it once on the router is preferable to configuring many servers – jacob_pro – 2018-08-19T23:25:05.517