//

This is an old revision of the document!


PureVPN account (www.purevpn.com)

1) Enable ssh 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 &