Koozali.org: home of the SME Server

help with port forwarding a firewall with a range of ports

John

help with port forwarding a firewall with a range of ports
« on: July 08, 2002, 07:48:41 AM »
I need to forward a range of ports..4000 to 4100.I've downloaded the rpm to allow port forawarding thru the web interface did that.But still can't connect.I'm thinking it has something to do with the firewall.How do i open a range of ports in the firewall? I use to run clarkconnect but was having some issues with connection being lost to the internet.I know with iptables i had to write a rule in the rc.firewall file.

chris meredith

Re: help with port forwarding a firewall with a range of por
« Reply #1 on: July 08, 2002, 08:15:06 AM »
I haven't used the port forwarding RPM, but I would guess it would open the port as well as forward.  Have you trigered a network restart or anything?  Try

/etc/init.d/masq restart

You can look in the masq file and see if there are rules for your port range.  If not, add them, do a restart (like above) and see if it works.  If so, you will need to edit the Template for the masq file so your changes won't be lost.  The ipchains syntax is similar to iptables, but you might want to look at the HOWTO for ipchains anyway.

John

Re: help with port forwarding a firewall with a range of por
« Reply #2 on: July 08, 2002, 08:19:41 AM »
I've looked in the file and i've made the changes.did the restart and still no go.It's a passive port range for a server.They can connect thru the port range but it hangs on directory listing.Almost like something is blocking the traffic from the internal lan