Koozali.org: home of the SME Server

Port fowarding for ssh access

haj

Port fowarding for ssh access
« on: May 04, 2005, 05:17:32 AM »
Hello,

I have a SME behind an other witch is the gateway. I want to connect from internet to the one behind the firewall. I have used port fowarding pannel to foward port 2222 to port 22 of my other SME IP (TCP)

That doesn't work.

Any idea someone?

Thanks

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Port fowarding for ssh access
« Reply #1 on: May 04, 2005, 07:36:33 AM »
Have you opened port 2222 on the gateway?

Trevor B

haj

Port fowarding for ssh access
« Reply #2 on: May 05, 2005, 01:35:03 AM »
Quote from: "TrevorB"
Have you opened port 2222 on the gateway?

Trevor B


I've tried to also, but no success...

Anyway, from local network that should work without opening the port, isn't it?

Regards

Offline raem

  • *
  • 3,972
  • +4/-0
Port fowarding for ssh access
« Reply #3 on: May 05, 2005, 02:19:49 AM »
Add "server2" as a hostname in your "gatewayserver" config.

Then ssh from Internet to gatewayserver then at command prompt, ssh to server2, viola !
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Port fowarding for ssh access
« Reply #4 on: May 05, 2005, 04:47:47 AM »
Quote from: "haj"
I have a SME behind an other witch is the gateway. I want to connect from internet to the one behind the firewall. I have used port fowarding pannel to foward port 2222 to port 22 of my other SME IP (TCP)

That doesn't work.


Should be an obvious question, but is ssh enabled, and set to public access on the internal SME server?

If so, and it doesn't work, then there's a bug with port forwarding, which you should report on the Bug Tracker.

haj

Re: Port fowarding for ssh access
« Reply #5 on: May 05, 2005, 05:31:03 AM »
Quote from: "CharlieBrady"

Should be an obvious question, but is ssh enabled, and set to public access on the internal SME server?

If so, and it doesn't work, then there's a bug with port forwarding, which you should report on the Bug Tracker.


Well from a workstation in my local network, I can SSH to the it...

Seems like a bug. I report it.

Regards

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Port fowarding for ssh access
« Reply #6 on: May 05, 2005, 09:43:19 PM »
Quote from: "haj"
Quote from: "CharlieBrady"

Should be an obvious question, but is ssh enabled, and set to public access on the internal SME server?

If so, and it doesn't work, then there's a bug with port forwarding, which you should report on the Bug Tracker.


Well from a workstation in my local network, I can SSH to the it...


If you're trying to use port forwarding from a workstation on the local network, that'll never work. Port forwarding only works from outside - the Internet side.