Koozali.org: home of the SME Server

portforward, apache

WkWk

portforward, apache
« 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

Offline Jean-Philippe Pialasse

  • *
  • 2,907
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
portforward, apache
« Reply #1 on: February 06, 2006, 05:24:42 PM »
Hello,

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


Jean-Philippe

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: portforward, apache
« Reply #2 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

WkWk

portforward, apache
« Reply #3 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 :)

WkWk

thanks :)
« Reply #4 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