[ale] Redirecting 5001 to 5000
Christopher Fowler
cfowler at outpostsentinel.com
Thu Jan 4 11:42:12 EST 2007
Found it
iptables -t nat -A PREROUTING -p tcp -s --dport 5001 -j REDIRECT --to-
ports 5000
On Thu, 2007-01-04 at 11:30 -0500, Christopher Fowler wrote:
> I've asked this question before and got an answer. Unfortunately I
> can't remember, can't find my archive, and searching the ALE archive
> does not seem to work.
>
> I have a service running on 5000 on a server. Some devices are
> configured for 5001. I do not want to run 2 daemons only one. How can
> I use iptables to redirect incoming connect()'s to 5001 to 5000?
>
> Thanks,
> Chris
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list