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 password