PDA

View Full Version : redirect ports on a LAN network


sunrain
2005-02-05, 12:37 AM CST
Hello everyone

I am part of a LAN network and we have just installed a server running fedora core to connect us to the outside. I want to redirect for example port 100 on the server to my station - so any connection that comes on 81.81.812.81:90 should go to 192.168.0.5:90. How can I do that? Is there any command line that I can use? I am rather new with Linux so any detailed explanation would be really appreciated.

Regards,
Michael

killaweegee
2005-02-05, 12:46 AM CST
To do this with a command you would have to edit iptables I would say. I have not played with ip tables that much, but there is a nice little program out that could help you accomplish this. It's called Firestarter http://www.fs-security.com/ . This will allow you to do your port forwarding quite easily. Hope this helps.

sunrain
2005-02-05, 02:18 AM CST
Thanks! I'll give it a try!