User Tools

Site Tools


stretch:vpn

PIA VPN

apt-get install -y openvpn
cd /etc/openvpn
wget http://www.privateinternetaccess.com/openvpn/openvpn.zip
unzip openvpn.zip
cp UK\ London.ovpn pia.conf

Edit /etc/default/openvpn to include (unnecessary: if absent, AUTOSTART=“all” is assumed)

AUTOSTART="pia"

Edit /etc/openvpn/pia.conf to include

auth-user-pass .secrets
log-append /var/log/openvpn.log

then /etc/openvpn/.secrets is chmod 600 and contains

my_username
my_password

Start manually with openvpn pia.conf to test. Start the service with service openvpn start But it should boot automatically.

stretch/vpn.txt · Last modified: 2019/11/07 17:58 by 127.0.0.1