[ale] Redirect a port

Christopher Fowler cfowler at outpostsentinel.com
Thu Jan 26 16:30:55 EST 2006


On Sat, 2006-01-21 at 14:02 -0500, Joe Steele wrote:
> That should be:
> 
> iptables -t nat -A PREROUTING -p tcp --dport 5001 -j REDIRECT --to-
> ports 
> 5000
> 

This works great.

anything going to 192.168.3.1:5001 now goes to 5000


Is it possible to redirect it to another IP Address out on the Internet?

192.168.3.1:5001 -> 209.168.246.250:5001





More information about the Ale mailing list