DD WRT pre-r25000

  1. On the DD-WRT router configuration page, goto the 'Services' tab, and then click the 'VPN' sub-tab.
  2. Scroll down to the "OpenVPN Client" section, and click "Enable".
    1. Enable Start OpenVPN client.
    2. Enter a server IP - Get the server IP by running a ping to any gateway from a command prompt or terminal.
      ex: $ ping gw1.iad1.octanevpn.com
      PING gw1.iad1.octanevpn.com (208.76.12.4)
    3. Port - 8888 or 443
    4. Tunnel Device - TUN
    5. Tunnel Protocol - UDP (TCP can be used if you're having connection issues or in conjuntion with port 443 to mimic HTTPS)
    6. Encryption Cipher - AES-256-CBC
    7. Hash Algorithm - SHA1

Advanced Options: Enable

  1. TLS Cipher - None
  2. LZO Compression - Disabled
  3. NAT - Enable
  4. Firewall - Disable (we block all incoming ports by default)
  5. Tunnel MTU - 1500

1.Insert into Additional Config:

auth-user-pass /tmp/user.conf
keepalive 10 120
remote-cert-tls server
redirect-gateway

2. Enter these keys, including the ----BEGIN and -----END lines, into the appropriate fields. Click the 'Save', then 'Apply Settings' buttons.

CA Cert:

-----BEGIN CERTIFICATE-----

MIIDQDCCAqmgAwIBAgIJAM8Brk2pUr0KMA0GCSqGSIb3DQEBBQUAMHQxCzAJBgNV
BAYTAlVTMQswCQYDVQQIEwJDQTEMMAoGA1UEBxMDVlBOMQwwCgYDVQQKEwNWUE4x
DDAKBgNVBAsTA1ZQTjEMMAoGA1UEAxMDVlBOMQwwCgYDVQQpEwNWUE4xEjAQBgkq
hkiG9w0BCQEWA1ZQTjAeFw0xMjAzMDMwMjExNDJaFw0yMjAzMDEwMjExNDJaMHQx
CzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEMMAoGA1UEBxMDVlBOMQwwCgYDVQQK
EwNWUE4xDDAKBgNVBAsTA1ZQTjEMMAoGA1UEAxMDVlBOMQwwCgYDVQQpEwNWUE4x
EjAQBgkqhkiG9w0BCQEWA1ZQTjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
wY2K08N7or1Br/EsD9XBon7gs7dK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iKqn0afCtSK7CeJ0syDwm9cCRqjbQV7NjF3hSgUg0JSHFOlTQMxo8DF
unEAzSjUhgVIZQyPSQYCe8tcNcKpAgMBAAECgYEAsHf5M1oQ4iY4fciLT2yB0QvR
huN6UacdINKwiKd8Mh0I6xJhh8mBtlZS0+wcsD0zXY0cff+xEDNAqEW10+5dr11Y
zYpViacZRMQnrzBEYcTSqlfHXg2PZxu4c08ndwDxjm03Vgg5RKvQnGRMRy4lH/HP
OiAkb9oJgR0R5sccZgECQQDmfVZF2UBn4u2scjfcPl4XsUrPO8eyie995c7s7Cz1
TDiecLCesjLRf97RexfhhwNJurfCZUWNJ9hkq5hUGzvJAkEA4Rg/ziL74sBh+jT6
2TaAqnmHDWZlrfCfKtlm1z4TQ5E6WpjKNXN3qfKW069QGnRjZn8zuPwgMpBPXeaT
jHH/4QJBAJslbvchX7sOA1H6qCM2T/u+uU55PNivBGhIUlskNrb/EXWFAT4xUQe3
/PIg21hRmyL77kmKBaEYWw6YerbShhECQQCX2Rb6BamszyGJfAIZVGY6Gp+bz48a
Zy/I5T42R/8Q3sDh6x7GLi30rN1I0oSURB3mQDtxOEy0L5wK+Yhh/2mhAkAGXya9
wUOcSz96jUgnMfiVoBT3BNszzn/HLKCipCPd/eR3FEvpfmNN+olkd09cONMDKCcW
CfHad9moALon0bIV

-----END PRIVATE KEY-----

Now go to the Administration tab, and click the Commands sub-tab.

Paste the following code into the Commands box, replacing "[email protected]" and "your_password" with your actual VPN username and password, and then click "Save Startup".

echo "[email protected]" > /tmp/user.conf
echo "your_password" >> /tmp/user.conf
chmod 600 /tmp/user.conf

Now, again under the Administration tab, click the Management sub-tab. Scroll all the way down to the bottom, and click "Reboot Router".

Under Status, go to the OpenVPN tab and check to make sure you're connected. You should see 'Client: CONNECTED: SUCCESS' at the top of the page

Done! Connect to the router and visit http://www.whatismyip.com/ to confirm the public IP address