DD-WRT Router OpenVPN Connect Setup Instructions
Note: Make sure the 'Start OpenVPN Client' under Services > VPN is disabled on your DD-WRT.
- Open your browser and go to https://ironsocket.com/network
- Select a VPN Server Address that you wish to connect to. Click the link to go to the OpenVPN site.
- Enter your VPN Username and Password. Change the drop-down menu from 'Connect' to 'Login' and click the 'Go' button.
Note: You can get your VPN credentials from the member's area in the "View Details" section of your active subscription.
- Click 'Yourself (user-locked profile)' and download the 'client.ovpn' file to your computer.
- Login to your DD-WRT router and navigate to Setup > Basic Setup.
- Under Network Address Server Setting (DHCP), fill up the DNS boxes:
Uncheck the boxes next to the following:
- Set Static DNS 1 to: 220.127.116.11
- Set Static DNS 2 to: 18.104.22.168
Set Time Settings to match your current location.
Click Save and Apply Settings
Navigate to Administration > Commands
Click the link below to open the Startup Script template:
Copy/paste the entire script to DD-WRT 'Commands' box.
Edit "Your_VPN_Username" and "Your_VPN_Password" (include the quotes) with your own VPN credentials.
Open the client.ovpn file that you've downloaded on Step 4 using Notepad (or any text editor).
Copy the entire content of client.ovpn and paste between ##--BEGIN--## and ##--END--## of the Startup Script on the Commands box.
- Use DNSMasq for DHCP
- Use DNSMasq for DNS
Note: You may delete comments (i.e. lines that start with #) to minimize the size of openvpn.conf file.
Find the line on the script that says 'auth-user-pass' and change to:
Click Save Startup
Navigate to Administration > Management and click Reboot Router
After your router restarts, visit our site and confirm your IP has changed in the top bar. If it has, congratulations you've now successfully setup your DD-WRT router as an OpenVPN client!
Note: To check the logs, telnet to your DD-WRT router and enter the command:
- auth-user-pass /tmp/ironsocket/userpass.conf
- tail -f /tmp/ironsocket.log -n 100