Ubuntu

Debian based Linux distribution

Add port redirection with iptables

Redirect from listening tcp port 4455 to 45.

iptables -t nat -I PREROUTING --src 0/0 -p tcp --dport 4455 -j REDIRECT --to-ports 45
iptables -t nat -L -n -v

Ubuntu (last edited 2015-04-09 21:44:36 by 77)