What's the best way to establish a VNC connection to a computer located behind a firewall/router, to which you don't have access? I have a home Linux computer on a Comcast connection, which explicitly blocks incoming requests, so I can't hit the IP directly, but I'd like to remote into it from an arbitrary Internet connection. How would I work around this?

I've witnessed some commercial products, such as one employed by Dell tech support, which appears to use a public web server, which you visit from the target computer in order to "expose" it to an incoming VNC connection. Is there anything similar that's free/cheap for personal use?

link|improve this question

67% accept rate
What all does Comcast block? Most ISPs only block 80, 443, and 25 to prevent people from running web/mail servers. 5900/5901 (or higher if you're using more sessions) are typically unblocked. – Brian Knoblauch Jun 28 '10 at 15:01
As far as I know, Comcast blocks everything that's not initiated from the server. I can't even ping my server, much less connect via VNC. I put the server in my router's DMZ and even disabled the server's firewall to ensure nothing was interfering on my end, but I still can't get to it. – Chris S Jun 29 '10 at 0:19
feedback

4 Answers

up vote 3 down vote accepted

You can try tunneling VNC over SSH, but you may find the performance to be a bit slow. You may also want to look into freenx, which is already secure by running over SSH and is much faster than VNC.

If you don't mind using a 3rd party, I really like LogMeIn for it's security and simplicity all in one. All I need is a browser to connect to my PC at home. Your weak link is going to be the password you use for your account, so make sure it's a good one.

link|improve this answer
Thanks, LogMeIn is along the lines of what I was looking for. Although I'd be a little nervous giving a third party remote access to my machine. – Chris S Jun 29 '10 at 0:22
Just realized LogMeIn only supports Windows and Mac. No Linux support at all. Blarrgh. – Chris S Jul 9 '10 at 15:10
feedback

You can usually just forward port 5900 from your firewall to the computer that you want to VNC into and then connect to your external IP, or get a DDNS provider if your router/firewall supports it.

link|improve this answer
I have no control over Comcast's firewall. Sorry if my question was unclear. – Chris S Jun 29 '10 at 0:14
@Chris S - I can confirm that Comcast doesn't actually block this, or even 80 for that matter - at least not in Philadelphia. I'd imagine this is the same everywhere. It is possible that your Comcast modem is a combo firewall/router/NAT device. If this is the case, you will need to call Comcast and have them walk you through putting it into bridged mode. This will allow you to have the expected behavior. – MDMarra Jun 29 '10 at 0:42
feedback

... visit from the target computer in order to "expose" it to an incoming VNC connection. Is there anything similar that's free/cheap for personal use?

TeamViewer. You'd run the quick-support (or full) module on your target and take with you the session code and password it provides. Enter these into the TV full module on your away machine to connect to the target.

link|improve this answer
feedback

you can use Hamachi (which was bought by logmein). You install the client on all the machines you want to share then you create a new password protected network and join all the machines to it. Its perfectly safe. Even Steve Gibson recommended it a couple years back. I've used it many times and works like a charm.

They have a free non commercial version. https://secure.logmein.com/products/hamachi2/licensing.aspx

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.