[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Redirecting 5001 to 5000
- Subject: [ale] Redirecting 5001 to 5000
- From: cfowler at outpostsentinel.com (Christopher Fowler)
- Date: Thu, 04 Jan 2007 11:42:12 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
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