Home Ubuntu Ubuntu: OpenVPN 2.0.9 client on Ubuntu 9.04

Ubuntu: OpenVPN 2.0.9 client on Ubuntu 9.04

by Kliment Andreev
Reading Timee: < 1 minute

This is a method to install OpenVPN client on Ubuntu 9.04. First, download OpenVPN client from http://openvpn.net/release/openvpn-2.0.9.tar.gz. Unpack it, but do not install it yet. Then, download lzo-2.03 compression library from http://www.oberhumer.com/opensource/lzo/download/lzo-2.03.tar.gz.

Before installing it, do:

apt-get install libcurl4-openssl-dev 

Then unpack lzo-2.03, cd to that folder and do:

./configure
sudo make
sudo make check
sudo make test
sudo make install 

Once you are done with lzo install, cd to openvpn folder and do the following.

./configure
sudo make
sudo make install 

Now, put your config file under /etc/client.ovpn and your keys under your Documents folder. Make sure that you update client.ovpn so it reflects the new path. You can start the client using:

/usr/local/sbin/openvpn --config /etc/client.ovpn

Next, you can create a shortcut or “Launcher”. Make a small script /usr/local/bin/openvpn.sh and put the following lines.

#!/bin/bash
sudo /usr/local/sbin/openvpn --config /etc/client.ovpn

Change the permissions with chmod +x or chmod 744 if you want to have exclusive execute rights and then do:

sudo updatedb 

Right-click anywhere on the desktop, choose “Create Launcher”, choose “Application in Terminal” and browse for the .sh script that you just made.

0 comment
1

Related Articles

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More