This gist contains all the OpenWRT configuraion files needed to connect to Private Internet Access (PIA) VPN servers. The following files are included:
network
: contains configuration to add a virtual network device (i.e.tun1366
) and custom DNS serversopenvpn
: OpenVPN configuration file to connect to PIA VPN serversfirewall
: firewall configuration which passes all traffic through VPN and rejects any request when OpenVPN is down
NOTE: there are a number of other files required to be available under /etc/openvpn
for this approach to work:
pia.auth
: VPN credentials in two lines, first the username and the second the passwordpia.ca.crt
: certificate authority filepia.crl.pem
: certificate revocation list
For PIA the last two files can be downloaded here: https://www.privateinternetaccess.com/openvpn/openvpn.zip
These files are to be copied under
/etc/config
.