Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: eiceic on September 03, 2012, 03:48:02 PM

Title: Port forwarding in 7.6
Post by: eiceic 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
Title: Re: Port forwarding in 7.6
Post by: CharlieBrady 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.
Title: Re: Port forwarding in 7.6
Post by: eiceic on September 03, 2012, 05:42:27 PM
That was exactly it -- thank you so much Charlie!

-Chris