Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

So I know about SSH tunneling via a remote Linux server to reach sites which are blocked in my local network. My question is the other way around:

I have a webserver running locally, which I can access inside the local network. I however cannot reach it from outside as I'm in a NAT environment. I COULD forward a port on the router to the specific machine - but I am not able to do this (large company network).

I know it is possible to remotely connect to my machine through NAT via e.g. Skype (NAT hole punching) or even TeamViewer (connecting through third party site) - all they are doing is tunneling the connection, right?

How do I set up this kind of tunnel with some software? I am assuming I always need a third party server to set up the tunneling? How to do so with Windows? What is the simplest way? Any service like DynDNS which (besides linking the domain to the IP) let's me tunnel a connection, so that myspecialdomain.example.org leads to a machine within the NAT environment?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

You could setup a VPN remotely and get the server inside the network to join it. This VPN could be on a dedicated system, or on the remote system you're trying to connect from, provided that system is accessible externally.

share|improve this answer
    
So basically something like Hamachi, but do I have a simple URL (mycomputer.example.org) to access the computer? I don't want to install proprietary software on the client, but provide a simple shareable URL (Basically it is for showing my local DEV server quickly to someone else) –  Dennis G Dec 1 '10 at 10:28
    
If you have an external webserver, say on a VPS, you could use that as the VPN (I'm thinking OpenVPN rather than Hamachi) and then setup a reverse proxy on the webserver on the VPS to the internal VPN address of the machine you're trying to get to. Internal Box <- {VPN <- Reverse Proxy <- External Server} <- External Requests –  Jonathan Cremin Dec 1 '10 at 11:15
    
Reverse Proxy is worth looking into, thanks for the keyword. –  Dennis G Dec 2 '10 at 16:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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