PrivateTunnel on Ubuntu 12.04

The instructions at

worked for me. In summary, here are the steps to enable privatetunnel on an Ubuntu machine (mine is 12.04), assuming openvpn is installed:

  1. download your profile from your privatetunnel account. The filename ends with .ovpn.
  2. copy this file to the /etc/openvpn directory and rename it as privatetunnel.conf
  3. edit the file /etc/default/openvpn by adding the line AUTOSTART=”privatetunnel”
  4. type sudo /etc/init.d/openvpn restart into the terminal to restart openvpn and start privatetunnel. 


To disable privatetunnel change the name of the .conf file in /etc/openvpn from privatetunnel.conf to privatetunnel.conf.disabled as openvpn only works on files ending in .conf

 I also edited the configuration file for openvpn which is located at


by commenting out the line


 I thought this line may create errors by getting openvpn to look for a non existent privatetunnel.conf file.


The command 

sudo /etc/init.d/openvpn status

gives status reports for the various openvpn processes including privatetunnel if relevant.

The command

sudo /etc/init.d/openvpn restart

restarts openvpn and its child processes such as privatetunnel.

  1. theman said:

    Thanks a lot. Read to many other guides that were incorrect and 30 steps to long. I appreciate your conciseness and accuracy on this.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: