Articles on: Tutorials

OpenVPN on Flashed DD-WRT Router

This step-by-step guide will help you set up OctoVPN on your DD-WRT router, allowing you to enjoy a secure, private browsing experience and access geo-restricted content on all devices connected to your router.

It is very important that you have found the OpenVPN Config (.ovpn) of the location you want to add. Then open it in a text editor, ready to copy and paste the config over manually to your DD-WRT Router.

Gather OctoVPN configuration files and credentials:
Log in to your OctoVPN account and download the OpenVPN configuration files (.ovpn) for the server(s) you want to connect to. You will also need your OctoVPN username and password.

Access the DD-WRT router web interface:
Open a web browser and enter the router's IP address (usually or in the address bar. Log in with your router's username and password (default is usually "admin" for both).

Navigate to the VPN settings:
Click on the "Services" tab and then select the "VPN" tab. This is where you will configure your OpenVPN client settings.

Enable the OpenVPN client:
Under "OpenVPN Client," set "Start OpenVPN Client" to "Enable."

Configure the OpenVPN client using OctoVPN settings:
Open the .ovpn file you downloaded from OctoVPN with a text editor and input the settings into the corresponding fields in the DD-WRT web interface. Some common settings include:
Server IP/Name: Enter the OctoVPN server's address (e.g.,
Port: Enter the server's port number (e.g., 1194).
Tunnel Device: Set this to "TUN."
Tunnel Protocol: Set this to "UDP" or "TCP," depending on the configuration file.
Encryption Cipher: Choose the encryption cipher (e.g., AES-256-CBC).
Hash Algorithm: Choose the hash algorithm (e.g., SHA256).
User Pass Authentication: Set this to "Enable" and enter your OctoVPN username and password.
Advanced Options: Set this to "Enable" to reveal more settings.
TLS Cipher: Set the TLS cipher if provided in the configuration file (e.g., TLS-DHE-RSA-WITH-AES-256-GCM-SHA384).
LZO Compression: Set this to "Adaptive" or as specified in the configuration file.
NAT: Set this to "Enable."
Firewall Protection: Set this to "Enable."
IP Address: Leave this field blank.
Subnet Mask: Leave this field blank.
Tunnel MTU setting: Set this to 1500 or as specified in the configuration file.
Additional Config: Enter any additional settings provided by OctoVPN, such as persist-key, persist-tun, or remote-cert-tls server.

Import the necessary keys and certificates:
Copy and paste the contents of the Certificate Authority (CA) certificate, client certificate, and client key from the OctoVPN .ovpn file into their respective fields in the DD-WRT web interface:
CA Cert: Paste the contents of the CA certificate.
Public Client Cert: Paste the contents of the client certificate.
Private Client Key: Paste the contents of the client key.

Save and apply settings:
Click "Save" at the bottom of the page, then click "Apply Settings" to apply the changes.

Check the connection status:
After the router reboots, go to the "Status" tab and select the "OpenVPN" tab. You should see a "Connected: Success" message, indicating that your router is now connected to OctoVPN. You may also see additional information such as the duration of the connection and the IP address assigned by the VPN server.

You can verify that it works by heading over to and make sure that your IP Address & location has changed.

Updated on: 08/04/2023

Was this article helpful?

Share your feedback


Thank you!