Port forwarding on Linux without iptables?

Use the tool called “socat”, it is great tool for such things and it is already packaged
in many linux distribution. Read about it here : http://www.dest-unreach.org/socat/doc/README

Port forwarding example with socat :

socat TCP4-LISTEN:80,fork TCP4:www.yourdomain.org:8080

This redirect all TCP connections on port 80 to www.yourdomain.org port 8080 TCP.

Leave a Comment