Archive

Monthly Archives: February 2013

The instructions at http://community.openvpn.net/openvpn/wiki/UsingPrivateTunnelWithOpenVPN

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

/etc/default/openvpn

by commenting out the line

AUTOSTART=”privatetunnel”

 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.

Advertisements