Note: This guide assumes you aleady have a router flashed with the Merlin or Tomato firmware.
Note2: Not all router hardware and DD-WRT software combinationssupport VPN.
See DD-WRT Versions for more information about which versions of
DD-WRT support VPN.
Select a Gateway Location that you would like to use and copy it's URL.
Generally, a city closer to you will have better speed performance.
Open a Windows Prompt or Linux/Mac OS X Terminal to issue a ping command to resolve the Gateway's IP address
ex: $ ping gw1.iad1.octanevpn.com
PING gw1.iad1.octanevpn.com (208.76.12.4)
Note the IP address
On the DD-WRT router configuration page, goto the 'Services' tab, and then click the 'VPN' sub-tab.
Scroll down to the 'OpenVPN Client' section, and click 'Enable'.
Start OpenVPN Client: Enable
Server IP/Name: enter the IP Address you noted above
Port: Either 443 or 8888 are available
Tunnel Device: TUN
Tunnel Protocol: UDP (TCP can be used if you're having connection issues or in conjuntion with port 443 to mimic HTTPS)
Encryption Cypher: AES-256 CBC
Hash Algorithm: SHA1
Scroll down to the 'Advanced Settings' section, and click 'Enable'.
TLS Cipher: None
LZO Compression: Disabled
NAT: Enable
Firewall: Disable - we block all incoming ports by default
Back in your router config screen, open the Keys and Certificates link in Basic Settings
Copy from the text editor and paste into the router config:
Certificate Authority including the text -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----
Client Certificate including the text -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----
Client Key including the text -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----
Static Key leave blank
Save the config and Apply Settings
On the administration tab, click the Commands sub-tab
Paste the following code into the Commands box, replacing '1010101@octanevpn' and 'your_password' with your OctaneVPN username and password (not the plaintext password)
echo "1010101@octanevpn" > /tmp/user.conf
echo "your_password" >> /tmp/user.conf
chmod 600 /tmp/user.conf
On the Administration tab, click the Management sub-tab. Scroll to the bottom and click Reboot Router.
After Rebooting router, Go to the Status tab and OpenVPN sub-tab. You should see Client: CONNECTED SUCCESS