//

This is an old revision of the document!


PureVPN account (www.purevpn.com)

Connect to the router enable ssh

ssh root@192.168.19.84

Create file for the username and password called authuser cat > /etc/openvpn/authuser « EOF

purevpn username
password
EOF

create a new interface for the VPN cat » /etc/config/network « EOF config interface 'Pure_VPN'

  option proto 'none'
  option ifname 'tun0'

EOF

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

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

created a generic .ovpn connection file i used the oven contents that i 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

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

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 &