DD-WRT is a router firmware that supports the OpenVPN protocol and is compatible with a wide range of routers. This is a tutorial on how to use the OpenVPN client UI to set up an OysterVPN using an OpenVPN connection on your DD-WRT router.
But also keep in mind that you meet the following requirements:
Router with several options OpenVPN support and DD-WRT firmware.
Website of the DD-WRT Information about an OysterVPN account.
Make sure that your DD-WRT router is capable of connecting to the Internet.
Start your web browser and type the following IP address into the address bar to access your Router Management console: 192.168.1.1 (this is the default router management address; if you’ve manually configured a different one, yours may differ)
Go to ‘Setup‘ > ‘Basic Setup‘ and make sure ‘Automatic Configuration’ of IP addresses (DHCP) is selected as the connection type, as well as giving your DD-WRT router a fixed local IP address under ‘Network Setup’ > ‘Fixed Local IP Address’. Local IP Address – If you change this from the default value, keep in mind that the address you provide here will be the one you use to access the router Management Console (default is 192.168.1.1).
NOTE: Once ‘Automatic Configuration’ is selected, the default settings should suffice; only tweak this if your ISP has provided special options.
Select Setup > IPV6 from the drop-down menu.
Disable IPv6, then Save & Apply Settings. (This is a recommended step to ensure that you don’t have any IP leaks).
Log in with your Premium Username and Password to your OysterVPN online account.
Increase the number of account options.
Choose Download Apps.
Select Other from the menu bar.
Setup a New Device.
Now, as mentioned below, create your server configuration:
Country: Because native protocol connections can only be used with one server, you must now select the nation from which you wish to surf; OysterVPN will select the appropriate server for you.
Group of servers: Select a server group and an OpenVPN protocol (UDP or TCP) to use. OpenVPN Although UDP allows for faster downloads than TCP, it can sometimes result in faulty downloads. This is the default configuration. The TCP version of OpenVPN provides more consistent connections than the UDP version, but it is a little slower. If you have recurrent connection troubles, such as sudden disconnects, use this version.
When you’ve decided on the parameters you want, click “Save Configuration” to save them.
Press View Configuration to see the OpenVPN credentials that were generated for you on the configuration dashboard. Keep the following in mind after you’ve set up your connection preferences:
Server Group: This is the address of the nation (server) with which you wish to connect, for example, ‘12345-1-ca.cg-dialup.net’. This address changes depending on the nation you selected in the previous step. OysterVPN will choose the single server that will be used automatically.
Username: A user name created specifically for this protocol. This is not your normal OysterVPN account user name; it’s only used to authenticate with our servers through Manual Configurations.
Password: A password generated specifically for protocol use. This is not your normal OysterVPN password; it’s only used to authenticate with our servers using Manual Configurations. Key that has already been shared Please save the configuration file once you’ve finished.
To do so, go to “Download Configuration” and save the config file to your computer (it’s recommended that you make a separate folder for the config, such as your Desktop, and extract/copy the contents of the.zip file there).
Now the stored configuration is now a ZIP file containing the following single files: ca.crt: This is the certifying authority client’s certificate.
crt: This is the client for user certification files.
Client key: This is the file containing your private key.
ovpn: This is the OpenVPN configuration file you’ll use.
As previously, open your web browser and type the following IP address into the address bar to access your router’s interface: 192.168.1.1 (this is the default router management address; if you’ve manually configured a different one, yours may differ) ‘Services‘ > then ‘VPN‘ from the router administration dashboard.
Check the ‘Enable‘ option next to ‘Start OpenVPN Client’ in the ‘OpenVPN Client‘ section.
Now, as seen below, you can rapidly fill in the client’s settings:
Enter the server group from Step 2: For example, ‘12345-1-ca.cg-dialup.net’. When connecting to a different country, the first portion of each address will be modified, for example, instead of ‘12345-1-dialup.net‘ (CA meaning Canada and 12345-1 being the server group), the first part will be something like ‘12345-1-gb.cg-dialup.net‘ (GB meaning Great Britain and 12345-1 the server group).
Tunnel Device: TUN
Tunnel Protocol: UDP or TCP, (depending on which protocol type you have chosen in step 1)
Encryption Cipher: AES-256-CBC
Hash Algorithm: SHA256
User Pass Authentication: Enable
USERNAME: The username you have generated when adding the device in STEP 1 (this is NOT your regular OysterVPN Username)
PASSWORD: The password you have generated when adding the device in STEP 1 (this is NOT your regular OysterVPN Password)
Advanced Options: Enabled
TLS Cipher: None
LZO Compression: Disabled
Firewall Protection: Enable
IP Address: leave blank
Subnet Mask: leave blank
Tunnel MTU setting: 1500
Tunnel UDP Fragment: leave blank
Tunnel UDP MSS-Fix: Disable
nsCertType verification: Leave unchecked
TLS Auth Key: leave blank
Additional Config: Right-click the ‘openvpn.ovpn‘ file in the place where you extracted the obtained configuration and open it with a TEXT editor (any text editor will do but WordPad displays the config. more clearly).
Select the passage from ‘resolv-retry unlimited‘ to ‘verb 4‘ and right-click > COPY the chosen content (or use CTRL+C) once the document is open. PASTE by right-clicking in the ‘Additional Config‘ area.
Policy-based Routing: leave blank
PKCS12 Key: leave blank
Static Key: leave blank
CA Cert: In this box, please copy all of the text found in the ‘CA.crt‘ file. Just like with the .ovpn file, right-click the ‘CA.crt‘ file and choose Open With > WordPad/Notepad >copy ALL of the text ‘ca.crt‘ and PASTE it in this box
Public Client Cert: In this box, please copy all of the text found in the ‘client.crt‘ file. Just like with the .ovpn file, right-click the ‘client.crt‘ file and choose Open With > WordPad/Notepad >copy ALL of the text ‘client.crt‘ and PASTE it in this box
Private Client Key: In this box please copy all of the text found in the ‘client.key‘ file. Just like with the .ovpn file, right-click the ‘client.key‘ file and choose Open With > WordPad/Notepad >copy ALL of the text ‘client.key‘ and PASTE it in this box
Click on Save and then on Apply Settings.
Finally, select Administration > Commands from the Administration page.
Copy and paste the following commands into the Command Shell field (from this post, choose all commands beginning with iptables > copy (right-click).
By navigating to Administration > Management > scrolling all the way down and clicking Reboot Router, you can now reboot the device.
To check if the VPN is operating, go to Status > OpenVPN and look under State for the message: CONNECTED SUCCESS is the client.