Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: KJ on December 26, 2002, 08:08:39 PM

Title: Port Forwarding Ranges
Post by: KJ 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
Title: Re: Port Forwarding Ranges
Post by: Bill Talcott 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.
Title: Re: Port Forwarding Ranges
Post by: Nathan Fowler 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
Title: Re: Port Forwarding Ranges
Post by: Charlie Brady 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