VPN services

VPN services are offered by several companies. They allow users to protect their privacy and security while using the Internet. Guides to using various service providers on Gentoo are below.

Private Internet Access
https://www.privateinternetaccess.com/

The following will auto-start openvpn upon boot.


 * 1) Buy a subscription and log in
 * 2) # echo "net-misc/openvpn passwordsave examples" >> /etc/portage/package.use # optional
 * 3) # sudo emerge -av openvpn
 * 4) Go to https://www.privateinternetaccess.com/pages/client-control-panel and locate the "PPTP/L2TP/SOCKS Username and Password"
 * 5) Generate Username/Password if they are not there
 * 6) In the next two steps, replace USERNAME and PASSWORD with the located or generated ones.
 * 7) # cd /etc/openvpn
 * 8) # echo "USERNAME" >> login.conf
 * 9) # echo "PASSWORD" >> login.conf
 * 10) # mkdir pia
 * 11) # cd pia
 * 12) # wget https://www.privateinternetaccess.com/openvpn/openvpn.zip
 * 13) # unzip openvpn.zip
 * 14) # cp US\ East.ovpn ../openvpn.conf # replace with your desired region
 * 15) # cd ..
 * 16) # ln -s pia/ca.crt
 * 17) # ln -s pia/crl.pem
 * 18) # echo "auth-nocache" >> openvpn.conf
 * 19) # echo "auth-user-pass login.conf" >> openvpn.conf
 * 20) # chmod 600 openvpn.conf login.conf pia/*
 * 21) # chmod 700 pia
 * 22) # /etc/init.d/openvpn start
 * 23) # rc-update add openvpn # don't use this line if you don't want openvpn upon boot