VPNUK - The Virtual Private Network Specialists
The following instructions will guide you through a configuration of an OpenVPN connection on a DD-WRT compatible router. This is the recommened connection for DD-WRT compatible routers connecting to the VPNUK service. There are hundreds of routers compatible with DD-WRT, please check the router database on the DD-WRT website for more information.
IMPORTANT NOTICE: VPNUK cannot assist in the flashing of, or installation of DD-WRT firmware, nor can we be held responsible for damage caused by clients configuring uncompatible routers or flashing incorrect firmware. Please only install official DD-WRT firmware from the DD-WRT website onto compatible routers. Before you attempt to configure your router please setup an OpenVPN connection on your computer to ensure the account is working.
This initial setup tutorial will help you configure your DD-WRT router as an access point. If you have already configured the router on your local area network and are sure your internet connection is passing through the DD-WRT router correctly please move onto Part 2.
1. Version Check
Login to your router with DD-WRT version v24-sp2 or higher on it.

2. Setup
Click on the 'Setup' tab

3. Local IP address
Enter an IP address for the DD-WRT router.
NOTE: You need to choose an IP that will not not conflict with your main routers IP address. For example, if your main router is 192.168.1.1, you can make the access point something like 192.168.1.51 - You would then have to use that IP address to login to the DD-WRT administration area once you have applied the changes..

4. Enable DHCP server
Ensure the 'DHCP Server checkbox is set to 'Enable' and the 'Start IP Address' is higher than the DD-WRT Routers, 'Local IP Address'.
Note: You can leave the static DNS on 0.0.0.0 if you wish to use your default DNS servers. If you have problems with your ISP hijacking your DNS, you can change the Static DNS to Google DNS by entering DNS 1 as 8.8.8.8 and DNS 2 as 8.8.4.4

5. DHCP & DNS Settings (Only when required)
You may also need to uncheck all three checkboxes for 'Use DNSMasq for DNCP', 'Use DNSMasq for DNS' and 'DHCP-Authoritative'.
Note: This setting is only required if you find that VPN does not route your traffic correctly once this setup is complete.

6. Save the Setting
Click the 'Apply Settings' Button.
Note: If you changed the IP address of the DD-WRT router then the DD-WRT administration area will be at that new 'Router IP' URL once the settings have been applied. You will have to login to that new IP address in order to continue with the DD-WRT setup after clicking the 'Apply Settings' button.

1. Services
Click on the 'Services' tab

2. VPN Tab
Click onto the 'VPN' tab from the 'Services' sub menu.

3. OpenVPN Service Check
Check to see that you have the 'OpenVPN Client' installed on the DD-WRT firmware. Please do not enable it, we just need to check that its there. If the OpenVPN Client is not listed please double check you have the latest DD-WRT firmware release.
Note:
If you do not have the OpenVPN Client on your DD-WRT router you can check on the DD-WRT website for updated firmware for your router here:
http://www.dd-wrt.com/wiki/index.php/Supported_Devices

4. Administration
Click onto 'Administration' in the top menu bar.

5. Commands
Click onto 'Commands' from the 'Administration' sub menu.

6. Insert the command
Please click here to download your OpenVPN config file. Our system will pre-configure the file for you based on your VPNUK login and server details. Once downloaded, copy and paste the contents of the file into the 'Commands' text area box, then click onto 'Save Startup'.
Note: We have set the initial protocol to udp and port 1194, you can change that to 443 tcp if you would prefer a TCP connection. Go to Line 15 of the config file to make that adjustment if its required.

7. Management
Click onto the 'Management' tab from the 'Administration' sub menu.

8. Reboot Router
Scroll down to the very bottom of the page and click onto the 'Reboot Router' button.

9. That's It
Your DD-WRT router will now reboot. Once rebooted you should be connected to the VPN. You can check this by going to a site like: whatismyipaddress.com. Once your router has rebooted it may take up to 5 minutes for the VPN to enable.
[END]
Switching servers
If you ever decide to switch servers it is very easy to edit the server IP.
1. Login to the Client CP and switch servers, copy the new server IP.
2. Login to the DD-WRT admin interface.
3. Go to Administration -> Commands.
4. Go to the bottom of the OpenVPN command and click onto the 'Edit' button,
5. Scroll up to the commands text box at the top.
6. Change the IP on line 15 so it matches the new server IP.
7. Save the command by clicking the 'Save Startup' button.
8. Reboot DD-WRT Router.
Switching Protocols to TCP
Follow this guide if you have to switch protocols.
1. Login to the DD-WRT admin interface.
2. Go to Administration -> Commands.
3. Go to the bottom of the OpenVPN command and click onto the 'Edit' button.
4. Scroll up to the commands text box and go to line 15.
5. Change the port from 1194 to 443 and udp to tcp.
6. Save the command by clicking the 'Save Startup' button.
7. Reboot DD-WRT Router.
Editing your Password
If you ever decide to change your password follow this guide.
1. Login to the Cient CP and change the password to one of your choice
2. Login to the DD-WRT admin interface.
3. Go to Administration -> Commands.
4. Go to the bottom of the OpenVPN command and click onto the 'Edit' button.
5. Scroll up to the commands text box at the top.
6. Go to line 71 and change the current password to your new password.
7. Save the command by clicking the 'Save Startup' button.
8. Reboot DD-WRT Router.
|