Koozali.org: home of the SME Server

Putty through a firewall to an SME server

Offline pwgsc1

  • ****
  • 93
  • +0/-0
Putty through a firewall to an SME server
« on: August 12, 2005, 07:17:54 PM »
Hi Folks,

Got a client that has a telco provided firewall with his internet access.  I would like to be able to access his SME Server behind this firewall using Putty so that I can do admin fuctions.

Is there anyone who is doing this and has a HOWTO?

Thanks,

Craig

Michiel

Re: Putty through a firewall to an SME server
« Reply #1 on: August 12, 2005, 07:35:31 PM »
Quote from: "pwgsc1"
Got a client that has a telco provided firewall with his internet access.


First you'll have to find an incoming port number that is not blocked. Normally everything above 1024 can be used. Then you'll need to open the firewall on the SME to that same port and let sshd listen to it.

If you're lazy, just install my ssh10020 contrib: http://mirror.contribs.org/smeserver/contribs/index.php?subdir=mblotwijk%2FContribs%2Fsshd10022&sortby=name

This will open port 10020 and make sshd listen to it. Just tell putty to use this port and it should work.

If you want you can also use the http10080 contrib to make webaccess possible: http://mirror.contribs.org/smeserver/contribs/index.php?subdir=mblotwijk%2FContribs%2Fhttpd10080&sortby=name
In that case you need to tell your browser to go to http://your.server.org:10080

regards,
Michiel

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Putty through a firewall to an SME server
« Reply #2 on: August 12, 2005, 09:28:35 PM »
Quote from: "Michiel"

First you'll have to find an incoming port number that is not blocked. Normally everything above 1024 can be used. Then you'll need to open the firewall on the SME to that same port and let sshd listen to it.


The easiest way to do that is to add a portforwarding rule from the port you choose to port 22 at the external IP address of the SME server.