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:
- download your profile from your privatetunnel account. The filename ends with .ovpn.
- copy this file to the /etc/openvpn directory and rename it as privatetunnel.conf
- edit the file /etc/default/openvpn by adding the line AUTOSTART=”privatetunnel”
- 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.
sudo /etc/init.d/openvpn status
gives status reports for the various openvpn processes including privatetunnel if relevant.
sudo /etc/init.d/openvpn restart
restarts openvpn and its child processes such as privatetunnel.