{"id":145041,"date":"2025-04-22T00:27:22","date_gmt":"2025-04-22T04:27:22","guid":{"rendered":"https:\/\/davescomputertips.com\/?p=145041"},"modified":"2025-04-22T13:21:24","modified_gmt":"2025-04-22T17:21:24","slug":"adding-a-vpn-to-a-home-network-part-4","status":"publish","type":"post","link":"https:\/\/davescomputertips.com\/adding-a-vpn-to-a-home-network-part-4\/","title":{"rendered":"Adding A VPN To A Home Network &#8211; Part 4"},"content":{"rendered":"<div id=\"daves-830230304\" class=\"daves-single-post-before-content daves-entity-placement\" style=\"margin-bottom: 25px;\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7205184075006101\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-7205184075006101\" \ndata-ad-slot=\"2700504761\" \ndata-ad-format=\"auto\" data-full-width-responsive=\"false\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\r\n<p>In parts 1, 2 and 3 of this article, I explained what a VPN is, the reasons to put a VPN on a router, equipment concerns, how to add a VPN client to a router, what modifications to make to the default settings, how to how to create rules to get traffic to the VPN client, and how to manually assign an address to a device on the network. In this article, I will cover creating rules to bypass the VPN client based on both devices and websites.<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Create Device Bypass Rules<\/h3>\r\n\r\n\r\n\r\n<p>I do not need streaming devices to go through the VPN. Some applications on my streaming devices do not work with VPNs. Also, the VPN speeds are slower and cause unnecessary calculations on the router\u2019s CPU. I also do not want my smart TVs to go through the VPN. My son has an Xbox, and going through the VPN could impact his gaming. Therefore, I will create rules to bypass the VPN client for the above-mentioned devices.<\/p>\r\n\r\n\r\n\r\n<p>My son\u2019s Xbox is at IP address 192.168.81.190. On my network<a>, <\/a>I have assigned all streaming devices IP addresses in the 192.168.81.160- 192.168.81.169 range.\u00a0 I have assigned all smart TV devices IP addresses in the 192.168.81.170- 192.168.81.179 range.\u00a0 Therefore, I will create rules to direct IP addresses 192.168.81.160- 192.168.81.179 to go through the <strong>wide area network<\/strong> (WAN) instead of the VPN client.<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Creating A Bypass Rule For A Single Device<\/h3>\r\n\r\n\r\n\r\n<p>For my son\u2019s Xbox (IP address 192.168.81.190), I will create the following rule (use the same procedure I used to create a rule previously). However, in the <strong>Interface<\/strong> field, I am going to select <strong>WAN<\/strong> instead of the VPN client. This will direct all traffic for the Xbox to go through the wide area network.<\/p><div id=\"daves-228041022\" class=\"daves-single-post-in-content daves-entity-placement\" style=\"margin-bottom: 25px;\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7205184075006101\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-7205184075006101\" \ndata-ad-slot=\"2700504761\" \ndata-ad-format=\"auto\" data-full-width-responsive=\"false\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\r\n<p><a href=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_2.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-145705\" src=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_2.jpg\" alt=\"vpn-rule-2\" width=\"1108\" height=\"564\" srcset=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_2.jpg 1108w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_2-350x178.jpg 350w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_2-640x326.jpg 640w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_2-150x76.jpg 150w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_2-768x391.jpg 768w\" sizes=\"(max-width: 1108px) 100vw, 1108px\" \/><\/a><\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-image size-large\"><a href=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/03\/Rule_2.jpg\"><img decoding=\"async\" class=\"wp-image-145012\" src=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/03\/Rule_2-640x326.jpg\" alt=\"\" \/><\/a>Creating A Bypass Rule For Multiple Devices<\/h2>\r\n\r\n\r\n\r\n\r\n\r\n<p>I could create twenty rules to bypass the VPN for my streaming devices and smart TVs, but since their IP addresses exist in the sequential range 192.168.81.160- 192.168.81.179, I will use CIDR notation again. Using the <a href=\"https:\/\/account.arin.net\/public\/cidrCalculator\" target=\"_blank\" rel=\"noopener\">CIDR calculation site<\/a>, I can create two rules to cover these twenty IP addresses: <strong>192.168.81.160\/28 <\/strong>&amp;<strong> 192.168.81.176\/30.<\/strong><a href=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/03\/CIDR_2.jpg\"><img decoding=\"async\" class=\"wp-image-145013\" src=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/03\/CIDR_2-640x415.jpg\" alt=\"\" \/><\/a><\/p>\r\n<p><a href=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/CIDR_2.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-145709\" src=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/CIDR_2.jpg\" alt=\"cidr-2\" width=\"1508\" height=\"978\" srcset=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/CIDR_2.jpg 1508w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/CIDR_2-350x227.jpg 350w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/CIDR_2-640x415.jpg 640w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/CIDR_2-150x97.jpg 150w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/CIDR_2-768x498.jpg 768w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/CIDR_2-1320x856.jpg 1320w\" sizes=\"(max-width: 1508px) 100vw, 1508px\" \/><\/a><\/p>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_3.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-145707\" src=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_3.jpg\" alt=\"vpn-rule-3\" width=\"1326\" height=\"322\" srcset=\"https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_3.jpg 1326w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_3-350x85.jpg 350w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_3-640x155.jpg 640w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_3-150x36.jpg 150w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_3-768x186.jpg 768w, https:\/\/davescomputertips.com\/wp-content\/uploads\/2025\/04\/Rule_3-1320x321.jpg 1320w\" sizes=\"(max-width: 1326px) 100vw, 1326px\" \/><\/a><\/h3>\r\n<h3 class=\"wp-block-heading\">Creating A Bypass Rule For Websites<\/h3>\r\n\r\n\r\n\r\n<p>There may be websites that do not run correctly if they go through a VPN. The good news is that most websites run fine. I have only encountered two websites that do not run correctly with a VPN. Also, I may have a website that needs to be run from a certain country. To bypass a website from the VPN client or redirect it to a different VPN client, I need to create a rule. To create a rule, I need to know the IP address the website\u2019s domain points to. Suppose DCT will not run correctly through a VPN (by the way, it runs fine), I would need to know the IP address. I can go to an<a href=\"https:\/\/www.nslookup.io\/website-to-ip-lookup\/\" target=\"_blank\" rel=\"noopener\"> IP lookup site<\/a> to find the IP address. Entering the www.davescomputertips.com domain, I get the IP address of <strong>67.202.70.109 <\/strong>(if it were a range of addresses, I could use CIDR notation to create a rule covering the IP ranges).<\/p>\r\n\r\n\r\n\r\n\r\n\r\n<p>In the <strong>Interface<\/strong> field, I am going to select <strong>WAN<\/strong> instead of the VPN client. This will direct all traffic for the DCT website to go through the wide area network. Since the website is external to my network, I will leave the <strong>Local IP<\/strong> field blank and enter the IP address in the <strong>Remote IP<\/strong> field.<\/p>\r\n\r\n\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">The Bottom Line<\/h2>\r\n\r\n\r\n\r\n<p>A VPN is an encrypted tunnel between a client and a server. There are many reasons to use a VPN. One of these is to increase privacy (the reason I added a VPN client to my network). Creating a VPN router has benefits. The main benefit is that internet traffic for all devices on the network goes through the VPN router. This article describes how to add a VPN client to a router and how to bypass or redirect that traffic using rules for devices and websites. Assuming you have equipment that allows you to create a VPN client, you can create a VPN router. Let me know in the comments if you have any questions.<\/p><div id=\"daves-2570395262\" class=\"daves-single-post-in-content-2 daves-entity-placement\" style=\"margin-bottom: 25px;\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7205184075006101\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-7205184075006101\" \ndata-ad-slot=\"2700504761\" \ndata-ad-format=\"auto\" data-full-width-responsive=\"false\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\r\n<ol>\r\n<li><a href=\"https:\/\/davescomputertips.com\/adding-a-vpn-to-a-home-network-part-1\/\">Adding A VPN To A Home Network \u2013 Part 1<\/a>\u00a0<\/li>\r\n<li><a href=\"https:\/\/davescomputertips.com\/adding-a-vpn-to-a-home-network-part-2\/\">Adding A VPN To A Home Network \u2013 Part 2<\/a>\u00a0<\/li>\r\n<li><a href=\"https:\/\/davescomputertips.com\/adding-a-vpn-to-a-home-network-part-3\/\">Adding A VPN To A Home Network \u2013 Part 3<\/a><\/li>\r\n<li>Adding A VPN To A Home Network \u2013 Part 4\u00a0\u2b05 <span style=\"color: #008000;\" data-darkreader-inline-color=\"\">You are here<\/span><\/li>\r\n<\/ol>\r\n<p>&#8212;<\/p>\r\n<div id=\"daves-3413664440\" class=\"daves-after-content daves-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7205184075006101\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-7205184075006101\" \ndata-ad-slot=\"3225321574\" \ndata-ad-format=\"autorelaxed\" data-full-width-responsive=\"false\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>In parts 1, 2 and 3 of this article, I explained what a VPN is, the reasons to put a VPN on a router, equipment concerns, how to add a VPN client to a router, what modifications to make to the default settings, how to [&hellip;]<\/p>\n","protected":false},"author":4183,"featured_media":144976,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[17,28,13],"tags":[14249],"class_list":["post-145041","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how","category-internet","category-security","tag-router-vpn"],"_links":{"self":[{"href":"https:\/\/davescomputertips.com\/wp-json\/wp\/v2\/posts\/145041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davescomputertips.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davescomputertips.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davescomputertips.com\/wp-json\/wp\/v2\/users\/4183"}],"replies":[{"embeddable":true,"href":"https:\/\/davescomputertips.com\/wp-json\/wp\/v2\/comments?post=145041"}],"version-history":[{"count":0,"href":"https:\/\/davescomputertips.com\/wp-json\/wp\/v2\/posts\/145041\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davescomputertips.com\/wp-json\/wp\/v2\/media\/144976"}],"wp:attachment":[{"href":"https:\/\/davescomputertips.com\/wp-json\/wp\/v2\/media?parent=145041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davescomputertips.com\/wp-json\/wp\/v2\/categories?post=145041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davescomputertips.com\/wp-json\/wp\/v2\/tags?post=145041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}