You need to:
- install openvpn
- prepare *.crt file with digital sign
- prepare configuration file
- setup gateway
First, install openvpn utility to use it as vpn client:
sudo apt-get install openvpn
Next, put your *.crt file here:
If you have no valid .crt file - you should ask administrators of vpn server to share it.
Now, create configuration file for your connection.
sudo touch /etc/openvpn/my.conf
With such content:
Also, you need to set your default gateway, if such error occured:
OpenVPN ROUTE: net_gateway undefined -- unable to get default gateway from system
To add and configure default gateway, execute it:
route add default gw
Finaly, to open VPN connection, execute such command:
sudo openvpn --config ./my.conf
That's it! You should only input your authorization information (login, password) and connection will be successfully opened.