You must have a MyCrypNet access first. You can buy one here or ask a delegation to someone who bought one.
Step 1: Download and install the software
From the source code
Download the source code. Download
tar -xvzf openvpn-latest-stable.tar.gz
apt-get install liblzo1 or
yum install liblzo1-devel
./configure --prefix=/opt/openvpn --enable-strict --with-ssl-headers=/usr/include/openssl --with-ssl-lib=/lib64 --with-lzo-headers=/usr/include/lzo --with-lzo-lib=/usr/lib64
From a package repository
sudo apt-get install openvpn resolvconf
Step 2: Download the settings file
Download the MyCrypNet.conf file in
The profile will be installed globally.
Rename the file to have multiple simultaneous profiles.
In that case, be careful to also rename the cert and key paths in the configuration file (vpn.cert and vpn.key).
Step 3: Download the key and certificate
Download the two settings files (vpn.cert and vpn.key) from the “Your apps” page or the “Delegated apps” page and put them into
In case of multiple profiles, rename these files according to the previous step.
Step 4: Run OpenVPN
Start OpenVPN :
sudo systemctl start openvpn@MyCrypNet
You are connected to the tunnel !
To start OpenVPN automatically at boot :
sudo systemctl enable openvpn@MyCrypNet
Final step: Check the connexion
Check your new IP: Whatismyip
Create your secure network