Setup Namecheap VPN on DD-WRT v2 Router
NOTE: DD-WRT v2 includes older versions of the router firmware meant for older router models, and may not contain updates to some of the latest security fixes that are included in newer versions of DD-WRT. Use at your own risk.
Before following this guide, you will need to install DD-WRT on your router. To do this, you will need to go to the DD-WRT
and search for your router model number to see if your router is compatible or find a
of the firmware for your router.
Warning: Flashing (Installing) an incompatible version of DD-WRT incorrectly on your router can potentially brick your router, making it useless.
Assuming that you already have v2 of DD-WRT installed on your router, follow these directions:
1. Point your web browser to your DD-WRT Administration Page, which usually by default is http://192.168.1.1 - for others who may have changed the default LAN-side router address, the gateway address of the attached network adapter is usually acceptable. If you are having trouble getting to this page, you may need to reset the router to factory default settings.
2. Click the Services tab from the navigation area - a username and password prompt will appear. The correct credentials must be entered to continue.
3. Now, in the Services tab, scroll to the bottom of the page and move on to the next step.
4. In case you encounter issues at any point during the setup guide, we will enable System Logging - log files can help the Namecheap Support Team assist you with a resolution. Enable logging by ticking the System Log >> Enabled radio button. Click the Save button at the bottom of the page, and continue on. *Arrow/indicate towards the Syslogd >> Enable radio button and the Save button.
5. After the page has refreshed following the Save action, locate the navigation bar, and the sub-tab labeled VPN. Click this item to continue. *Arrow/indicate towards the VPN sub-tab item.
6. Enable the OpenVPN configuration options within the Services >> VPN tab by clicking the Start OpenVPN Client >> Enable radio button. Once this option has been ticked, more configuration options should appear below - move on to the next step. *Arrow/indicate towards the Start OpenVPN Client >> Enable radio button.
7. After the options expand, carefully follow the following directions: each option must be correctly configured for the tunnel to become established. Meanwhile, if there are fields to enter your username and password
below the OpenVPN Client section, then follow this guide
. More details on how to find your credentials can be found here
- enter the Namecheap VPN Server Location
host you wish to connect to. In the example, hostname nyc-a36.vpn.server.com was chosen.Port
- enter "443".Tunnel Protocol
- click the drop-down, and select "TCP".Tunnel Device
- click the drop-down, and select "TUN".Encryption Cipher
- click the drop-down, and select "AES-256-CBC".Hash Algorithm -
click the drop-down, and select "SHA256''nsCertType Verification
- leave this unticked.Advanced Options
- tick the radio button labeled "Enable".
As soon as you enable the Advanced Options radio button they will appear. Continue to the next step for the Advanced Options Settings.
The bullet points below outline the required Advanced Options configuration:
Use LZO Compression - tick the radio button labeled 'Enable'.
NAT - tick the radio button labeled "Enable".
Local IP Address- leave this blank.
TUN MTU Setting- leave this configured at "1500".
MSS-Fix/Fragment across the tunnel- leave this blank.
TLS Cipher- click the drop-down, and select 'None'.
TLS Auth Key - leave this blank.
Additional Config - enter the following items, each on a single line, like so:
script-security 3 system
Now move on to the next step.
9. Review all of the previously entered settings, double-checking against the previous two steps. Correct any mistakes, scroll to the bottom of the page, and commit your changes by clicking the Save button.
10. After the page has refreshed, locate and click the Security tab from the navigation bar. Move on once the following page loads. *Arrow/indicate towards the Security tab.
11. To further assist our support team with any issues you may have with your configuration, we recommend the additional logging functions on your router. Scroll to the bottom of the page, and locate the Log Management section. Tick the radio button under the Log section, labeled Enable. In the drop-down labeled Log Level, select the High option. Finally, scroll to the bottom of the page and click the Save button to commit your changes. Move on to the next step.
12. After the page has refreshed, locate the Administration tab from the navigation bar, and click to continue.
13. In the Administration area of the control panel, locate the Commands sub-tab, and click to continue.
14. Enter the following lines into the Commands text area as seen in the example:
echo "[YOUR USER NAME*]" > /tmp/auth.conf
echo "[YOUR PASSWORD**]" >> /tmp/auth.conf
After you've entered your credentials into this field as shown, please click the Save Startup button to continue.
15. Look for your previously saved login credentials in the Startup area below. Please take note that anyone who has access to your DD-WRT control panel may view these credentials - pick an unfamiliar username and password, and choose a very secure root user password for the router. Move on to the next step.
16. Click the Management sub-tab, still under the Administration category, and move to the next step.
17. Lastly, reboot your router by scrolling to the bottom of the page, and clicking the 'Reboot Router' button. After your router comes back up, test the OpenVPN tunnel by defining your real public IP address and lookup on ipinfo.io after about 5 minutes. If your IP has not yet changed, please reboot your router again, and wait another 5 minutes. If you are still not seeing a change, feel free to contact our
for further assistance.