Looking for Something?

VPN deals Advertisement

Create Your Own Personal VPN with Hamachi

How to Use HamachiSometimes commercial VPNs aren't ideal, and you'd like to create your own VPN service.

In this guide, I'll show you how to use Hamachi and Privoxy to create your own private and personal VPN.

However, before I dive into that, let's explore the pros and cons of creating your own VPN service using Hamachi.

Why You Should Create Your Own VPN

Why Create Your Own VPNVPN was, however, originally developed mainly to allow business employees to securely log in to their company’s servers when away from the office:

User [-> ISP ->] company server.

It is possible to set up a home computer so that it runs much like a business VPN server. Allowing you to securely remote login to your home computer, and access the internet through its IP address:

User [-> ISP ->] home computer -> ISP -> internet.  (traffic in brackets [] is encrypted)

Advantages of VPN at homeAdvantages of a Home VPN

  • Free – there is no need to pay for a third party VPN service
  • Secures your internet connection when using public WiFi hotspots
  • Can remotely and securely access content on your computer, and stream movies, music, etc. to a remote device
  • The home computer acts as a proxy. This is great for accessing geo-restricted web services when away from home. It can also be a very effective anti-censorship tool if the user is in a restrictive country. However, you will need a friend who is willing to set up a home server in a less restrictive country.

Countries such as China, and for geo-restricted services for example if you wanted to watch Hulu outside the US you would need a VPN. A private home VPN is also great for circumventing school, college or work restrictions. For information about a China VPN see our best VPN for China guide.

Disadvantages of VPN at home

  • Disadvantages of a Home VPNThe home computer acts as a proxy – you access the internet through your home computer’s IP address so any internet activity can be easily traced to that address. This also means that you cannot just change your apparent location (e.g. to a different country).
  • Although the connection between your remote computer and home VPN server is encrypted, your outgoing home internet connection is not. This means that your ISP (and anyone else who is watching) can easily monitor your internet activity.
  • You will need to keep your home computer on all the time, which will increase your electricity bills.

In short, setting up a private home VPN server offers many of the advantages of using a commercial VPN service. However, it does not provide privacy/anonymity when using the internet.

How to Use Hamachi to Create a Private VPN

Hamachi SetupBy far the easiest way to set up a private VPN is to use LogMeIn Hamachi combined with Privoxy.

Hamachi is software which allows you to create virtual networks that operate like regular LANs.

It builds a ‘zero-configuration virtual private network’, which means that you do not have to worry about port forwarding or other complex configuration issues (which is definitely a very strong point in its favor). Furthermore, the 256-bit AES encryption is perfect.

The biggest drawback with Hamachi is that it is proprietary software (i.e. it is not open source). However, as we discussed above, a private Himachi VPN does not provide much privacy anyway. So this is probably not worth worrying too much about. If privacy is a major concern, Tor or a no-logs third-party VPN provider are much better options.

The basic version of LogMeIn Hamachi is free and is fully functional. However, only five member per network can use it. Furthermore, the free version will not run in the background on idle computers (as the paid version can).

LogMeIn Hamachi is available for Windows, OSX, and Linux (beta).Set up Privoxy

To remotely access the internet through our home PC running Hamachi, we will need Privoxy, a free open source web proxy. You could run Privoxy on its own, but all connections would be over unencrypted HTTP. This is why we are using Hamachi.

Privoxy is available for Windows, OSX, Linux, and iOS, and you can use it with any browser of your liking.

1. Setup Hamachi VPN

First, you'll need to set up Hamachi. Follow these steps to do so

  1. Download Hamachi on your home PC (choosing ‘Hamachi Unmanaged’ mode) and install. LogMeIn will nag you at various points to sign-up for a free account, but this can be ignored for now.Hamachi Unmanaged
  2. Click the power button to get started, and enter a name for your client.
    Hamachi Server Creation
  3. Hit ‘Create a new network’, and give it a name and a password. Hit ‘Create’.Connect to Hamachi Server
  4. Setup Hamachi on any other computers you to connect to the home VPN. Except this time, choose to ‘Join an existing network’ (that you have just created), rather than create a new one.

2. Set up Privoxy

You do this to allow secure remote connection to the internet.

  1. Download, install and launch Privoxy. In Windows, Privoxy launches as a blank window, but don’t worry as this is fine. You can even close the window and Privoxy will continue to run in your system tray. Right-click Privoxy in the system tray, and select Edit -> Main Configuration.
    Set up Privoxy
  2. Notepad will open Privoxy’s configuration file, called config.txt. Go to Edit -> Find, and search for ‘listen-address’. Put a # in front of the line to mark it as a comment, then below it add the line:
    listen-address [the IP address shown at the top of your Hamachi window]:8118
    Privoxy Hamachi config
  3. Save and close config.txt.

3. Setup Your Browser Proxy Settings

The last step is simply to configure your browser’s proxy settings to point to the Hamachi network IP address., Port 8118 in our example.

Firefox proxy settings

In Firefox these settings can be found by going to Options -> Network tab -> Connection Settings

You can check everything is working by typing ‘http://config.privoxy.org/’ into your remote computer’s browser search bar, and you should see:

Check Privoxy is Working

(If it says ‘Privoxy is not being used’ then something has gone wrong)

You are now using your home computer as a VPN server! All your remote browser’s traffic will go through your home computer. Therefore you will appear to originate from the IP address of your home computer.

Creating Your Own Private VPN Recap

Create Your Own VPN RecapThis setup is especially handy for regular travelers. It protects you when using public WiFi hotspots (which are great when mobile roaming charges cost a fortune). Furthermore, it allows you to access your regular internet services (such as Hulu, Netflix, or BBC iPlayer) using your own IP address. This should bypass the increasingly common practice of blocking VPN users from such services.

If leaving your own PC turned on all the time concerns you, another similar option is to roll your own VPN server on a VPS (Virtual Private Server). This is a bit trickier than using the Hamachi & Privoxy method above, but once set up does mean that you have permanent VPN instance running.

Written by: Douglas Crawford

I am a freelance writer, technology enthusiast, and lover of life who enjoys spinning words and sharing knowledge for a living. You can now follow me on Twitter - @douglasjcrawf.


  1. Sam Caley
    on November 9, 2018

    Hi, Great tutorial but I was a bit confused. Do we install privoxy on the computer that is inside the physical network that you want other computers to connect to, then change browser proxy settings on the computer you are using to connect. Or do we install privoxy on the computer we use to connect to the vpn. Thanks, Sam

    1. douglas replied to Sam Caley
      on November 12, 2018

      Hi Sam, The first one. You instal Privoxy on the "home" PC in order to provide a bridge between incoming proxy connections and Hamachi. You then configure your browser on devices you want to connect to the home PC.

  2. Maria Chakhtoura
    on August 12, 2018

    Hi Douglas, thanks for the amazing article! One quick question, you mentioned that the home outgoing traffic is not encrypted, so does this mean that sniffing is possible on the computer connected to the VPN?

    1. Douglas Crawford replied to Maria Chakhtoura
      on August 22, 2018

      Hi Maria, No - "sniffing" is not possible, but your home ISP can see which websites you visit.

Write Your Own Comment

Your comment has been sent to the queue. It will appear shortly.

Your comment has been sent to the queue. It will appear shortly.

Your comment has been sent to the queue. It will appear shortly.

  Your comment has been sent to the queue. It will appear shortly.

VPN Special Offer