[ale] Redirect a port
James P. Kinney III
jkinney at localnetsolutions.com
Sat Jan 21 13:19:11 EST 2006
On Sat, 2006-01-21 at 10:01 -0500, Christopher Fowler wrote:
> I have a service that runs on port 5000 on a server. I have devices in
> the field that are configured for 5000 or 5001. Is it possible to use
> iptables to redirect requests coming into 5001 to 5000? I've done this
> with DNAT but the server that is running the software is not behind a
> NAT. It is on a public IP. So I want to do something like this:
>
>
> 0.0.0.0/0 -> 209.168.X.X:5001 -> 5000
iptables -A nat -m tcp -p tcp --dport 5001 -j REDIRECT --to-ports 5000
>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
--
James P. Kinney III \Changing the mobile computing world/
CEO & Director of Engineering \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
http://www.localnetsolutions.com
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the Ale
mailing list