Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Internet, Networking, and Wireless
VNC into 2 computers
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="djdawson" data-source="post: 1178047" data-attributes="member: 142078"><p>The trick is to use a different port number for one of them. The default port for VNC is 5900, which is probably the port number you configured to forward through your router. If you set up another port forwarding config in your router but for a different port then you could VNC into either one just by specifying the associated port number in your VNC client. Note that the port you forward from your single WAN IP address probably doesn't have to be the same as the port the VNC server is using on the second machine. For example, you could forward WAN port 5901 to port 5900 on the LAN for the IP address of the second computer.</p><p></p><p>To connect to this new machine you just add ":NNNN" to the end of the IP address in the URL, where the NNNN represents the port number you chose for the second machine. So, you'd use something like this:</p><p></p><p>vnc://33.333.333.333:5901</p><p></p><p>You can do this for as many ports as you want, though some routers may limit how many you can configure.</p><p></p><p>I'll also add that VNC has notoriously weak security, so you may be exposing these systems more than you think. There are a variety of solutions to this, such as tunneling VNC through an SSH connection (that's what I do), or configuring a VPN connection into your network. Both of these are too involved to go into in this thread, but if you do an Internet search for something like "How to tunnel VNC through ssh" I'm sure you find lots of info.</p><p></p><p>HTH - Good luck!</p></blockquote><p></p>
[QUOTE="djdawson, post: 1178047, member: 142078"] The trick is to use a different port number for one of them. The default port for VNC is 5900, which is probably the port number you configured to forward through your router. If you set up another port forwarding config in your router but for a different port then you could VNC into either one just by specifying the associated port number in your VNC client. Note that the port you forward from your single WAN IP address probably doesn't have to be the same as the port the VNC server is using on the second machine. For example, you could forward WAN port 5901 to port 5900 on the LAN for the IP address of the second computer. To connect to this new machine you just add ":NNNN" to the end of the IP address in the URL, where the NNNN represents the port number you chose for the second machine. So, you'd use something like this: vnc://33.333.333.333:5901 You can do this for as many ports as you want, though some routers may limit how many you can configure. I'll also add that VNC has notoriously weak security, so you may be exposing these systems more than you think. There are a variety of solutions to this, such as tunneling VNC through an SSH connection (that's what I do), or configuring a VPN connection into your network. Both of these are too involved to go into in this thread, but if you do an Internet search for something like "How to tunnel VNC through ssh" I'm sure you find lots of info. HTH - Good luck! [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Internet, Networking, and Wireless
VNC into 2 computers
Top