{"id":48410,"date":"2023-06-09T07:17:22","date_gmt":"2023-06-09T11:17:22","guid":{"rendered":"https:\/\/www.kaspersky.com\/blog\/?p=48410"},"modified":"2023-06-09T07:17:22","modified_gmt":"2023-06-09T11:17:22","slug":"how-to-use-vpn-on-routers","status":"publish","type":"post","link":"https:\/\/www.kaspersky.com\/blog\/how-to-use-vpn-on-routers\/48410\/","title":{"rendered":"Network-wide protection: how to set up VPN on a router"},"content":{"rendered":"<p>VPNs are getting more popular by the day: <a href=\"https:\/\/www.kaspersky.com\/blog\/vpn-what-you-need-to-know\/14468\/\" target=\"_blank\" rel=\"noopener nofollow\">better privacy<\/a>, <a href=\"https:\/\/www.kaspersky.com\/blog\/kaspersky-secure-connection-update-2022-2\/45883\/\" target=\"_blank\" rel=\"noopener nofollow\">access to the content you need<\/a>, and <a href=\"https:\/\/www.kaspersky.com\/blog\/fastest-vpn-wireguard-hydra-servers\/47735\/\" target=\"_blank\" rel=\"noopener nofollow\">other advantages<\/a> have won over even those not much interested in technology. To enjoy these benefits on all home devices \u2014 including computers and smartphones, game consoles and smart TVs \u2014 the best way is to set up a VPN directly on your router (aka \u201cWi-Fi box\u201d). That way, there\u2019s no need to waste time configuring a VPN on each device separately, plus you get all the benefits even where VPN support is lacking, such as on a smart TV or game consoles. Sounds interesting? Then let\u2019s get started!\u2026<\/p>\n<h2>VPN requirements<\/h2>\n<p>To protect your entire home network with a VPN, both your VPN and your router need to support this option. The first thing to note is that most free VPNs don\u2019t offer network protection at the router level. Nor will your VPN run on the router if the VPN exists <strong>only<\/strong> in the form of a browser add-on or mobile app. If you\u2019re not sure whether your VPN supports router-based operation, read the manual or contact tech-support.<\/p>\n<p>It\u2019s important to find out the details from tech support, not just a \u201cyes\/no\u201d answer. What specific VPN protocol can be used for the router (and the whole network)? Are all the VPN servers you need available using this protocol? Armed with this knowledge, next go to the technical support site for your particular router.<\/p>\n<h2>Router requirements<\/h2>\n<p>First of all, the router must support sending all home traffic through the VPN channel. These days even cheap models have this feature, but there are still cases when a router can\u2019t work with a VPN, especially if it\u2019s leased out by the internet service provider (ISP). What can also happen is that the VPN is already being used to create a channel from the router to the ISP and is a part of the standard home internet setup. This kind of \u201cVPN service\u201d usually doesn\u2019t provide the core benefits that most users want.<\/p>\n<p>You can check your router in three ways:<\/p>\n<ol>\n<li>Go to the web control panel (the address and password are usually shown on the underside of the router) and study the available settings<\/li>\n<li>Read the documentation on the router vendor\u2019s website<\/li>\n<li>Contact the vendor\u2019s technical support or \u2014 if you got the router from your provider \u2014 get in touch with its tech-support<\/li>\n<\/ol>\n<p>If your ISP doesn\u2019t offer VPN support, consider switching provider. If the problem lies with the router itself, check for an alternative firmware that has the functionality you need. The best known are <a href=\"https:\/\/wiki.dd-wrt.com\/wiki\/index.php\/Supported_Devices\" target=\"_blank\" rel=\"nofollow noopener\">DD-WRT<\/a> and <a href=\"https:\/\/openwrt.org\/supported_devices\" target=\"_blank\" rel=\"nofollow noopener\">OpenWRT<\/a> \u2014 the links point straight to a page where you can check your router\u2019s compatibility. Replacing the router firmware can be technically challenging, so make sure you fully understand both the procedure and risks before starting.<\/p>\n<p>After making sure that the router offers VPN support in the first place, next check which specific VPN protocols it can use. The most common are <a href=\"https:\/\/en.wikipedia.org\/wiki\/OpenVPN\" target=\"_blank\" rel=\"nofollow noopener\">OpenVPN<\/a> and <a href=\"https:\/\/www.wireguard.com\/\" target=\"_blank\" rel=\"nofollow noopener\">WireGuard<\/a>, with each having its own pros and cons.<\/p>\n<p><strong>OpenVPN<\/strong> has been around for a very long time and is widely supported by routers, but doesn\u2019t usually provide maximum VPN speed, and also puts a heavy load on the router\u2019s processor. For cheap routers with a weak processor, this can affect their performance and overall Wi-Fi speed in the home.<\/p>\n<p>The newer <strong>WireGuard<\/strong> protocol is very fast and secure. If you have a really fast Internet connection, WireGuard will outperform OpenVPN in terms of speed and a lower load on the router\u2019s processor. Among the disadvantages are the more involved initial setup (the user has to generate a pair of client keys) and fewer connection options: WireGuard binds the user to a specific server, OpenVPN \u2014 to a location, so the latter lets you switch to another server in the same location if the one previously used is down. Besides, not all routers recognize WireGuard.<\/p>\n<p>And almost all routers support legacy <strong>L2TP\/IPsec<\/strong> and <strong>PPTP<\/strong> protocols. We <a href=\"https:\/\/www.kaspersky.com\/blog\/vpn-implementations\/11531\/\" target=\"_blank\" rel=\"noopener nofollow\">do not recommend them<\/a>, because they fall short of the latest security standards and don\u2019t encrypt traffic by default. However, if the two more modern options are not available, and a VPN is still needed, better to use L2TP\/IPsec or PPTP with traffic encryption enabled than no VPN at all.<\/p>\n<h2>How to activate VPN on a router<\/h2>\n<p>The specifics differ from provider to provider and from router to router, so we can only describe the setup in general terms.<\/p>\n<p>The first step is to download the right VPN profile from the VPN website. The profile is usually individual, so you need to go to your personal account on the website and find the page with VPN profiles. This might be a list of protected devices where you can add a router, or a special <em>Add Router<\/em> section, or a section for managing specific VPN protocols (OpenVPN, WireGuard) where you can generate the desired connection profile.<\/p>\n<p>For example, for <a href=\"https:\/\/www.kaspersky.com\/vpn-secure-connection?icid=gl_kdailyplacehold_acq_ona_smm__onl_b2c_kasperskydaily_wpplaceholder____vpn___\" target=\"_blank\" rel=\"noopener nofollow\">Kaspersky VPN Secure Connection<\/a>, you can create a router profile on the <a href=\"https:\/\/my.kaspersky.com\/\" target=\"_blank\" rel=\"noopener nofollow\">My Kaspersky<\/a> site in the <a href=\"https:\/\/my.kaspersky.com\/VPN#\/portal\/pages\/ksec\" target=\"_blank\" rel=\"noopener nofollow\">Secure Connection<\/a> section in three simple steps. Currently, only an OpenVPN profile is offered for routers, but by end of 2023 we plan to provide WireGuard support as well (note that WireGuard is now available in <a href=\"https:\/\/www.kaspersky.com\/vpn-secure-connection?icid=gl_kdailyplacehold_acq_ona_smm__onl_b2c_kasperskydaily_wpplaceholder____vpn___\" target=\"_blank\" rel=\"noopener nofollow\">our VPN<\/a> for Windows).<\/p>\n<div id=\"attachment_48414\" style=\"width: 1652px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2023\/06\/09070432\/how-to-use-vpn-on-routers-01.jpg\"><img decoding=\"async\" aria-describedby=\"caption-attachment-48414\" class=\"size-full wp-image-48414\" src=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2023\/06\/09070432\/how-to-use-vpn-on-routers-01.jpg\" alt=\"Creating an OpenVPN profile for a router on the My Kaspersky site.\" width=\"1642\" height=\"906\"><\/a><p id=\"caption-attachment-48414\" class=\"wp-caption-text\">Creating an OpenVPN profile for a router on the My Kaspersky site.<\/p><\/div>\n<p>When adding a new profile in your personal account, you need to answer certain questions. These include the profile name, your choice of server, and so on. The same window often provides space for technical details \u2014 such as private keys, names and passwords \u2014 but most providers support automatic generation of all this, in which case they can be left blank. Next, a link appears to download the <strong>.ovpn<\/strong> file for OpenVPN or <strong>.conf<\/strong> file for WireGuard.<\/p>\n<p>For L2TP and PPTP, you don\u2019t need to download anything. Instead, you need to write down some information from your personal account:<\/p>\n<ul>\n<li>server address for connection<\/li>\n<li>username and password<\/li>\n<li>an additional encryption key (pre-shared key, PSK, secret key)<\/li>\n<li>authentication type (PAP, CHAP)<\/li>\n<\/ul>\n<input type=\"hidden\" class=\"category_for_banner\" value=\"ksec\">\n<p>Having gotten hold of this information, go to the web control panel of the router. Depending on the vendor\u2019s\u2026 imagination, you may have to wander through a maze of subsections to get to the VPN properties:<\/p>\n<ul>\n<li><strong>Asus<\/strong> routers usually have a <em>VPN \u2192 VPN client<\/em> section<\/li>\n<li><strong>Keenetic<\/strong> routers hide VPN connections under <em>Internet \u2192 Other Connections<\/em><\/li>\n<li>in <strong>Netgear<\/strong> routers, go to <em>Advanced Setup \u2192 VPN service<\/em><\/li>\n<li>in <strong>TP-Link<\/strong> routers, open the <em>Network \u2192 WAN<\/em> tab<\/li>\n<\/ul>\n<p>Take care, because routers can show VPN connections in two forms: as an <em>external VPN connection to your home network<\/em> (here the router acts as a VPN server and provides secure external access to your local network) and as a <em>secure connection to a remote VPN server<\/em> (here the router becomes a VPN client that connects securely to the VPN service). You need the second option.<\/p>\n<p>Having found the right section, create a new connection and name it (say, for the VPN service and\/or the location of the server), then enter the information retrieved from your personal account with the VPN provider.<\/p>\n<p>For PPTP and L2TP\/IPSEC, all information is required, including server addresses. For OpenVPN and WireGuard, attaching the OVPN\/CONF profile file is usually enough, but sometimes you might also need to specify a username and password.<\/p>\n<p>For some router models (for example, Keenetic), instead of a profile upload button, there\u2019s a window for entering the VPN configuration; in this case, open the OVPN\/CONF file in a text editor (yes, it\u2019s a plain text file, and you can change its extension to .txt if you like), copy all the information from it, and paste it into this window. If you have any doubts about the correct settings, take a look at the router\u2019s setup help pages \u2014 they\u2019re usually found right in the Settings window.<\/p>\n<div id=\"attachment_48415\" style=\"width: 963px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2023\/06\/09070640\/how-to-use-vpn-on-routers-02.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-48415\" class=\"size-full wp-image-48415\" src=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2023\/06\/09070640\/how-to-use-vpn-on-routers-02.png\" alt=\"Setting up a VPN connection via OpenVPN in Keenetic routers.\" width=\"953\" height=\"653\"><\/a><p id=\"caption-attachment-48415\" class=\"wp-caption-text\">Setting up a VPN connection via OpenVPN in Keenetic routers.<\/p><\/div>\n<p>Then click the <em>Save<\/em> button and look for the <em>Activate<\/em> button or <em>On\/Off<\/em> switch for the VPN connection. That done, the VPN should in theory be on all the time and even activate itself automatically after a router restart. It\u2019s a good idea to check this by going to a site like <a href=\"https:\/\/whatismyipaddress.com\" target=\"_blank\" rel=\"nofollow noopener\">whatismyipaddress.com<\/a> or <a href=\"https:\/\/iplocation.net\" target=\"_blank\" rel=\"nofollow noopener\">iplocation.net<\/a> on any home device: they\u2019ll show you which region of the online world you\u2019ve tunneled through to. That\u2019s the VPN setup basically done \u2014 all devices connected to the router will now access the internet through an encrypted connection. And some routers even allow you to choose which home devices will connect directly to the internet and which will go through a VPN.<\/p>\n<p>If for some reason a VPN can\u2019t be set up on your router, you can protect your internet access <a href=\"https:\/\/www.kaspersky.com\/blog\/secure-dns-private-dns-benefits\/47209\/\" target=\"_blank\" rel=\"noopener nofollow\">by setting up secure DNS on your router<\/a>. This won\u2019t give you all the benefits of a secure VPN connection, but it can give you some \u2014 such as protecting kids from inappropriate content and blocking ads on all devices.<\/p>\n<p>For maximum protection on up to 10 of your family\u2019s devices, we recommend a <a href=\"https:\/\/www.kaspersky.com\/premium?icid=gl_bb2023-kdplacehd_acq_ona_smm__onl_b2c_kdaily_lnk_sm-team___kprem___\" target=\"_blank\" rel=\"noopener nofollow\">Kaspersky Premium subscription<\/a>, which, alongside <a href=\"https:\/\/www.kaspersky.com\/blog\/kaspersky-home-products-2022\/45268\/\" target=\"_blank\" rel=\"noopener nofollow\">protection against viruses, hacking, phishing, and data leaks<\/a>, includes a <a href=\"https:\/\/www.kaspersky.com\/blog\/ksc-wins-av-test-2022\/46586\/\" target=\"_blank\" rel=\"noopener nofollow\">fast and unlimited Kaspersky VPN<\/a> Secure Connection, <a href=\"https:\/\/www.kaspersky.com\/blog\/how-secure-is-your-password-manager\/47034\/\" target=\"_blank\" rel=\"noopener nofollow\">secure password manager and vault<\/a>, a one-year free <a href=\"https:\/\/www.kaspersky.com\/blog\/safe-kids-2023-updated-features\/47957\/\" target=\"_blank\" rel=\"noopener nofollow\">Kaspersky Safe Kids<\/a> subscription, and many other benefits.<\/p>\n<input type=\"hidden\" class=\"category_for_banner\" value=\"premium-family\">\n","protected":false},"excerpt":{"rendered":"<p>Get all the benefits of a VPN \u2014 not just on your phone, but on your home computer, game console and smart TV too. The easiest way is to enable the VPN feature on your home router.<\/p>\n","protected":false},"author":2722,"featured_media":48411,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[7,1789,9],"tags":[1134,1791,1478,43,473,1083,131,709],"class_list":{"0":"post-48410","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-products","8":"category-technology","9":"category-tips","10":"tag-internet","11":"tag-kaspersky-secure-connection","12":"tag-openvpn","13":"tag-privacy","14":"tag-routers","15":"tag-technologies","16":"tag-tips","17":"tag-vpn"},"hreflang":[{"hreflang":"x-default","url":"https:\/\/www.kaspersky.com\/blog\/how-to-use-vpn-on-routers\/48410\/"},{"hreflang":"en-in","url":"https:\/\/www.kaspersky.co.in\/blog\/how-to-use-vpn-on-routers\/25787\/"},{"hreflang":"en-ae","url":"https:\/\/me-en.kaspersky.com\/blog\/how-to-use-vpn-on-routers\/21228\/"},{"hreflang":"ar","url":"https:\/\/me.kaspersky.com\/blog\/how-to-use-vpn-on-routers\/10810\/"},{"hreflang":"en-us","url":"https:\/\/usa.kaspersky.com\/blog\/how-to-use-vpn-on-routers\/28481\/"},{"hreflang":"en-gb","url":"https:\/\/www.kaspersky.co.uk\/blog\/how-to-use-vpn-on-routers\/26086\/"},{"hreflang":"es-mx","url":"https:\/\/latam.kaspersky.com\/blog\/how-to-use-vpn-on-routers\/26442\/"},{"hreflang":"es","url":"https:\/\/www.kaspersky.es\/blog\/how-to-use-vpn-on-routers\/28925\/"},{"hreflang":"it","url":"https:\/\/www.kaspersky.it\/blog\/how-to-use-vpn-on-routers\/27851\/"},{"hreflang":"fr","url":"https:\/\/www.kaspersky.fr\/blog\/how-to-use-vpn-on-routers\/20739\/"},{"hreflang":"pt-br","url":"https:\/\/www.kaspersky.com.br\/blog\/how-to-use-vpn-on-routers\/21435\/"},{"hreflang":"de","url":"https:\/\/www.kaspersky.de\/blog\/how-to-use-vpn-on-routers\/30285\/"},{"hreflang":"en-au","url":"https:\/\/www.kaspersky.com.au\/blog\/how-to-use-vpn-on-routers\/32095\/"},{"hreflang":"en-za","url":"https:\/\/www.kaspersky.co.za\/blog\/how-to-use-vpn-on-routers\/31778\/"}],"acf":[],"banners":"","maintag":{"url":"https:\/\/www.kaspersky.com\/blog\/tag\/vpn\/","name":"VPN"},"_links":{"self":[{"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/posts\/48410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/users\/2722"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/comments?post=48410"}],"version-history":[{"count":4,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/posts\/48410\/revisions"}],"predecessor-version":[{"id":48413,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/posts\/48410\/revisions\/48413"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/media\/48411"}],"wp:attachment":[{"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/media?parent=48410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/categories?post=48410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kaspersky.com\/blog\/wp-json\/wp\/v2\/tags?post=48410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}