DD-WRT is an open source router software build that can run on a wide range of commercial routers. It offers OpenVPN, L2TP and PPTP protocol support and can be customized and tuned for ultimate flexibility. You can check if your router supports DD-WRT firmware here. Support for DD-WRT installation and how-to guides can be found here.
Step1 – Register an account with StarVPN
Head on over to our pricing plan options and choose a VPN plan that suits your needs. You can register on checkout or directly here.
Step 2 – VPN Login Information
Log into the StarVPN member area dashboard. You can find your VPN username and password for each slot in the Manage Slots Section or dashboard area.

For multiple slots, the VPN configuration settings and credentials can be located in the “Manage Slots” section.

Step 3 – Download OpenVPN Configuration File
The next step, you must download the VPN server configuration files necessary so that the OpenVPN Software knows where to connect to. Download the configuration file in the members area dashboard.

Step 4 – Configure DNS for Route Leak Protection
StarVPN provides DNS leak protection in the ovpn configuration file, this step is optional
Log into your Router Administrative interface. Enter the router IP into into your web browser. This is typically – http://192.168.1.1 or http://192.168.0.1
In the DD-WRT Administrative interface, navigate to Setup -> Basic Setup

Under the Section labelled “DHCP” Enter the desired DNS server provider IP’s in fields “Static DNS 1” and “Static DNS 2“. For the purpose of this article you can enter Google DNS 8.8.8.8 and 8.8.4.4.
Select the following check boxes – “Use DNSMasq for DHCP” , “Use DNSMasq for DNS” , “DHCP-Authoritative“

Click “Save” and “Apply Settings” to save your changes.
Step 5 – Configure OpenVPN
Navigate to Services -> VPN. Under the OpenVPN Client settings and find “Start OpenVPN Client” and select “Enable“

Open the .ovpn file you downloaded in the previous step with a text editor of your choice and use these values to fill out the fields.

Server IP/Name = ov.starzone.io
Port = 1194
Tunnel Device = TUN
Tunnel Protocol = UDP
Encryption Cipher = AES-256-GCM
Hash Algorithm = none
User Pass Authentication = Enable
Username = StarVPN VPN Username
Password = StarVPN VPN Password
Advanced Options = Enable (this will enable additional options)
TLS Cipher = None
LZO Compression = disable
NAT = Enable
In the “Additional Config” box, enter the following commands:
remote-random
remote-cert-tls server
explicit-exit-notify 3
fast-io
verb 3
key-direction 1
dhcp-option DNS 1.1.1.1
dhcp-option DNS 1.0.0.1
Using your favorite text editor, open the StarVPN .ovpn configuration file you downloaded earlier in this tutorial. Copy the contents of the CA Certificate and paste it in the box named “Ca Cert“. Ensure all parts are copied including “—–BEGIN CERTIFICATE—– and —–END CERTIFICATE—–” lines

Once more, open the StarVPN .ovpn configuration file. Copy the contents of the TLS Key and paste it in the box named “TLS Auth Key“. Ensure all contents of the key are copied including – “—–BEGIN OpenVPN Static key V1—–” and “—–END OpenVPN Static key V1—–” lines.

Once all the data is entered, click on “Save” and “Apply“. Your settings should look like this:
To verify your router is connected to the VPN server, navigate to Status -> OpenVPN. You should see a status message -“CONNECTED SUCCESS”.

Once you are connected, login to the StarVPN dashbard to configure your IP Type, Geo-location and ISP. No additional configuration files are required.
Troubleshooting
Some DD-WRT routers do not support IPv6, as a result you may experience an IP or connection error. Add the following lines in the additional config section:
pull-filter ignore “ifconfig-ipv6
pull-filter ignore “server-ipv6
pull-filter ignore “tun-ipv6
pull-filter ignore “route-ipv6
