Setup Guides
The Wayback Machine - http://web.archive.org/web/20180326223437/https://www.ivpn.net/setup/gnu-linux-terminal.html
Setup Guides
The instructions below assume a Debian based distro. Please substitute as neccessary.
sudo apt-get install openvpn
/sbin/openvpn --config Germany.ovpn
/etc/openvpn/.
sudo cp ~/ivpn-openvpn-config/Germany.ovpn /etc/openvpn/
/etc/openvpn/pass and
enter
your username on the first line (starts with
'ivpn') and your password on the 2nd line. Then edit the .ovpn file you
copied in the previous step and
change the line auth-user-pass to
auth-user-pass pass
/etc/resolv.conf file with the IVPN DNS
servers when connecting and remove them on disconnection. Install the script by installing the
resolvconf
or openresolv package depending on the distro you are using. Most distributions will
install the script in /etc/openvpn/update-resolv-conf. If you cannot
install the package then you can use a generic script such as the one on the arch wiki. Once this script is
in
place edit the .ovpn file from step 2 and add the lines below:
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
sudo service openvpn start
tun device has been
created
(normally tun0) by looking at the output of ip addr.
curl ifconfig.co
/var/log/syslog or /var/log/messages. If you cannot see
OpenVPN log entries in syslog, add a new directive to the .ovpn file to enable file
logging.
log /var/log/openvpn
sudo grep VPN /var/log/syslog
Was this answer helpful?
Read our latest privacy news and keep up-to-date on IVPN services.