vpnAlert.com
Search
Close this search box.

How to Set Up PrivateVPN on a Router?

We are reader supported and may earn a commission when you buy through links on our site. Learn more.

The best way to install PrivateVPN on your router is by downloading its OpenVPN configuration files for your router type and setting it up in the router’s admin panel. However, you must ensure to have a VPN-compatible router before getting started.

After you install PrivateVPN on your router, all devices connected to it, even those that PrivateVPN doesn’t have an app for, will have their internet connection encrypted.

So, if you’re ready to start now:

Does My Router Support PrivateVPN?

Most cheap or old routers don’t support the installation of a third-party VPN. 

But most higher-end routers do support the installation out of the box.

The router’s manual should confirm if your router supports a third-party VPN installation. Or you can also verify via Google if your router supports VPNs.

You can flash it and install open-source firmware to enable this feature if it doesn’t.

Setting up PrivateVPN on a Router

I’ll use three router types to demonstrate how to set up PrivateVPN on a router: DD-WRT (using a Linksys E1200 model), Tomato Router (on a Linksys E1550 model), and an Asus router (for VPN-compatible routers).

How to Set Up PrivateVPN on a DD-WRT Router?

PrivateVPN can’t be installed on all DD-WRT routers. Thus, confirm from the DD-WRT router database that it supports your router.

After confirming it does, here’s how to flash your router and install DD-WRT firmware:

  1. Select your router from the DD-WRT router database results.
  2. You’ll see two files named “Flash” and “Mega.” Download one file from each section.
router database
  1. Perform a hard reset of your router by pressing the “Reset” button for 30 seconds.
  2. Remove the router’s power cable from the outlet without releasing the “Reset” button. Keep holding the button for another 30 seconds.
  3. While holding the “Reset” button, plug the power cable back into the outlet. Keep holding the “Reset” button for another 30 seconds.
  4. Open your router’s settings page in your browser and click “Administration.” The settings page is usually found at “198.168.0.1” or “198.168.0.0.”
router settings administration
  1. Go to your router’s settings tab and click “Firmware Upgrade.”
firmware upgrade
  1. Select the file that ends with “mini” and upload it.
file with mini
  1. Click “Start Upgrade.”
upgrading file
  1. Allow some time for the DD-WRT firmware to be installed. Your router will restart during this process.
  2. Once the firmware has been installed, and the router has rebooted, open the router’s settings page again.
  3. Click “Administration.”
administration tab
  1. In the username, type “Root” or “Admin.” For the password, type “admin.”
log in page
  1. Click “Firmware Upgrade.”
click firmware upgrade
  1. Under “Please select a file to upgrade,” click “Choose file.”
choose file
  1. Now select the “Mega” file you already downloaded.
mega file
  1. In the router menu options, click “Upgrade.”
router menu options
  1. Allow time for the firmware to be updated on your router, and then restart.
  2. Perform a hard reset again and open your router’s settings page. Set up a new username and password, and log in with the new username and password.

Here’s how to install PrivateVPN on DD-WRT:

  1. Get a PrivateVPN subscription. You can save more with these HUGE discounts.
  2. Open your router’s dashboard, click “Setup,” then “Basic Setup.”
basic setup
  1. Under “Network Address Server Settings (DHCP),” enter “8.8.8.8” in the “Static DNS 1” field.
  2. Under “Static DNS 2,” enter “8.8.4.4.”
static dns 2
  1. Click “Save,” followed by “Apply Settings.”
apply settings
  1. Click “Administration,” then “Commands.”
commands
  1. Copy the PrivateVPN DD-WRT OpenVPN script from here.
  2. Go back to your router’s settings page and paste the script under the “Commands” text box.
  3. Scroll back to the top, and edit the following lines:
    1. Username = *Enter your PrivateVPN username here*
    2. PASSWORD = *Enter your PrivateVPN password here*
    3. REMOTE_SERVERS = *Select the server address from this list and copy-paste the information here.*
command shell
  1. Click “Save Startup.”
save startup
  1. Click “Management” and select “Reboot Router.”
reboot router
  1. Allow some time for the VPN to be installed.

How to Set Up PrivateVPN on a Tomato Router?

Tomato Router is another free, open-source firmware for routers. Before installing PrivateVPN on your router, confirm if the Tomato firmware supports your router.

Here’s how:

  1. Go to the Tomato website.
  2. Click “Help” and select “Router List.”
tomato router list
  1. Check if the Tomato firmware is available for your router. If supported, copy the version number.
version number
  1. Click “Download,” then “Tomato Firmware.”
tomato firmware
  1. Click on the firmware number that corresponds with the one given to your router. For our example router, the firmware number was “K26RT-N.”
k26rt-n
  1. Select the latest available release.
latest available release
  1. Select your router.
select router
  1. A list of firmware will be available for download. Download the one with the file name ending in “Mega.”
file name with mega
  1. Once the Zip file has been downloaded, extract it.
  2. Perform a hard reset as shown in the previous solution.
  3. Open your browser and enter your router’s IP address/admin login page.
  4. Continue to the setup page.
  5. Enter the username as “admin” and the password as “admin.”
username and password
  1. Click “Administration,” then “Firmware Upgrade.”
administration firmware upgrade
  1. Click “Browse” and upload the file that you downloaded.
browse file
  1. Click “Start Upgrade.”
start upgrade
  1. Allow some time for the firmware to be installed on your router.
  2. Perform another hard reset.

Once that’s done, here’s how to install PrivateVPN on the router:

  1. Buy a PrivateVPN plan. Here’s a one-time discount to save more.
  2. Open your router’s configuration window by entering its IP address.
  3. In the left-side menu of your router’s configuration window, select “VPN Tunneling.”
vpn tunneling
  1. Select “OpenVPN Client.”
  2. Click on “Client 1” and select “Basic.”
openvpn client configuration
  1. Tick the checkbox for “Start with WAN.”
start with wan
  1. Click on the “Interface Type” drop-down and select “TAP.”
interface type
  1. Change “Protocol” to “UDP.”
udp protocol
  1. Select a server from this list and copy the server address.
  2. Paste the server address in the “Server address/Port” textbox.
  3. Set the port value to “21000.”
service address
  1. Change “Firewall” to “Automatic” and “Authorization Mode” to “TLS.”
firewall and authorization mode
  1. Uncheck “Username Authen. Only” and “Server is on the same subnet.”
unchecking
  1. In the “Username” and “Password” text boxes, enter your PrivateVPN account’s username and password.
  2. Select the checkbox “Create NAT on tunnel.”
create nat on tunnel
  1. Click “Advanced.”
advanced settings
  1. Change the “Poll Interval” to 0.
  2. Uncheck “Redirect Internet traffic” and “Verify Server Certificate.”
poll interval
  1. Change “Accept DNS Configuration” to “Strict.”
  2. Change “Encryption Cipher” to “Use Default.”
  3. Change “Compression” to “Adaptive.”
strict use default adaptive
  1. Type “comp-lzo” under the “Custom Configuration” textbox.
custom configuration
  1. Click “Keys” and enter or paste the following text under the “Certificate Authority” textbox:
				
					-----BEGIN CERTIFICATE-----
MIIE3zCCA8egAwIBAgIJAMXxdK4eMVKxMA0GCSqGSIb3DQEBBQUAMIGlMQswCQYD
VQQGEwJTRTELMAkGA1UECBMCQ0ExEjAQBgNVBAcTCVN0b2NraG9sbTETMBEGA1UE
ChMKUHJpdmF0ZVZQTjETMBEGA1UECxMKUHJpdmF0ZVZQTjETMBEGA1UEAxMKUHJp
dmF0ZVZQ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cml2YXR2cG4uc2WCCQDF8XSuHjFS
sTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQA0UbskTX1IX6NLfAs3
8gPj321zN2ryj3ADxS8sLjy/+hUbdHu3FyQ12pI7jIVeAK4n7DccBRAMDBTWfNtv
jqFiWp10G2cI6d2xwDaDZFJNSWDyl4OYQjE4RtyBwH4IskKAdrT0oXg+kVgo8TiU
BwAvzuoZFWFHYYYhfCh9bGdicLCtBfiZ6zjlAltjVA0tjdbYCG5WkPqsXAUeKBmf
oQ5n10nzGdkZSMwlp9g5tFfni9kq/oSAupS5XXyvUG3IpFsdZWuZUo6fr5Hp6Ve5
Yvux4/hgnPLuT8E/46EKkATabVnpNa3/CgSqiJLEd4m6ZUiykqI7Hq3juKkK6DrT
ilw/
-----END CERTIFICATE-----

				
			
certificate authority
  1. Finally, click “Save,” then “Start Now.”
start now button

How to Set Up PrivateVPN on ASUS/Netgear/Linksys Routers?

Here’s how to install PrivateVPN on a router such as Asus, Netgear, Linksys, and others that support the installation of a third-party VPN out of the box.

For this step-by-step guide, we’re using the Asus router as an example:

  1. Get a PrivateVPN subscription if you don’t have one already.
  2. Open your router’s settings page and click “VPN” on the left-side menu.
advanced settings vpn
  1. Click “VPN Client,” followed by “Add profile.”
vpn client tab
  1. Click “L2TP” and open the tab.
l2tp
  1. Go to this PrivateVPN server list, select the server you want to install on your router, and copy its address.
  2. Paste the server address under the “VPN Server” text box.
vpn server textbox
  1. Enter your PrivateVPN account’s username and password under the username and password text box.
privatevpn login credentials
  1. Click “OK.”
choose ok
  1. Click “Activate” to turn on the VPN on your router.
activate vpn on router
Interesting Reads:

Enjoy PrivateVPN on Unlimited Devices

If your router supports VPN installation out of the box, you can install PrivateVPN easily. Otherwise, you’ll need to flash it and then install a VPN.

Once installed, you can access geo-blocked content on Netflix and other streaming platforms, bypass IP bans, and more. Likewise, you’ll encrypt the internet connection of all the connected devices simultaneously without using up more than one of the ten connections that PrivateVPN provides.

If you don’t already have a subscription to PrivateVPN, try it out today with these huge discounts!

PrivateVPN logo
HUUUGE SAVINGS!
Get a juicy 85%+ discount!
OFFER EXPIRES IN:
Hours
Minutes
Seconds
TODAY!
CLAIM OFFER NOW
** For Limited Time Only **
💥 Exclusive May Discounts 💥
SHOW OFFER
Surfshark logo
SHOW OFFER
PrivateVPN logo
SHOW OFFER
PrivateVPN logo
PrivateVPN devices
EXCLUSIVE May DEAL!
Our partner, PrivateVPN, offers an exclusive discount for a limited time! Don't miss out on the chance to save extra money.
OFFER EXPIRES IN:
Hours
Minutes
Seconds
TODAY!
VIEW EXCLUSIVE OFFER
Or Try PrivateVPN for FREE