Configure UsenetServer VPN on Ubuntu 14.03

Just recently I configured a virtual machine to use VPN provided by UsenetServer and it’s awesome!

In recent years we’ve heard a lot about identity theft, surveillance and censorship when it comes to surfing the web. In order to get around this issue I tried UsenetServer’s VPN service and it actually works perfectly. UsenetServer define their service in the following way:

A VPN (Virtual Private Network) is an encryption tool that puts you in control of your IP address and provides privacy to your Internet connection. Once you are using an anonymous UsenetServer IP address your Internet connection is secure delivering the following benefits:

  • Online Identity and Data Protection
  • Keeps you Safe at Wi-Fi Hotspots
  • Stops your ISP’s Throttling of Netflix and YouTube
  • Provides a Virtual Firewall
  • Shields from Cyber Crime
  • Bypasses Internet Censorship Blocks
  • Blocks Unwanted Marketing

I’m currently running OpenVPN on Ubuntu 14.03, but the service is easy to configure regardless of operating system. If you are also interested in running VPN on your server you will need to register at usenetserver.com and then follow these easy steps:

  1. Connect to your Ubuntu server using your favorite SSH application such as Putty. I recommend to verify your external IP using wget -qO- http://ipecho.net/plain ; echo  and note the result, just so you can verify that it has changed on step 6.
  2. Install OpenVPN by running apt-get install OpenVPN
  3. Navigate to /etc/openvpn using cd /etc/openvpn
  4. Next we create the main configuration file using  nano usenetserver.conf and pasting the the code below into it.
    Note that ams-a01.wlvpn.com may be changed to another server if you want. Please refer to this site for a list of available servers.
    The certificate in the config should be the same as certificate.txt found here in case you wondered.
  5. Create another file and name it login.conf containing your UsenetServer username and password on each line (refer to my example below).
  6. Reboot your system and run wget -qO- http://ipecho.net/plain ; echo to verify that your IP has changed. You are now connected to VPN!

usenetserver.conf

login.conf

I’m quite happy with the performance and while running VPN on a particular virtual machine I can choose what traffic to run through VPN and what not. In general I’m able to use almost all of my bandwidth (100/100Mbps) trough the tunnel without issues.

If you intend to give Usenetserver VPN a try I would highly appreciate it if you would use my affiliate-banner below order to support my site. The $95 deal is really worth the money! 🙂


UNS *1 Yr Special 468×60 B

If you have any questions please use the comment section below.

 

Share this:

2 comments, add yours.

Stevie D

It has taken me 3 days to find this method and I admit I am new to Pi so its all been from scratch .. However … How do I ensure that openVPN runs to that configuration above at boot? I restarted after completing instructions to the “T” with my own credentials and my IP was the same .. Very puzzling! Help would be great! Thanks

Benjamin Krause

Benjamin Krause

Author

In order to make sure that the VPN works just run the followning code from the terminal: curl ipinfo.io/ip. This should tell you your external IP. Now stop the VPN service and run the command again and you should see that the IP changes to your real one.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.