OpenVPN roadwarrior over PROXY

Translation of the original in Catalan. Read it in: CatalàCastellano

Part 3 of 3OpenVPN roadwarrior
  1. OpenVPN roadwarrior (server and linux client)
  2. OpenVPN roadwarrior (windows client)
  3. OpenVPN roadwarrior over PROXY

As you know, a few days ago I set up a system to be able to travel the world with the laptop and connect to my home internal network, from anywhere. Well then, there are places where we don't have an internet connection as such but instead it goes through a proxy, sometimes even an authenticated one. We may even find that we don't have DNS on the network we are on, and that everything goes through the HTTP PROXY.

So when they make it that hard for us we can also use OpenVPN to connect home and even browse the internet through the home network enjoying all the services of the network and not with the 'capped' ports that the proxy/firewall of the day forces on us. The only thing needed is to modify the OpenVPN client configuration to be able to get out through the proxy of the day against the port of the OpenVPN server we have at home.

In the document where I explained how to connect to home over VPN, being roadwarriors ourselves, I put the server on port 443/TCP. Well, now you see the reason: the idea is that if the server is on this port the proxy server lets us pass through it to connect, thinking that where you are connecting is a secure website (HTTPs); when accessing an encrypted service the proxy/firewall cannot inspect the packets that go through it and we can establish the VPN using SSL as the transport protocol.

Next, instead of showing you a real connection through a company proxy, what I do is use a public proxy from the ones around to be able to browse the internet anonymously. If you want a list you can find one at: public list of proxies. Specifically, for the test configuration I used 194.80.193.161 on port 8082. So in the client configuration file I added:

http-proxy 194.80.193.161 8082

To disguise the trace of your VPN even more you can use the following commands and the firewall in question won't even smell that you are running a VPN:

http-proxy-option VERSION 1.1
http-proxy-option AGENT "compatible; MSIE 6.0; Windows NT 5.1"

Very simple, isn't it? If the proxy is authenticated you can check in the openvpn man page the commands to send the user and the password. So far I haven't needed it.

So there they can keep putting up proxy servers and firewalls while we will keep devising ways to get onto the internet as it should be done, and not reducing the internet to the web service. Even though that is one of the most used it is always extremely limited.

3 comments

Comments from the old blog, as they were written. Comments are closed.

  1. mishary

    ÈäÇÊ

  2. HANNY

    SEXY SITES

  3. Carita