Vnc through ssh tunnel12/24/2023 Let's resume what you did: you created a protected connection using the SSH protocol between the client PC(where there are Putty, VNC Viewer and Remote Desktop Client) and the server(where there are OpenSSH server, VNC server and Remote Desktop Server). In this case, since OpenSSH is executed on the same VNC Server, insert the loopback address (that is, the address identifying the pc itself), and the port used by VNC or RDP. These are the ports that Putty will make available on the client for VNC Viewer or Remote Desktop Client.ĭestination: the address and the port for the OpenSSH server of the VNC Server and Remote Desktop Server. Source port: a random port not used on the client. In Putty, select Connection, SSH, Tunnels.Step 2: Use of the SSH Tunnel with VNC or Microsoft Remote Desktop Have a look to Install and use an SSH server on Windows for this phase. You first must realize an SSH connection between the client and the server. Step 1: Installation ans usage of an SSH terminal session If on your computer there isn't any webserver running you can use also the port number 80, but this option should be avoided, as it might cause some problems. Some ports typically open are the number 21 (FTP), 22 (SSH), 23 (Telnet), 8080 (router administration), 443 (HTTPS), 110 (POP3), 25 (SMTP), and others. The SSH server will forward all the traffic to the VNC or Remote Desktop servers.The SSH client will forward all the traffic through one port only (usually 22) to the SSH server on the remote SSH server.The VNC or Remote Desktop clients will connect to an SSH Client on the client pc.Due to the firewall, which blocks all the ports except the number 80 and probably a few others, it's impossible to create a connection between the two pcs.Īssuming that at least another port is opened on the firewall, you can think about using this solution: create a tunnel between the client and the server using the SSH Protocol. Another computer, called Server, is outside the firewall, and it's running some services which you want to connect to from the client, like VNC or Microsoft Remote Desktop. A computer, called Client, is protected by a firewall, which blocks all the outgoing ports, except some of them.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |