Home » People & Blogs » How to Setup an OpenVPN connection to your PIA VPN on your Raspberry Pi with OSMC installed

How to Setup an OpenVPN connection to your PIA VPN on your Raspberry Pi with OSMC installed

Written By thecha2 on Sunday, Dec 04, 2016 | 11:04 PM

 
This video walks you through how to setup a persistent VPN connection to your Private Internet Access PIA VPN provider. It will reconnect on reboot. Below are the instructions to Get PIA Open VPN working on OSMC sudo apt-get update sudo apt-get install openvpn mkdir openvpn cd openvpn wget https://www.privateinternetaccess.com/openvpn/openvpn.zip sudo apt-get install unzip unzip openvpn.zip nano pass.txt username password mv US\ East.ovpn vpn.conf nano vpn.conf change auth-user-pass /home/osmc/openvpn/pass.txt crl-verify /home/osmc/openvpn/crl.rsa.2048.pem ca /home/osmc/openvpn/ca.rsa.2048.crt sudo cp vpn.conf /etc/openvpn/ sudo systemctl enable [email protected] sudo systemctl start [email protected] curl http://checkip.dyndns.org