Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: haj on May 04, 2005, 05:17:32 AM

Title: Port fowarding for ssh access
Post by: haj 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
Title: Port fowarding for ssh access
Post by: TrevorB on May 04, 2005, 07:36:33 AM
Have you opened port 2222 on the gateway?

Trevor B
Title: Port fowarding for ssh access
Post by: haj 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
Title: Port fowarding for ssh access
Post by: raem 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 !
Title: Re: Port fowarding for ssh access
Post by: CharlieBrady 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.
Title: Re: Port fowarding for ssh access
Post by: haj 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
Title: Re: Port fowarding for ssh access
Post by: CharlieBrady 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.