Allow NAT to localhost

In order to allow routing of a local port to an external interface you need to enable route_localnet for the interface: echo 1 > /proc/sys/net/ipv4/conf/<iface>/route_localnet

Leave a Reply

Your email address will not be published. Required fields are marked *