Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: WkWk on February 06, 2006, 02:28:07 PM

Title: portforward, apache
Post by: WkWk on February 06, 2006, 02:28:07 PM
Hey guys, I just upgraded my small home sme server to 7.0 pre1, great job! love the new features. I have one question though. I have never set up the sme server for external web hosting access, it's always just been serving to a lan. My ISP blocks port 80 which is fine as I thought I would just use the port forwarding module for port 83.
So I put in a rule for sourceport 83, destination localhost port 80.
From what I have read on the forums the portforwarding module is supposed to open the ports as well. But even on my lan when I use the base url:83 no go. Even tried a higher port no & it didn't work.
Just wondered if there was another step like opening the port that I should try?
Any help appreciated,
Will
Title: portforward, apache
Post by: Jean-Philippe Pialasse on February 06, 2006, 05:24:42 PM
Hello,

Is your SME in server only mode or server + gateway mode ?


Jean-Philippe
Title: Re: portforward, apache
Post by: CharlieBrady on February 06, 2006, 05:36:33 PM
Quote from: "WkWk"
Hey guys, I just upgraded my small home sme server to 7.0 pre1, great job! love the new features. I have one question though. I have never set up the sme server for external web hosting access, it's always just been serving to a lan. My ISP blocks port 80 which is fine as I thought I would just use the port forwarding module for port 83.
So I put in a rule for sourceport 83, destination localhost port 80.
From what I have read on the forums the portforwarding module is supposed to open the ports as well. But even on my lan when I use the base url:83 no go.


Port forwarding doesn't work from the LAN. You'll need to test from outside (which is what you want to work anyway).

I've opened a bug suggesting that this feature be added. Port forwarding in general cannot work from inside the LAN (the server cannot modify packets which it doesn't see) but portforward to localhost can in theory be made to work for LAN clients:

http://bugs.contribs.org/show_bug.cgi?id=670
Title: portforward, apache
Post by: WkWk on February 06, 2006, 08:38:32 PM
Yep server is in server/gateway mode, have tested it externally as well with no luck but again just don't know if I am missing something. The ibays that I am sharing have been set for entire internet with a password.
Will maybe test with a higher port externally.

Thanks for suggestions :)
Title: thanks :)
Post by: WkWk on February 06, 2006, 11:18:15 PM
Thanks guys got it working, looks like corperate firewalls blocking all ports except for 80. Tested on an unwired connection external & it comes up :) Now to display some real content.
Thanks so much for the help
Will