Koozali.org: home of the SME Server

Port forwarding in 7.6

Offline eiceic

  • ****
  • 118
  • +0/-0
    • http://www.eicsoftware.com
Port forwarding in 7.6
« on: September 03, 2012, 03:48:02 PM »
I've been using port forwarding for years in all versions of SME and it's worked great for me..   Now I can't get it to work in 7.6.   Is there a known bug?

Which log would I look at to see why it is not forwarding?

I have a local network with my SME server on 10.0.0.46 and a custom web server listening on 10.0.0.42.

When I'm on the local network, I can type 10.0.0.42 on any web browser and get my custom web server.   
When I am offsite, I can VPN into the SME server using the SME vpn and type 10.0.0.46 in my web browser and get the custom web server.
When I am offsite and I hit the external static IP of SME server, I get the little web site served up by SME.    I then put the rule on the SME server to forward port 80 to 10.0.0.46 and then try and hit it the external server IP again from the outside world and I get nothing - it just sits there..   

Thanks,

Chris
« Last Edit: September 03, 2012, 03:57:21 PM by eiceic »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Port forwarding in 7.6
« Reply #1 on: September 03, 2012, 04:07:07 PM »
I then put the rule on the SME server to forward port 80 to 10.0.0.46 and then try and hit it the external server IP again from the outside world and I get nothing - it just sits there..   

Most likely cause of that is that the default gateway on your custom web server is not set to 10.0.0.46.

Offline eiceic

  • ****
  • 118
  • +0/-0
    • http://www.eicsoftware.com
Re: Port forwarding in 7.6
« Reply #2 on: September 03, 2012, 05:42:27 PM »
That was exactly it -- thank you so much Charlie!

-Chris