Port Forwarding Not Operational - Stumped

Support section for FREESCO v0.3.x 3rd Party Packages

Postby dman535 » Mon Aug 06, 2007 10:05 pm

I did an upgrade to 3.7 from 3.4 - same setting - but now I am not getting any port forwarding. Everything else seems to be fine. Attached is a report - with the recent log and network information.

Seems like Freesco is ignoring the port forwarding commands and rejecting the traffic going through those ports.

thanks for any help.

Derek.-
dman535
Newbie
 
Posts: 6
Joined: Tue Jan 22, 2002 8:27 pm

Postby Lightning » Tue Aug 07, 2007 12:53 am

----- cat /etc/portfw.cfg | sed s/\#.*//g -----
t,80,80,192.168.54.40
t,3389,3389,192.168.54.40
t,6681,6681,192.168.54.50
u,6681,6681,192.168.54.50
t,32459,32459,192.168.54.50

Should be
----- cat /etc/portfw.cfg | sed s/\#.*//g -----
tcp,80,80,192.168.54.40
tcp,3389,3389,192.168.54.40
tcp,6681,6681,192.168.54.50
udp,6681,6681,192.168.54.50
tcp,32459,32459,192.168.54.50

You also should know that you can NOT use
ENAWWW=s  #441 HTTP Server
WWWPORT=80  #442 port

When trying to forward a port that you also have a server running on it MUST be set to "y" mode and not "s" mode.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3046
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby dman535 » Tue Aug 07, 2007 6:23 am

Thanks for the oversight.

The web server is on a different box. So I assume I keep it secure for internal network use (ie control panel) and then forward port 80 to the server.

Is that right ?

thanks

Derek.-
dman535
Newbie
 
Posts: 6
Joined: Tue Jan 22, 2002 8:27 pm

Postby dingetje » Tue Aug 07, 2007 10:46 am

Configuring the FREESCO web server in control panel to 's' (secure) will add a firewall rule that will stop all access from the outside to port 80. I assume that is NOT what you want?

So either disable the builtin FREESCO web server completely ('n') or enable it for world wide access ('y'). In both cases the port forward to the internal web server on the other box will work.
GreetZ
http://dingetje.homeip.net

"Software is like sex: it's better when it's free." - LINUS TORVALDS
User avatar
dingetje
FREESCO GURU !!
 
Posts: 1004
Joined: Wed Nov 14, 2001 12:13 pm
Location: The Netherlands

Postby Lightning » Tue Aug 07, 2007 9:21 pm

As a side note, when you have port forwarding enabled on FREESCO it takes ALL external connections on that port and forwards them to the server you have specified in the forward. So if you run a server on FREESCO on the same exact port then that server is NOT accessible from the outside. But it does work on the local LAN side of FREESCO. So in essence with port forwarding enabled it is the same as running the server in "s" mode except it has to be set in "y" mode or the forward will not work because of the firewall rule set when running in "s" mode.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3046
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA


Return to 3rd Party Package Support for FREESCO v0.3.x

Who is online

Users browsing this forum: No registered users and 1 guest

cron