//

PureVPN account (www.purevpn.com)

1) Enable ssh

For instructions on using SSH, go here: https://www.anonabox.com/wiki/doku.php?id=getting_ssh_access


2) Connect to the router ssh root@192.168.19.84


3) Create file for the username and password called authuser:


cat > /etc/openvpn/authuser « EOF purevpn username password EOF


4) Create a new interface for the VPN


cat » /etc/config/network « EOF config interface 'Pure_VPN' option proto 'none' option ifname 'tun0' EOF


5) Copy ca.crt to the router


cat » /etc/openvpn/ca.crt « EOF paste the ca.crt contents here EOF


6) Copy Wdc.key to the router


cat » /etc/openvpn/Wdc.key « EOF paste the ca.crt contents here EOF


7) Create a generic .ovpn connection file Use the oven contents downloaded from purevpn site


cat » /etc/openvpn/PureVPNgeneric.ovpn « EOF client dev tun proto tcp persist-key persist-tun ca ca.crt tls-auth Wdc.key 1 cipher AES-256-CBC comp-lzo verb 1 mute 20 route-method exe route-delay 2 route 0.0.0.0 0.0.0.0 float auth-user-pass authuser auth-retry interact ifconfig-nowarn EOF


8) Connect to the VPN openvpn –cd /etc/openvpn –config /etc/openvpn/PureVPNgeneric.ovpn –remote usnj1-ovpn-tcp.pointtoserver.com 80 &


Notes: You can Run the command at startup paste the following command before exit 0


openvpn –cd /etc/openvpn –config /etc/openvpn/PureVPNgeneric.ovpn –remote usnj1-ovpn-tcp.pointtoserver.com 80 &


Now that you have all the config files in place you might be able to execute the vpn connection by creating a custom command. To get to the custom commands page in the admin interface, click the system dropdown, and then the custom commands link.

The command in this case is

openvpn –cd /etc/openvpn –config /etc/openvpn/PureVPNgeneric.ovpn –remote usnj1-ovpn-tcp.pointtoserver.com 80

You can also make a custom command to kill the vpn process on that same page, that way you have one button to start the connection in the interface and one button to stop it.

For More detailed instructions on setting up custom commands for your VPN, go here: https://www.anonabox.com/wiki/doku.php?id=building_custom_commands_for_third_party_vpns


For additional help setting up third party VPNs: https://www.anonabox.com/wiki/doku.php?id=3rd_party_vpn_general_setup