Koozali.org: home of the SME Server

Port Forwarding Ranges

KJ

Port Forwarding Ranges
« on: December 26, 2002, 08:08:39 PM »
I am wondering what file I need to manually adjust port forwarding on esmith.  Has anyone every done any port forwarding ranges?

KJ

Bill Talcott

Re: Port Forwarding Ranges
« Reply #1 on: December 26, 2002, 10:57:58 PM »
Read up on ipchains at linuxnewbie.org. I believe you can just add the commands to rc.local once you've figured out what you need.

Nathan Fowler

Re: Port Forwarding Ranges
« Reply #2 on: December 26, 2002, 11:08:46 PM »
You'll actually want to use a set of the ipmasqadm tools in addition to ipchains.  Ipchains should be used to open the port, ipmasqadm will handle the forwarding.  You can add them to /etc/rc.d/rc.local as Bill states to keep them after reboot.

You'll probably want to play with:
ipmasqadm autofw
ipmasqadm portfw

Check out http://www.tsmservices.com/masq for more details on applications requiring port fowarding and the syntax to use.

Hope this helped,
Nathan

Charlie Brady

Re: Port Forwarding Ranges
« Reply #3 on: December 27, 2002, 08:08:22 PM »
KJ wrote:
>
> I am wondering what file I need to manually adjust port
> forwarding on esmith.  Has anyone every done any port
> forwarding ranges?

Has anyone done any searching on this board? "port forwarding" might be a good search term.

Charlie