Listening on Additional Ports

keefe007

Verified User
Joined
Dec 25, 2004
Messages
292
Here's a little trick to get servers to listen on additional ports. This can be used for SMTP as well or any other protocol.

iptables -v -t nat -A PREROUTING -p tcp -j REDIRECT --dport 109 --to-ports 110

I implemented this for a client and it works great.

Keefe
 
Top