Saturday, April 4, 2015

PIA VPN setup on dd-wrt router

Taken from:
https://www.privateinternetaccess.com/pages/client-support/#ddwrt_pptp

DD-WRT: VPN OpenVPN Setup

  1. Access the Administration area and then go to Commands and finally Startup.
  2. Enter the following:
      echo username >> /tmp/password.txt
      echo password >> /tmp/password.txt
      /usr/bin/killall openvpn
      /usr/sbin/openvpn --config /tmp/openvpncl/openvpn.conf --route-up /tmp/openvpncl/route-up.sh --down-pre /tmp/openvpncl/route-down.sh --daemon
  3. Access the VPN tab found under the Services section.
  4. Enable the OpenVPN Client.
  5. Set the Server IP/name to us-east.privateinternetaccess.com [*].
  6. Set the Port to 1194.
  7. Set the Tunnel Device to TUN.
  8. Set the Tunnel Protocol to UDP.
  9. Set the Encryption Cipher to Blowfish CBC (Default).
  10. Set the Hash Algorithm to SHA1.
  11. Set the nsCertType to unchecked.
  12. Set the Advanced Options to Enabled.
  13. Set Use LZO Compression to Enable.
  14. Set NAT to Enable.
  15. In the Additional Config enter the following:
      auth-user-pass /tmp/password.txt
      persist-key
      persist-tun
      tls-client
      remote-cert-tls server
  16. Copy and paste the contents of ca.crt found in our OpenVPN Config Files, into the CA cert field.

No comments:

Post a Comment