Tunnelling errors (works in LAN)

7 posts / 0 new
Last post
Anonymous
Tunnelling errors (works in LAN)

I have installed correctly copSSH on my server Windows 2003 Small Business Server sp1.

I try use it in LAN without problems I configure tunnelling of UltraVNC and Remote Desktop.

I tunnell 5901 local to 5900 for UltraVNC and 3390 to 3389 for Remote Desktop.

All work in LAN.

Perfect! So i open TCP port 22 on my Zyxel ADSL router.

I can connect on SSH from Internet but tunnelling does not work.

UltraVNC error:

"Connection failed - Error reading Protocol Version"

Remote Desktop error:

"...error network connection..."

Why?

Thanks

itefix
Offline
Last seen: 6 days 23 hours ago
Joined: 01.05.2008 - 21:33
Re: Tunnelling errors (works in LAN)

Perfect! So i open TCP port 22 on my Zyxel ADSL router.

What does that mean? Do you forward port 22 to your copssh server?

 

 

itefix
Offline
Last seen: 6 days 23 hours ago
Joined: 01.05.2008 - 21:33
Re: Tunnelling errors (works in LAN)

Yes.The copSSH Server is behind the router with private IP (192.168.0.x)
If I use Putty to connect in LAN to private IP, tunnelling works fine.
If I use Putty to connect (from Internet) to public IP of router, login works fine but tunnelling NO.

I don't know why.

itefix
Offline
Last seen: 6 days 23 hours ago
Joined: 01.05.2008 - 21:33
Re: Tunnelling errors (works in LAN)

How do you specify tunnelling in putty ?

itefix
Offline
Last seen: 6 days 23 hours ago
Joined: 01.05.2008 - 21:33
Re: Tunnelling errors (works in LAN)

Tunnels Section:Source port: 5901
Destination: :5900
Local
Auto

This configuration works in LAN.
If I connect with a PC with private IP (192.168.0.x) tunnelling works fine.

If I connect from Internet VNC doesn't works. It reports error:
"Connection failed - Error reading Protocol Version"

Thanks,
Bye

itefix
Offline
Last seen: 6 days 23 hours ago
Joined: 01.05.2008 - 21:33
Re: Tunnelling errors (works in LAN)

Try following:

  • Specify local port forwarding in Putty (Menu Connection->SSH->Tunnels) :
    • Local port - 5999, Destination - localhost:5900
  • Initiate SSH connection to your public IP (Menu Session):
    • Hostname your public IP, port 22, protocol ssh
    • I assume that your router is configured to forward port 22 to your copssh server.
  • Enter your credentials
    • Your ssh tunnel will be operative after a succesful login
  • Start UltraVNC and connect to localhost:5999.
    • Putty tunnel will forward your localhost:5999 connection to your private IP:5900.
Raul
Re: Tunnelling errors (works in LAN)

Now tunnelling works!!

I substitute in the destination field of Tunnels section private IP copSSH server:5900

Now Remote Desktop works too!

Thank you very much!!!

Topic locked

Release announcements