Support Center

DD-WRT Router OpenVPN Script

In some firmware versions, the DD-WRT GUI may not present the right input options in order to configure OpenVPN for our service. In other cases, using the GUI may not work as expected even with the directions for it. 

In these cases, we have found an alternative way to connect. It only requires that you remove all of the existing DD-WRT changes, and then paste a script into the DD-WRT router.

========
Before going this route, it is strongly recommended that you do a 30/30/30 reset on the router. Follow the directions below.

Turn on Logging
Services > Services > Syslogd > Enable
Click the 'Apply Settings' button at the bottom

Make sure OpenVPN is NOT enabled.
Services > VPN > OpenVPN Client > Disable
Click Apply Settings at the bottom

Reboot the router
Administration > Management > (scroll to the bottom) Reboot Router
[you may get a screen saying that the webpage couldn't load. Just refresh the screen]

Create the startup file
Administration > Commands
Paste in the script from the following file...

http://files.usenetserver.com/Script_Only.txt

NOTE: It is important that after you paste that in, the page breaks / format is retained. Make sure that after pasting it in, it looks like this - http://files.usenetserver.com/Script_Only.png

Change the server if you're not happy with the one I have at the top of the script
Change the protocol and port using the information in the script if you want (not required)
Make sure you put in your own username and password at the top of the script
Click the 'Save Startup' button at the bottom of the page after all changes are made

Reboot the router again
Administration > Management > (scroll to the bottom) Reboot Router
[you may get a screen saying that the webpage couldn't load. Just refresh the screen]
Wait 5 minutes
Test the connection at whatismyip.com and/or any website that will show your public IP
========

Did you find this article helpful?