<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Networking on datahacker</title>
		<link>https://datahacker.blog/categories/networking/</link>
		<description>Recent content in Networking on datahacker</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sun, 29 Nov 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://datahacker.blog/categories/networking/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>IPv6 Paths and Failure Boundaries</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/paths-and-failure-boundaries/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/paths-and-failure-boundaries/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced OpenVPN with IPv6&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/&#34;&gt;Advanced IPv4&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;The six routing purposes are unchanged. The extension adds IPv6 to the paths that the chosen policy already permits. A new address family does not create a new provider, direct bypass, VPN role or recovery allowance. The &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/&#34;&gt;IPv4 series&lt;/a&gt; remains a separate alternative that denies protected IPv6.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Prepare an Advanced IPv4 Deployment</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/preparing-an-ipv4-deployment/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/preparing-an-ipv4-deployment/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Choose one of the &lt;a href=&#34;../#six-use-cases&#34;&gt;six use cases&lt;/a&gt; before preparing the host. The shared controls implement that policy; they must not create additional providers or routes. The first advanced series is IPv4 only and uses dedicated OpenVPN Community client instances owned by systemd. A NetworkManager-owned instance is not an interchangeable owner.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Implement the Advanced VPN and DNS Controls on Ubuntu 24.04</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/</guid>
				<description>&lt;p&gt;This is the shared implementation walkthrough for the advanced split-gateway guides. Choose one use case and one address-family profile, then follow the same preparation, installation and operating sequence. The &lt;a href=&#34;../ubuntu-24-04-reference-host/&#34;&gt;Ubuntu reference&lt;/a&gt; explains the platform choices; the individual guides explain the policy and its failure behavior.&lt;/p&gt;&#xA;&lt;p&gt;The supplied controller and preparation tools have offline tests. &lt;strong&gt;These Linux instructions have not been executed or accepted on a real host.&lt;/strong&gt; Start with an isolated Ubuntu Server 24.04 LTS amd64 machine and an independent console. Initial installation and rollback deliberately hold that machine&amp;rsquo;s IP traffic. That maintenance hold is separate from ordinary operation, where DNS, payload and address-family failures affect only their approved scopes.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Prepare an Advanced Dual-Stack Deployment</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/preparing-a-dual-stack-deployment/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/preparing-a-dual-stack-deployment/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced OpenVPN with IPv6&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/&#34;&gt;Advanced IPv4&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Start with the &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/preparing-an-ipv4-deployment/&#34;&gt;IPv4 preparation contract&lt;/a&gt; and the selected use-case worksheet. Add IPv6 deliberately; do not remove the IPv4-only guard and assume the remaining rules cover both families. The examples retain dedicated systemd-managed OpenVPN Community instances and nftables, without custom eBPF.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Repair Windows and Health Checks — Advanced IPv4</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/repair-windows-and-checks/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/repair-windows-and-checks/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;These limits apply to the advanced OpenVPN series only. The six simple walkthroughs retain their manual behavior. The author approved fifteen-minute windows, 4:30 complete attempts and an eighty-second qualification ceiling on November 28, 2026.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Dual-Stack Health Checks and Recovery</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/health-checks-and-recovery/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/health-checks-and-recovery/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced OpenVPN with IPv6&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/&#34;&gt;Advanced IPv4&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;All approved values carry forward from &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/repair-windows-and-checks/&#34;&gt;Repair Windows and Health Checks&lt;/a&gt;. IPv6 adds observations, not longer deadlines or another allocation of connection attempts. The &lt;a href=&#34;../paths-and-failure-boundaries/#failure-scope&#34;&gt;failure-boundary guide&lt;/a&gt; defines what each required result controls.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Operate, Restart and Withdraw Advanced IPv4 Controls</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/operating-and-recovering-ipv4/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/operating-and-recovering-ipv4/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Use these procedures with the selected &lt;a href=&#34;../#six-use-cases&#34;&gt;use case&lt;/a&gt; and &lt;a href=&#34;../preparing-an-ipv4-deployment/&#34;&gt;preparation inventory&lt;/a&gt;. Operator action names below describe the interface the implementation must supply. They are not shell commands or an installed utility.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Check Advanced IPv4 Failure Behavior</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/checking-ipv4-failures/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/checking-ipv4-failures/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;These are acceptance instructions for a later isolated Linux run. No faults have been injected and no routing/runtime results are claimed here. First complete the &lt;a href=&#34;../preparing-an-ipv4-deployment/#inventory&#34;&gt;host inventory&lt;/a&gt; and use-case worksheet. Local documentation/model checks can find contradictions, but cannot pass these runtime gates.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Operate and Check Advanced Dual-Stack Controls</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/operating-and-checking-dual-stack/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/operating-and-checking-dual-stack/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced OpenVPN with IPv6&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/&#34;&gt;Advanced IPv4&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Use these instructions with the selected &lt;a href=&#34;../#six-use-cases&#34;&gt;use case&lt;/a&gt;, &lt;a href=&#34;../preparing-a-dual-stack-deployment/&#34;&gt;preparation guide&lt;/a&gt; and &lt;a href=&#34;../health-checks-and-recovery/&#34;&gt;unchanged recovery limits&lt;/a&gt;. Operator actions below describe required implementation behavior, not commands of an installed controller.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Bibliography for VPN Articles</title>
				<link>https://datahacker.blog/reference/networking/vpn/vpn-bibliography/</link>
				<pubDate>Mon, 02 Dec 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/vpn-bibliography/</guid>
				<description>&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;Historical bibliography: dates and attributions are retained unless a correction is stated. A reachable later edition does not verify the exact version originally consulted. The exact editions, dates and authorship attached to the Xenial manual citations and the unlinked 1999 IP Command Reference remain unconfirmed. Retrieval failures are recorded as unverified, not as proof that a link is dead.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;p&gt;This is a list of sources I found useful while writing my comprehensive guides on VPNs for Small Business Owners, Home Office Workers, and Split VPNs&lt;/p&gt;</description>
			</item>
			<item>
				<title>Secure Tunneling IP Network Protocol IDs</title>
				<link>https://datahacker.blog/reference/networking/ip-network-protocol-ids/</link>
				<pubDate>Mon, 02 Dec 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/ip-network-protocol-ids/</guid>
				<description>&lt;p&gt;&lt;em&gt;Tunnels&lt;/em&gt; in IT networking carry one protocol&amp;rsquo;s traffic inside another protocol between endpoints. They can connect hosts or networks, and do not require the endpoints to be on different subnets. A tunnel may protect against eavesdropping, tampering, or both, but encapsulation alone does not provide that protection. This article covers both secure VPN protocols and related encapsulation mechanisms.&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;&lt;p&gt;Reviewed November 2026. IP protocol numbers, TCP/UDP ports and security properties are different things. A recognizable protocol number or port is not proof that a connection is authenticated or encrypted. The original 2019/2020 wording is preserved separately.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;</description>
			</item>
			<item>
				<title>WireGuard</title>
				<link>https://datahacker.blog/reference/networking/vpn/wireguard/</link>
				<pubDate>Mon, 02 Dec 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/wireguard/</guid>
				<description>&lt;p&gt;WireGuard was the &amp;ldquo;new kid on the block&amp;rdquo; when this article was first published in December 2019. Its production status changed soon afterward: the project announced WireGuard 1.0.0 for Linux 5.6 in March 2020. The comparison below distinguishes that history from the protocol&amp;rsquo;s capabilities. &lt;a href=&#34;https://lists.zx2c4.com/pipermail/wireguard/2020-March/005206.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;Release announcement&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Protocol adoption in the VPN world is a very slow process. Yet a relatively recent upstart was garnering a lot of attention: WireGuard. Does it live up to the hype? Or is it Science Fiction?&lt;/p&gt;</description>
			</item>
			<item>
				<title>Choosing the Right VPN Provider</title>
				<link>https://datahacker.blog/research/networking/vpn/choosing-the-right-vpn-provider/</link>
				<pubDate>Sat, 16 Nov 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/research/networking/vpn/choosing-the-right-vpn-provider/</guid>
				<description>&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;Historical review: provider lists, prices, features, screenshots, reviewer assessments and recommendations below describe the original 2019–2020 research. They have not been re-tested as current buying advice. Technical corrections are dated November 23, 2026; the pre-review version remains available.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;p&gt;The process of selecting a VPN provider should begin with the problem you want to solve. A consumer VPN protects the path to its server and changes the address seen by destinations for tunneled traffic. It does not conceal every part of your identity. This article is about choosing the right VPN for your needs, with the original provider observations kept in their historical context.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Exposing the Myth of &#34;Best&#34; VPN Services</title>
				<link>https://datahacker.blog/research/networking/vpn/universal-best-vpn-lists-are-a-myth/</link>
				<pubDate>Thu, 14 Nov 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/research/networking/vpn/universal-best-vpn-lists-are-a-myth/</guid>
				<description>&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;Historical review: provider lists, prices, features, screenshots, reviewer assessments and recommendations below describe the original 2019–2020 research. They have not been re-tested as current buying advice. Technical corrections are dated November 23, 2026; the pre-review version remains available.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;p&gt;This article explores why &amp;ldquo;Best&amp;rdquo; lists of VPN providers are not useful.&lt;/p&gt;&#xA;&lt;p&gt;There are many, many VPN service providers on the market. Hundreds. No joke. VPNs are &amp;ldquo;in.&amp;rdquo; Unfortunately, that usually means a lot of bad actors will try and join the party, looking to profit from the hype. VPN service providers are no exception. Coupled with the fact most consumers don&amp;rsquo;t know what they&amp;rsquo;re doing, the result is the current VPN market is full of privacy and security land mines. Selecting a &amp;ldquo;good&amp;rdquo; VPN provider is tougher now than it&amp;rsquo;s ever been. We would all like to have simple solutions presented to us in order to solve all of our problems. However, the reality of life is most decisions that are worthwhile and wise do not come easily. Selecting a VPN is no different.&lt;/p&gt;</description>
			</item>
			<item>
				<title>How VPNs Work - Part 2: Protocols</title>
				<link>https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-2-protocols/</link>
				<pubDate>Thu, 31 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-2-protocols/</guid>
				<description>&lt;p&gt;This article is Part 2 in a series of articles about how Virtual Private Networks (VPNs) work. &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-1-overview/&#34;&gt;Part 1&lt;/a&gt; of the series, &lt;em&gt;How VPNs Work&lt;/em&gt; outlined VPN functionality at a high level. &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-3-encryption-and-authentication/&#34;&gt;Part 3 (Encryption and Authentication)&lt;/a&gt; in this series explores security and encryption pitfalls you should be aware of, including deprecated ciphers, how some VPN service providers conceal their use of lower level encryption methods, and explains &lt;em&gt;Perfect Forward Secrecy&lt;/em&gt; and why it is important.&lt;/p&gt;</description>
			</item>
			<item>
				<title>How VPNs Work - Part 3: Encryption and Authentication</title>
				<link>https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-3-encryption-and-authentication/</link>
				<pubDate>Thu, 31 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-3-encryption-and-authentication/</guid>
				<description>&lt;p&gt;This article is Part 3 in a series of three (3) articles about how Virtual Private Networks (VPNs) work. While I get into some technical details, the intent is to scratch the surface just enough to convey the most important security and privacy concepts about each subject.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-1-overview/&#34;&gt;Part 1&lt;/a&gt; of this series, &lt;em&gt;How VPNs Work&lt;/em&gt; outlines VPN functionality at a high level. &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-2-protocols/&#34;&gt;Part 2 (Protocols)&lt;/a&gt; in this series examines VPN protocols and VPN server compatibility. And this article (Part 3) explores security and encryption risks in VPNs, such as encryption ciphers and Forward Secrecy.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Split VPNs</title>
				<link>https://datahacker.blog/reference/networking/vpn/split-vpns/</link>
				<pubDate>Thu, 24 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/split-vpns/</guid>
				<description>&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-1&#34;&gt;Split VPN Gateway&lt;/h3&gt;&#xA;&lt;p&gt;A &lt;em&gt;split gateway&lt;/em&gt; divides outgoing network traffic between two or more gateways. This is most common with traffic traveling from a private network out to the public Internet, and is particularly likely to be deployed when some or all outbound traffic traverses a Virtual Private Network (VPN) interface. A &amp;ldquo;split VPN&amp;rdquo; is simply a split gateway where one of the outbound gateways points to a VPN server via a virtual interface. The network traffic is &amp;ldquo;split&amp;rdquo; between the two interfaces such that some traffic is protected by the VPN, and less sensitive traffic is sent out of the normal internet connection. This combination of a &lt;em&gt;split gateway coupled with a VPN&lt;/em&gt;, is often referred to as a &lt;em&gt;split VPN&lt;/em&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>VPN (Virtual Private Network) F.A.Q.</title>
				<link>https://datahacker.blog/reference/networking/vpn/vpn-faq/</link>
				<pubDate>Thu, 24 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/vpn-faq/</guid>
				<description>&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-1&#34;&gt;What Does VPN Mean?&lt;/h3&gt;&#xA;&lt;p&gt;&lt;em&gt;VPN&lt;/em&gt; is an abbreviation for &lt;em&gt;Virtual Private Network&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-2&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-2&#34;&gt;What Is a Virtual Private Network (VPN)?&lt;/h3&gt;&#xA;&lt;p&gt;A VPN provides private-network connectivity over shared infrastructure. It can connect a remote device to a network, join sites, or support other topologies; it is not limited to one pair of hosts. &lt;a href=&#34;https://www.rfc-editor.org/rfc/rfc4026.html#section-3.10&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;RFC 4026&lt;/a&gt; describes the broader terminology.&lt;/p&gt;&#xA;&lt;p&gt;Encryption is a property of the chosen design, not something the word VPN guarantees. For example, &lt;a href=&#34;https://www.rfc-editor.org/rfc/rfc4364.html#section-1.6&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;BGP/MPLS VPN separation&lt;/a&gt; does not itself encrypt customer data. The consumer Internet-access services discussed below normally use an encrypted tunnel between the user&amp;rsquo;s device and the service&amp;rsquo;s gateway.&lt;/p&gt;</description>
			</item>
			<item>
				<title>What Is IPsec?</title>
				<link>https://datahacker.blog/reference/networking/vpn/what-is-ipsec/</link>
				<pubDate>Thu, 24 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/what-is-ipsec/</guid>
				<description>&lt;p&gt;This document is a comprehensive, high-level overview of what IPsec is and how it works.&lt;/p&gt;&#xA;&lt;p&gt;IPsec is a flexible network security framework that may be applied to a number of different use case scenarios. In spite of its ubiquity, IPsec has got to be one of the most confusing standards in IT Security.&lt;/p&gt;&#xA;&lt;p&gt;IPsec is confusing because it is defined by a large group of intertwined standards, protocols, and frameworks. No single document explains IPsec down to every detail. There are literally hundreds of documents that describe portions of IPsec processes and functions (though the vast majority of them are outdated). The purpose of this document is to distill down &lt;em&gt;relevant&lt;/em&gt; IPsec specifications into a simple overview, eloquently capturing the essence and most salient points of what IPsec is and how it works.&lt;/p&gt;</description>
			</item>
			<item>
				<title>OpenVPN and OpenSSL: Partners in Security</title>
				<link>https://datahacker.blog/reference/networking/vpn/openvpn-and-openssl-partners-in-security/</link>
				<pubDate>Fri, 18 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/openvpn-and-openssl-partners-in-security/</guid>
				<description>&lt;p&gt;OpenVPN depends on cryptographic libraries for functions such as TLS, certificate verification and data encryption. This article explains why that dependency matters and how to distinguish the application version, the library it actually uses and a distributor’s package revision.&lt;/p&gt;&#xA;&lt;p&gt;The original article was written in 2019. Its “current” release lists and CVE totals were a historical snapshot, not a reliable guide to today’s support or a tested compatibility matrix. The corrected discussion keeps that history separate from current selection criteria.&lt;/p&gt;</description>
			</item>
			<item>
				<title>5 Ways to Install OpenVPN on Ubuntu 14.04, 16.04, 18.04</title>
				<link>https://datahacker.blog/tutorials/networking/vpn/5-ways-install-openvpn-ubuntu-14-16-18/</link>
				<pubDate>Tue, 15 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/vpn/5-ways-install-openvpn-ubuntu-14-16-18/</guid>
				<description>&lt;p&gt;This guide records installation approaches originally discussed for Ubuntu 14.04, 16.04 and 18.04. Those releases are outside standard maintenance; any remaining security coverage depends on the release, package and applicable extended-support entitlement. Check &lt;a href=&#34;https://ubuntu.com/about/release-cycle&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;Ubuntu’s release lifecycle&lt;/a&gt; before using a historical system.&lt;/p&gt;&#xA;&lt;p&gt;The examples below have been corrected against documentation. They have not been rerun as Ubuntu installations during this review. The 2.4.7 source examples are explicitly historical, not a recommendation to deploy that old release.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Do You Really Need (or Want) a VPN?</title>
				<link>https://datahacker.blog/research/networking/vpn/do-you-really-need-or-want-a-vpn/</link>
				<pubDate>Fri, 11 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/research/networking/vpn/do-you-really-need-or-want-a-vpn/</guid>
				<description>&lt;p&gt;Contemplating signing up for a Virtual Private Network (VPN)? Why? The truth is most people don&amp;rsquo;t need them, most of the time. Here&amp;rsquo;s how to determine if it truly makes sense for you.&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;This article will assist you with cutting through the vast amount of VPN marketing B.S. found on the Internet.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;p&gt;This is a platform agnostic guide to helping consumers make a realistic assessment of their interest and suitability of using a Virtual Private Network (VPN) to access the Internet. Subjects include:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Combining a VPN and Smart DNS</title>
				<link>https://datahacker.blog/tutorials/networking/vpn/vpn-and-smart-dns/</link>
				<pubDate>Thu, 10 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/vpn/vpn-and-smart-dns/</guid>
				<description>&lt;p&gt;Thinking of combining a Virtual Private Network (VPN) service with a Smart DNS service? Before running both on the same device, work out which DNS queries and application connections each service will handle. I personally favor privacy over convenience, but choosing separate providers does not make correlation impossible. Accounts, query contents, timing and traffic paths can still link activity. &lt;a href=&#34;https://www.rfc-editor.org/rfc/rfc9076.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;DNS privacy considerations&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-tip&#34; aria-label=&#34;Tip&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Tip&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;Before we begin, if you are searching for information on Smart DNS solutions only, see &lt;a href=&#34;https://datahacker.blog/reference/networking/dns-dedicated-dynamic-smart/#what-is-smart&#34;&gt;DNS Alphabet Soup: Dedicated, Dynamic, Smart&lt;/a&gt;.&lt;br&gt;&#xA;If you are contemplating a VPN solution only, see &lt;a href=&#34;https://datahacker.blog/research/networking/vpn/do-you-really-need-or-want-a-vpn/&#34;&gt;Do You Really Need (or Want) a VPN?&lt;/a&gt;&lt;br&gt;&#xA;If you don&amp;rsquo;t know what you need, see &lt;a href=&#34;https://datahacker.blog/tutorials/security-privacy/privacy/mitigating-risk-combining-privacy-services/&#34;&gt;Mitigating Risk: Combining Privacy Services&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;</description>
			</item>
			<item>
				<title>DNS Alphabet Soup: Dedicated, Dynamic, Smart</title>
				<link>https://datahacker.blog/reference/networking/dns-dedicated-dynamic-smart/</link>
				<pubDate>Thu, 10 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/dns-dedicated-dynamic-smart/</guid>
				<description>&lt;p&gt;Dedicated DNS. Dynamic DNS. Smart DNS. What the heck are these things???&lt;/p&gt;&#xA;&lt;p&gt;Many consumers get confused between these very distinct services. It&amp;rsquo;s not their fault. I blame the marketing messages of the companies peddling each particular type of product, which are often confusing and don&amp;rsquo;t tell the consumer the whole story one way or another. In this article, I break down their differences and the problem(s) each solves.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve also written a related article on the pros and cons of combining various privacy services, such as DNS services and VPNs. You&amp;rsquo;ll find that discussion here: &lt;a href=&#34;https://datahacker.blog/tutorials/security-privacy/privacy/mitigating-risk-combining-privacy-services/&#34;&gt;Mitigating Risk: Combining Privacy Services&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>OpenVPN Version List and Changelog</title>
				<link>https://datahacker.blog/reference/networking/vpn/openvpn-version-list-and-changelog/</link>
				<pubDate>Tue, 01 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/openvpn-version-list-and-changelog/</guid>
				<description>&lt;p&gt;This is a historical guide to selected OpenVPN releases discussed in the original article, which stopped at 2.4.8. It is not a complete current release list. The old cipher matrix mixed encryption, authentication, hashes, TLS versions and library requirements; those are separate properties and cannot be represented by one “best cipher” per OpenVPN version.&lt;/p&gt;&#xA;&lt;p&gt;The original matrix and its dates remain available in the preserved original version. The corrected comparison below identifies documented changes without presenting those obsolete releases as current installation choices.&lt;/p&gt;</description>
			</item>
			<item>
				<title>The Great Global VPN Swindle</title>
				<link>https://datahacker.blog/blog/2019/great-vpn-scam/</link>
				<pubDate>Mon, 23 Sep 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/blog/2019/great-vpn-scam/</guid>
				<description>&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;Historical review: provider lists, prices, features, screenshots, reviewer assessments and recommendations below describe the original 2019–2020 research. They have not been re-tested as current buying advice. Technical corrections are dated November 23, 2026; the pre-review version remains available.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;p&gt;Although I&amp;rsquo;m a big proponent of VPNs, the industry has become littered with mis-information and outright shams, creating a mixed environment when it comes to advertised claims of privacy protection.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Who Watches the (VPN) Watchers?</title>
				<link>https://datahacker.blog/blog/2019/who-watches-the-watchers/</link>
				<pubDate>Wed, 04 Sep 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/blog/2019/who-watches-the-watchers/</guid>
				<description>&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;Historical review: provider lists, prices, features, screenshots, reviewer assessments and recommendations below describe the original 2019–2020 research. They have not been re-tested as current buying advice. Technical corrections are dated November 23, 2026; the pre-review version remains available.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;p&gt;How does someone who is not a VPN subject-matter expert choose a VPN provider? Often by reading reviews of various service providers. Yet, how can one tell the difference between a real review and a thinly veiled sham designed to funnel new customers to specific providers? At a glance, it&amp;rsquo;s often difficult to distinguish the real gold from the pyrite websites (a.k.a., &amp;ldquo;Fool&amp;rsquo;s gold&amp;rdquo;).&lt;/p&gt;</description>
			</item>
			<item>
				<title>Reviewing the VPN Reviewers</title>
				<link>https://datahacker.blog/research/networking/vpn/reviewing-vpn-reviewers/</link>
				<pubDate>Tue, 03 Sep 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/research/networking/vpn/reviewing-vpn-reviewers/</guid>
				<description>&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;Historical review: provider lists, prices, features, screenshots, reviewer assessments and recommendations below describe the original 2019–2020 research. They have not been re-tested as current buying advice. Technical corrections are dated November 23, 2026; the pre-review version remains available.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;Scoring correction: the displayed criteria total 8 for BestVPN.org and 8 for VPNpro; both remain grade C. All sixteen rows have been recalculated.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;p&gt;Which VPN service providers are worthy of your time and which should you avoid like The Plague?&lt;/p&gt;</description>
			</item>
			<item>
				<title>Who Is the IETF and Why Should I Care?</title>
				<link>https://datahacker.blog/blog/2019/who-is-the-ietf/</link>
				<pubDate>Sun, 01 Sep 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/blog/2019/who-is-the-ietf/</guid>
				<description>&lt;p&gt;Is that another term for the illuminati?&lt;/p&gt;&#xA;&lt;p&gt;It&amp;rsquo;s one of the most influential technical communities you&amp;rsquo;ve probably never heard of and writes lots of documents most people never read, such as &lt;a href=&#34;https://www.ietf.org/standards/rfcs/&#34;&gt;RFCs&lt;/a&gt;. We have it to thank for Internet protocols, rather than CAT-5/CAT-6 cabling or Wi-Fi standards: structured cabling is covered by standards such as &lt;a href=&#34;https://tiaonline.org/standard/tia-568/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;TIA-568&lt;/a&gt;, while &lt;a href=&#34;https://www.ieee802.org/11/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;IEEE 802.11&lt;/a&gt; develops wireless LAN standards.&lt;/p&gt;</description>
			</item>
			<item>
				<title>What Is a VPN?</title>
				<link>https://datahacker.blog/reference/networking/vpn/what-is-a-vpn/</link>
				<pubDate>Sat, 31 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/what-is-a-vpn/</guid>
				<description>&lt;p&gt;Ah, VPNs. These days it seems as if many people are using them. Unfortunately, most of those folks don&amp;rsquo;t really understand what they are doing and I suspect many of them don&amp;rsquo;t really need a VPN. If you are going to use one, like any tool, you ought to understand a little bit about its purpose and how it works. What do VPNs do well? What are they not so good at?&lt;/p&gt;</description>
			</item>
			<item>
				<title>Is Your VPN Helping or Hurting You?</title>
				<link>https://datahacker.blog/blog/2019/is-your-vpn-helping-or-hurting-you/</link>
				<pubDate>Thu, 29 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/blog/2019/is-your-vpn-helping-or-hurting-you/</guid>
				<description>&lt;p&gt;If you could sum up the purpose of a Virtual Private Network (VPN) in one word, what would it be? My choice: Integrity.&lt;/p&gt;&#xA;&lt;p&gt;Of course, I&amp;rsquo;m talking about &lt;em&gt;data integrity&lt;/em&gt;: detecting unauthorized changes to data. Confidentiality, which protects the contents from disclosure, and authentication, which establishes the relevant identity or origin, are related but distinct properties.&lt;/p&gt;&#xA;&lt;p&gt;But what about the integrity &lt;em&gt;of the VPN service itself&lt;/em&gt;? Protocol standards exist: &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc4301&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;IPsec&lt;/a&gt; and &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc7296&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;IKEv2&lt;/a&gt; are examples. Implementing a standard does not by itself verify a provider&amp;rsquo;s logging claims, client software, operations, or suitability for your needs. A certification or audit should be evaluated for its actual scope; it is not a universal guarantee of provider quality.&lt;/p&gt;</description>
			</item>
			<item>
				<title>How VPNs Work - Part 1: Overview</title>
				<link>https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-1-overview/</link>
				<pubDate>Wed, 28 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-1-overview/</guid>
				<description>&lt;p&gt;This article is Part 1 in a 3-part series on how Virtual Private Networks (VPNs) work. Part 1 delves into the nuances of VPNs at a high-level, scratching the surface on the inner workings of VPN services. &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-2-protocols/&#34;&gt;Part 2 (VPN Protocols)&lt;/a&gt; dives deeper into VPN protocols (platforms) and their differences, and &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-3-encryption-and-authentication/&#34;&gt;part 3 (VPN Encryption and Authentication)&lt;/a&gt; goes a bit deeper into encryption and cryptography, and how security concerns may influence your choice in VPN protocols and/or services.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Chart: iptables Command Matrix</title>
				<link>https://datahacker.blog/reference/networking/firewalls/chart-iptables-command-matrix/</link>
				<pubDate>Tue, 27 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/chart-iptables-command-matrix/</guid>
				<description>&lt;p&gt;This matrix summarizes common IPv4 iptables matches and targets. Each syntax cell is a &lt;strong&gt;rule fragment&lt;/strong&gt;, not a complete command. Add the table, chain operation, appropriate match restrictions, and target when assembling a rule.&lt;/p&gt;&#xA;&lt;p&gt;The placement column gives compatible table/chain pairs or explicit restrictions. Example placements are not an exhaustive list of every supported hook. Kernel, backend, and extension availability still apply. In particular, separate table and chain names cannot be freely combined: &lt;code&gt;filter/POSTROUTING&lt;/code&gt; does not exist.&lt;/p&gt;</description>
			</item>
			<item>
				<title>iptables Chains and Extensions</title>
				<link>https://datahacker.blog/reference/networking/firewalls/iptables-chains-and-extensions/</link>
				<pubDate>Sun, 25 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/iptables-chains-and-extensions/</guid>
				<description>&lt;p&gt;&lt;code&gt;iptables&lt;/code&gt; extensions add packet matches and target operations. A match tests a condition; a target performs an action after all the rule&amp;rsquo;s matches succeed. The kernel applies the installed rules to packets.&lt;/p&gt;&#xA;&lt;p&gt;Availability depends on the kernel, backend, and installed extensions. The tables below give valid example placements and important restrictions. A chain name alone is insufficient: for example, &lt;code&gt;POSTROUTING&lt;/code&gt; exists in &lt;code&gt;mangle&lt;/code&gt; and &lt;code&gt;nat&lt;/code&gt;, but not in &lt;code&gt;filter&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;This is a selection of common extensions. See &lt;a href=&#34;https://man7.org/linux/man-pages/man8/iptables-extensions.8.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;iptables-extensions(8)&lt;/a&gt; for the complete interface, and the &lt;a href=&#34;https://datahacker.blog/reference/networking/firewalls/iptables-commands/&#34;&gt;command reference&lt;/a&gt; for explanations.&lt;/p&gt;</description>
			</item>
			<item>
				<title>iptables Commands</title>
				<link>https://datahacker.blog/reference/networking/firewalls/iptables-commands/</link>
				<pubDate>Sun, 25 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/iptables-commands/</guid>
				<description>&lt;p&gt;The &lt;code&gt;iptables&lt;/code&gt; command manages IPv4 packet-filtering and NAT rules in the Linux kernel. A rule can match addresses, protocols, interfaces, connection state, and other attributes before selecting a target.&lt;/p&gt;&#xA;&lt;p&gt;This reference covers command structure, chain and rule operations, common match extensions, and targets. It uses the traditional iptables table and chain names. &lt;code&gt;iptables -V&lt;/code&gt; identifies whether the installed command uses the legacy or nftables backend; kernel configuration and installed extensions determine which features are available.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Netmask/Genmask Conversion Table</title>
				<link>https://datahacker.blog/reference/networking/routing/netmask-genmask-conversion-table/</link>
				<pubDate>Sun, 25 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/netmask-genmask-conversion-table/</guid>
				<description>&lt;p&gt;This chart converts IPv4 prefix lengths to dotted decimal, hexadecimal, inverse, and binary masks. It also separates the number of addresses in a prefix from the number commonly assigned to hosts.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-1&#34;&gt;Static Chart&lt;/h2&gt;&#xA;&lt;p&gt;An IPv4 prefix of length &lt;code&gt;p&lt;/code&gt; contains &lt;code&gt;2^(32-p)&lt;/code&gt; addresses. The inverse mask is the bitwise complement of the netmask.&lt;/p&gt;&#xA;&lt;p&gt;For a conventional subnet with distinct network and broadcast addresses, the familiar host-count calculation subtracts two. &lt;strong&gt;That calculation is not universal:&lt;/strong&gt; &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc3021&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;RFC 3021&lt;/a&gt; permits both addresses of a &lt;code&gt;/31&lt;/code&gt; on a point-to-point link. A &lt;code&gt;/32&lt;/code&gt; identifies one address, commonly used for a host route.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Follow the (ip) Rules</title>
				<link>https://datahacker.blog/reference/networking/firewalls/follow-the-ip-rules/</link>
				<pubDate>Sat, 24 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/follow-the-ip-rules/</guid>
				<description>&lt;p&gt;Hopefully, you have already read and/or understand these concepts:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/routing/policy-based-routing/&#34;&gt;Policy Based Routing&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/routing/iproute-and-routing-tables/&#34;&gt;iproute and Routing Tables&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/routers-routes-subnets-and-netmasks/&#34;&gt;Routers, Routes, Subnets, and Netmasks&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Now, it&amp;rsquo;s time to talk about &lt;em&gt;ip rules&lt;/em&gt;. The Routing Policy Database (RPDB) selects an action, often a lookup in a routing table. The usual IPv4 rules consult &lt;code&gt;local&lt;/code&gt;, &lt;code&gt;main&lt;/code&gt;, and &lt;code&gt;default&lt;/code&gt;. Those lookups choose routes; they do not grant firewall permission to all traffic.&lt;/p&gt;&#xA;&lt;p&gt;Routes and rules added at the command line affect the live kernel state. Save or reapply them through the system&amp;rsquo;s network configuration if they should survive reboot. Firewall-rule persistence is a separate concern; see &lt;a href=&#34;https://datahacker.blog/tutorials/networking/firewalls/persistence-making-iptables-changes-stick/&#34;&gt;Persistence: Making iptables Changes Stick&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Helpful Tips (iptables)</title>
				<link>https://datahacker.blog/reference/networking/firewalls/helpful-tips-iptables/</link>
				<pubDate>Sat, 24 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/helpful-tips-iptables/</guid>
				<description>&lt;p&gt;Here are a few helpful tips related to rule and route testing.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-1&#34;&gt;Changes Take Effect Without a Routine Cache Flush&lt;/h3&gt;&#xA;&lt;p&gt;Successful &lt;code&gt;ip route&lt;/code&gt;, &lt;code&gt;ip rule&lt;/code&gt;, and &lt;code&gt;iptables&lt;/code&gt; changes update the running kernel configuration. A cache flush does not reload those settings from disk. Linux removed the old IPv4 route cache in kernel 3.6; do not use &lt;code&gt;ip route flush cache&lt;/code&gt; as a routine activation step.&lt;/p&gt;&#xA;&lt;p&gt;Inspect the affected rules and routes, then test a new connection while keeping recovery access available. Existing connection-tracking or NAT state can make an established connection behave differently from a new one.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Persistence: Making iptables Changes Stick</title>
				<link>https://datahacker.blog/tutorials/networking/firewalls/persistence-making-iptables-changes-stick/</link>
				<pubDate>Sat, 24 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/firewalls/persistence-making-iptables-changes-stick/</guid>
				<description>&lt;p&gt;One of the challenges of &lt;em&gt;iptables&lt;/em&gt;, routes, and rules (&lt;em&gt;iprules&lt;/em&gt;) is making changes to them permanent. Any changes you make on-the-fly only last until the next system restart. However, there are several ways of making them persist through reboots.&lt;/p&gt;&#xA;&lt;p&gt;Choose one of the methods below to store your changes in user-manageable scripts that are run every time your server is restarted.&lt;/p&gt;&#xA;&lt;div id=&#34;section-1&#34;&gt;&lt;/div&gt;&#xA;&lt;div id=&#34;migration-heading-1&#34;&gt;&lt;/div&gt;&#xA;&lt;h2 id=&#34;method-1-systemd-start-up-process&#34;&gt;Method #1: &lt;em&gt;systemd&lt;/em&gt; Start-Up Process&lt;/h2&gt;&#xA;&lt;p&gt;This method uses two services: one to establish the firewall before normal network configuration, and another to apply routing policy after the interface and source address are ready. The demonstrated network manager is &lt;em&gt;NetworkManager&lt;/em&gt;, with a dependency that requires successful firewall startup. The original example was written on Ubuntu 16.04. This revised design still needs validation on the system where you intend to use it.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Testing Your iptables Rules</title>
				<link>https://datahacker.blog/tutorials/networking/firewalls/testing-your-rules-iptables/</link>
				<pubDate>Sat, 24 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/firewalls/testing-your-rules-iptables/</guid>
				<description>&lt;p&gt;It may not be obvious, but you need to test your rules—both routing rules (via &lt;code&gt;ip rule&lt;/code&gt;) and &lt;em&gt;iptables&lt;/em&gt; rules—before you cement them in place.&lt;/p&gt;&#xA;&lt;p&gt;One useful thing about testing rules before making them permanent is that changes made only to the running configuration do not normally survive a reboot. If you make a catastrophic screw-up, restarting the server may get you back to a working configuration—provided nothing saves or reloads those changes at startup.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Linux Firewall Management Tools Overview</title>
				<link>https://datahacker.blog/reference/networking/linux-netfilter-tools/</link>
				<pubDate>Fri, 23 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/linux-netfilter-tools/</guid>
				<description>&lt;p&gt;Linux provides several tools for different parts of packet handling. &lt;code&gt;route&lt;/code&gt; belongs to the older net-tools package; &lt;code&gt;ip route&lt;/code&gt; and &lt;code&gt;ip rule&lt;/code&gt; belong to iproute2. They configure kernel routing state rather than carrying packets themselves. For policy routing and multiple tables, use &lt;code&gt;ip route&lt;/code&gt; and &lt;code&gt;ip rule&lt;/code&gt;. The older &lt;code&gt;route&lt;/code&gt; display can still be useful when reading a historical example.&lt;/p&gt;&#xA;&lt;p&gt;A route describes how to reach a destination. Policy rules determine which routing table to consult, or return an action such as &lt;code&gt;prohibit&lt;/code&gt;. Netfilter is the kernel framework used for packet filtering, connection tracking, and NAT. &lt;code&gt;iptables&lt;/code&gt; and &lt;code&gt;nft&lt;/code&gt; configure firewall rules within that framework. These tools complement one another; choosing a route does not by itself grant permission to forward traffic.&lt;/p&gt;</description>
			</item>
			<item>
				<title>iptables Protocols</title>
				<link>https://datahacker.blog/reference/networking/firewalls/iptables-protocols/</link>
				<pubDate>Tue, 20 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/iptables-protocols/</guid>
				<description>&lt;p&gt;The &lt;code&gt;-p&lt;/code&gt; or &lt;code&gt;--protocol&lt;/code&gt; option selects an IP protocol. TCP and UDP provide transport-layer source and destination ports; protocols such as ICMP use different fields and do not have TCP/UDP port numbers.&lt;/p&gt;&#xA;&lt;p&gt;Protocol-specific matches can be combined with other matches in one rule. Each condition must succeed. The examples below are rule fragments, not complete commands: the table, chain operation, other restrictions, and target belong to the surrounding rule.&lt;/p&gt;&#xA;&lt;p&gt;Ordinary &lt;code&gt;--sport&lt;/code&gt;/&lt;code&gt;--dport&lt;/code&gt; options accept one port or one colon-separated range. A comma-separated list requires &lt;code&gt;-m multiport&lt;/code&gt;; its list has at most 15 slots, with a range counting as two. That limit belongs to &lt;code&gt;multiport&lt;/code&gt;, not to the number of ports covered by an ordinary range. These forms follow &lt;a href=&#34;https://man7.org/linux/man-pages/man8/iptables-extensions.8.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;the extension manual&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>iptables Process Flow: Chains, Tables, and Rules</title>
				<link>https://datahacker.blog/reference/networking/firewalls/iptables-process-flow-chains-tables-and-rules/</link>
				<pubDate>Mon, 19 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/iptables-process-flow-chains-tables-and-rules/</guid>
				<description>&lt;p&gt;The terms &lt;em&gt;table&lt;/em&gt;, &lt;em&gt;chain&lt;/em&gt;, and &lt;em&gt;hook&lt;/em&gt; describe different parts of packet filtering. A table contains chains, and each chain contains an ordered list of rules. Netfilter hooks are points in the kernel&amp;rsquo;s packet path. Built-in iptables chains are attached to those hooks; for example, &lt;code&gt;mangle/OUTPUT&lt;/code&gt; and &lt;code&gt;filter/OUTPUT&lt;/code&gt; are separate chains in separate tables at the OUTPUT hook.&lt;/p&gt;&#xA;&lt;p&gt;When no &lt;code&gt;-t&lt;/code&gt; option is supplied, iptables uses the &lt;code&gt;filter&lt;/code&gt; table. Specify the table and chain explicitly when their distinction matters. A rule in &lt;code&gt;filter/INPUT&lt;/code&gt; will not inspect ordinary forwarded traffic, which uses FORWARD instead. The available built-in chains differ by table; packets do not traverse all five tables and all five hooks.&lt;/p&gt;</description>
			</item>
			<item>
				<title>iptables and ipchains</title>
				<link>https://datahacker.blog/reference/networking/firewalls/iptables-and-ipchains/</link>
				<pubDate>Sat, 17 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/iptables-and-ipchains/</guid>
				<description>&lt;p&gt;The &lt;a href=&#34;https://datahacker.blog/reference/networking/linux-netfilter-tools/#packet_routing_tree&#34;&gt;networking overview&lt;/a&gt; shows how routing decisions and Netfilter hooks fit into the packet path. &lt;code&gt;iptables&lt;/code&gt; is a userspace tool for configuring IPv4 filtering and related kernel rules. It is not the routing engine and is not specific to Ubuntu.&lt;/p&gt;&#xA;&lt;p&gt;Check the installed version and backend before following a historical example:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;iptables --version&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Modern installations may use iptables syntax through the nftables compatibility backend. The &lt;a href=&#34;https://man7.org/linux/man-pages/man8/xtables-nft.8.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;xtables-nft manual&lt;/a&gt; explains that distinction. The examples below use iptables syntax; table and extension availability depends on the installed tools and kernel.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Bibliography (Networking Articles)</title>
				<link>https://datahacker.blog/reference/networking/bibliography-linux-networking/</link>
				<pubDate>Wed, 14 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/bibliography-linux-networking/</guid>
				<description>&lt;p&gt;These references preserve the sources recorded for the historical networking articles. Dates and editions remain as originally cited. An archive link identifies a preserved copy; it does not establish that the copy is the exact revision consulted on the date shown.&lt;/p&gt;&#xA;&lt;p&gt;Andreasson, Oskar. &lt;em&gt;Iptables Tutorial 1.2.1&lt;/em&gt;. Chapter 6: Traversing of tables and chains. &lt;a href=&#34;https://www.frozentux.net/iptables-tutorial/chunkyhtml/c962.html&#34;&gt;https://www.frozentux.net/iptables-tutorial/chunkyhtml/c962.html&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Andreasson, Oskar. 2006. &lt;em&gt;Iptables Tutorial 1.2.2. &lt;/em&gt;&lt;a href=&#34;http://homes.di.unimi.it/sisop/qemu/iptables-tutorial.pdf&#34;&gt;http://homes.di.unimi.it/sisop/qemu/iptables-tutorial.pdf&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Anicas, Mitchell. 14 August 2015. &lt;em&gt;How To List and Delete Iptables Firewall Rules&lt;/em&gt;. &lt;em&gt;Digital Ocean&lt;/em&gt;, &lt;a href=&#34;https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules&#34;&gt;https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Linux Network Routing Best Practices</title>
				<link>https://datahacker.blog/tutorials/networking/routing/linux-network-routing-best-practices/</link>
				<pubDate>Wed, 14 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/routing/linux-network-routing-best-practices/</guid>
				<description>&lt;p&gt;Here are some brief concepts to keep in mind when adding new routes and routing tables.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-1&#34;&gt;Routing Table Names and IDs&lt;/h3&gt;&#xA;&lt;p&gt;The &lt;code&gt;rt_tables&lt;/code&gt; file assigns names to numeric table IDs; it does not contain routes or determine lookup order. Keep these conventions in mind:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use unambiguous names and IDs that do not conflict with existing configuration.&lt;/li&gt;&#xA;&lt;li&gt;Keep the built-in mappings intact: local is 255, main is 254, and default is 253.&lt;/li&gt;&#xA;&lt;li&gt;IDs between 100 and 200 are a possible local convention, not a kernel requirement.&lt;/li&gt;&#xA;&lt;li&gt;Gaps between table IDs are optional. Rule priorities, not table IDs, control lookup order.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://man7.org/linux/man-pages/man8/ip-route.8.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;ip-route manual&lt;/a&gt; describes table IDs and reserved values; &lt;a href=&#34;https://man7.org/linux/man-pages/man8/ip-rule.8.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;ip-rule&lt;/a&gt; describes policy order.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Split Gateway Tutorial</title>
				<link>https://datahacker.blog/tutorials/networking/routing/split-gateway-tutorial/</link>
				<pubDate>Wed, 14 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/routing/split-gateway-tutorial/</guid>
				<description>&lt;p&gt;Thinking of creating split routes or split gateways? This article introduces the building blocks of directing different traffic through different gateways, using a simple VPN and direct Internet connection as the intended example.&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-important&#34; aria-label=&#34;Important&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Important&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;&lt;strong&gt;Recovery Guidance&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Changing routes or gateways can disconnect you from your server, even if you&amp;rsquo;re connected through another machine on the same LAN. Before you begin, make sure you have a way to recover that doesn&amp;rsquo;t depend on the network configuration you&amp;rsquo;re changing. That could be a local console, your hosting provider&amp;rsquo;s console, or a separate management connection.&lt;/p&gt;&#xA;&lt;p&gt;Keep a copy of the working configuration and confirm how you would restore it through that independent access. Test the recovery connection before making changes.&lt;/p&gt;&#xA;&lt;p&gt;A reboot may undo changes made only to the running configuration, provided nothing saves or reapplies them at startup. Once you&amp;rsquo;ve made the changes persistent, rebooting can bring the same problem right back. Don&amp;rsquo;t rely on a restart unless you know the startup configuration will restore working connectivity.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;</description>
			</item>
			<item>
				<title>Useful Linux Networking Resources</title>
				<link>https://datahacker.blog/reference/networking/useful-resources/</link>
				<pubDate>Wed, 14 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/useful-resources/</guid>
				<description>&lt;p&gt;A collection of excellent online resources from other authors, in no particular order.&lt;/p&gt;&#xA;&lt;p&gt;The linked resources are maintained by their respective publishers. The subnet-calculator screenshot below is historical.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-1&#34;&gt;Network Layers Explained with Examples&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.plixer.com/blog/network-layers-explained/&#34;&gt;The Network Layers Explained (with examples)&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-2&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-2&#34;&gt;iproute2 Utility and IPUP and IPDOWN&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.policyrouting.org/iproute2.doc.html#ss9.9&#34;&gt;&lt;a href=&#34;http://www.policyrouting.org/iproute2.doc.html#ss9.9&#34;&gt;http://www.policyrouting.org/iproute2.doc.html#ss9.9&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-3&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-3&#34;&gt;iproute2 Utility FAQ&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://wiki.linuxfoundation.org/networking/iproute2&#34;&gt;&lt;a href=&#34;https://wiki.linuxfoundation.org/networking/iproute2&#34;&gt;https://wiki.linuxfoundation.org/networking/iproute2&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-4&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-4&#34;&gt;IPv4 Subnet Calculator&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.iplocation.net/subnet-calculator&#34;&gt;&lt;a href=&#34;https://www.iplocation.net/subnet-calculator&#34;&gt;https://www.iplocation.net/subnet-calculator&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is the bomb. I love the detailed output. Choose whatever info you need. Screenshot below.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Linux Networking F.A.Q.</title>
				<link>https://datahacker.blog/reference/networking/linux-networking-faq/</link>
				<pubDate>Sun, 11 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/linux-networking-faq/</guid>
				<description>&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-1&#34;&gt;What Is the Purpose of Routing Tables?&lt;/h3&gt;&#xA;&lt;p&gt;Routing tables inform the Linux kernel where to find destinations on a network. They describe information such as which network interface to send a packet on, and whether the destination is local (on a local network) or remote.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-2&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-2&#34;&gt;How Do You Define a &amp;ldquo;Default&amp;rdquo; Gateway?&lt;/h3&gt;&#xA;&lt;p&gt;For IPv4, a default route has destination prefix &lt;code&gt;0.0.0.0/0&lt;/code&gt;. It can name a next-hop gateway, or use an interface directly where that is appropriate, such as a point-to-point link. A default route and a default gateway are not quite the same thing.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Gateways</title>
				<link>https://datahacker.blog/reference/networking/routing/gateways/</link>
				<pubDate>Thu, 08 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/gateways/</guid>
				<description>&lt;p&gt;In an IP route, a &lt;em&gt;gateway&lt;/em&gt; is a next-hop router used to reach destinations beyond the directly reachable link. That link can be physical or virtual. This article explains how to recognize gateway routes and distinguish them from local delivery.&lt;/p&gt;&#xA;&lt;p&gt;Analyzing the output of network route inspection tools such as &lt;strong&gt;ip route&lt;/strong&gt;, &lt;strong&gt;route&lt;/strong&gt;, and &lt;strong&gt;netstat&lt;/strong&gt; will allow you to identify network gateways. The details of how to use those tools are discussed in several other articles on this website, including:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Breaking Down IPv4 Address Headers</title>
				<link>https://datahacker.blog/reference/networking/breaking-down-ipv4-address-headers/</link>
				<pubDate>Mon, 05 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/breaking-down-ipv4-address-headers/</guid>
				<description>&lt;p&gt;Every IP packet includes metadata that describes the data payload it is carrying to its destination. This metadata information has evolved over time as the Internet has matured. This article explains the contents and purpose of metadata found in IPv4 headers - the portion of an IP packet that precedes the data payload.&lt;/p&gt;&#xA;&lt;p&gt;An IPv4 packet begins with a header that describes the packet: where it is going, where it came from, and how it should be handled. The basic header is 20 bytes; options and padding can extend it to 60 bytes.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Routing Prefixes</title>
				<link>https://datahacker.blog/reference/networking/routing/routing-prefixes/</link>
				<pubDate>Mon, 05 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/routing-prefixes/</guid>
				<description>&lt;p&gt;Additional, related information may be found in the following articles:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/routers-routes-subnets-and-netmasks/&#34;&gt;Routers, Routes, Subnets, and Netmasks&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/brief-history-of-linux-networking/&#34;&gt;A Brief History of Linux Networking&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/routing/iproute-and-routing-tables/&#34;&gt;iproute and Routing Tables&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/routing/route-and-netstat/&#34;&gt;route and netstat&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;Familiarity with Linux network routing principles is recommended, including &lt;strong&gt;route&lt;/strong&gt; and &lt;strong&gt;iproute2&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;p&gt;&lt;span id=&#34;routing_prefix&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-1&#34;&gt;Routing Prefixes&lt;/h2&gt;&#xA;&lt;p&gt;An IPv4 routing prefix describes a destination range using a network address and a length from 0 to 32 bits. &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc3222&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;RFC 3222&lt;/a&gt; discusses the terminology.[&lt;a href=&#34;#end1&#34;&gt;1&lt;/a&gt;]&lt;/p&gt;</description>
			</item>
			<item>
				<title>Routers, Routes, Subnets, and Netmasks</title>
				<link>https://datahacker.blog/reference/networking/routers-routes-subnets-and-netmasks/</link>
				<pubDate>Tue, 30 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routers-routes-subnets-and-netmasks/</guid>
				<description>&lt;p&gt;A critical component of managing routes is understanding &lt;em&gt;netmasks&lt;/em&gt;. Hosts as well as routers use address prefixes to describe local networks and route destinations. For IPv4, a contiguous netmask identifies the network bits, leaving the remaining bits to vary within that subnet.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-1&#34;&gt;Routers and Routes&lt;/h2&gt;&#xA;&lt;p&gt;Network &lt;em&gt;routers&lt;/em&gt; forward IP packets between networks. Their routing information can come from interface configuration, static routes, or routing protocols. An administrator defines the intended topology and policy; dynamic discovery does not remove that responsibility.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Introduction to Split Gateways</title>
				<link>https://datahacker.blog/reference/networking/routing/introduction-to-split-gateways/</link>
				<pubDate>Sat, 20 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/introduction-to-split-gateways/</guid>
				<description>&lt;p&gt;Having explained &lt;a href=&#34;https://datahacker.blog/reference/networking/routing/gateways/&#34;&gt;gateway routes&lt;/a&gt;, this article examines what the series calls a &lt;em&gt;split gateway&lt;/em&gt;: routes or policies that send selected traffic through different paths.&lt;/p&gt;&#xA;&lt;p&gt;It focuses on reading the configuration and reasoning about route selection. The &lt;a href=&#34;https://datahacker.blog/tutorials/networking/routing/split-gateway-tutorial/&#34;&gt;Split Gateway Tutorial&lt;/a&gt; covers configuration examples. “Split gateway” here is descriptive terminology, not a special Linux route type or a way to bypass routing validation.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-1&#34;&gt;Gateway or Route?&lt;/h2&gt;&#xA;&lt;p&gt;A route is a table entry describing a destination prefix and how matching traffic should be handled. It can lead directly through an interface or via a next-hop router. A host route describes one address; it is not restricted to a physically attached host.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Netmask Filtering Deep Dive</title>
				<link>https://datahacker.blog/reference/networking/netmask-filtering-deep-dive/</link>
				<pubDate>Sat, 20 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/netmask-filtering-deep-dive/</guid>
				<description>&lt;p&gt;What is a &lt;em&gt;Netmask&lt;/em&gt; (or &lt;em&gt;Genmask&lt;/em&gt;)? And why is understanding it so important when it comes to network routing?&lt;/p&gt;&#xA;&lt;p&gt;A &lt;em&gt;netmask&lt;/em&gt; identifies the network bits of an IPv4 address. &lt;code&gt;Genmask&lt;/code&gt; is the label used for that mask in the legacy &lt;a href=&#34;https://man7.org/linux/man-pages/man8/route.8.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;route(8)&lt;/a&gt; display. The two terms refer to the same mask here.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-1&#34;&gt;Table of Contents&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#routers-and-routes&#34;&gt;Routers and Routes&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#slash-notation&#34;&gt;Slash Notation&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#valid-values&#34;&gt;Valid Netmask Values&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#wildcard_mask&#34;&gt;The Wildcard Mask&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#how-masks-work&#34;&gt;How Masks Work&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#bitwise&#34;&gt;Bitwise Functions&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#examples&#34;&gt;Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;span id=&#34;routers-and-routes&#34;&gt;&lt;/span&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>route and netstat</title>
				<link>https://datahacker.blog/reference/networking/routing/route-and-netstat/</link>
				<pubDate>Sat, 20 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/route-and-netstat/</guid>
				<description>&lt;p&gt;This section describes the use of alternative tools to the &lt;em&gt;iproute2&lt;/em&gt; suite for viewing the status of a network. They may be old, but &lt;strong&gt;route&lt;/strong&gt; and &lt;strong&gt;netstat&lt;/strong&gt; can still be useful when troubleshooting IPv4 routing tables.&lt;/p&gt;&#xA;&lt;p&gt;The examples below use one illustrative IPv4 topology throughout: &lt;code&gt;eth0&lt;/code&gt; has address &lt;code&gt;192.168.10.10/24&lt;/code&gt;, and its next-hop router is &lt;code&gt;192.168.10.6&lt;/code&gt;. They are explanatory output, not a capture from the reader&amp;rsquo;s host. These legacy tools show only part of modern Linux routing state; use &lt;code&gt;ip route&lt;/code&gt; and &lt;code&gt;ip rule&lt;/code&gt; for policy routing.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Special Routing Use-Case Scenarios (iproute2)</title>
				<link>https://datahacker.blog/tutorials/networking/routing/special-routing-use-cases-iproute2/</link>
				<pubDate>Sat, 20 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/routing/special-routing-use-cases-iproute2/</guid>
				<description>&lt;p&gt;Linux routes can select a path, return a terminal error, or supply a preferred source address for locally generated traffic. These functions are different from firewall filtering and Network Address Translation (NAT).&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-1&#34;&gt;Dropping Packets&lt;/h2&gt;&#xA;&lt;p&gt;A route can reject or discard traffic without specifying an output device. This affects packets whose policy lookup selects that route; an earlier matching policy rule or a more specific route can change the result.&lt;/p&gt;</description>
			</item>
			<item>
				<title>iproute and Routing Tables</title>
				<link>https://datahacker.blog/reference/networking/routing/iproute-and-routing-tables/</link>
				<pubDate>Fri, 19 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/iproute-and-routing-tables/</guid>
				<description>&lt;p&gt;Routes describe how the kernel reaches destinations. Policy rules decide which routing tables to consult. Together they provide Linux policy routing; iptables is a separate packet-filtering interface, not a third component of the RPDB.&lt;/p&gt;&#xA;&lt;h2 id=&#34;section-1&#34;&gt;Routes&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;ip route&lt;/code&gt; belongs to iproute2 and manages kernel routing tables. The older &lt;code&gt;route&lt;/code&gt; command belongs to net-tools. It can still help when reading historical output, but it does not provide iproute2&amp;rsquo;s policy-table controls.&lt;/p&gt;&#xA;&lt;p&gt;Use &lt;code&gt;ip -4 route show table all&lt;/code&gt; to inspect all IPv4 tables, or name one table explicitly. Modern Linux table identifiers are 32-bit values, not a limit of 256 tables. The reserved identifiers and optional names are explained below.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Policy Based Routing</title>
				<link>https://datahacker.blog/reference/networking/routing/policy-based-routing/</link>
				<pubDate>Fri, 19 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/policy-based-routing/</guid>
				<description>&lt;p&gt;A routing table describes paths to network destinations. Linux can use several tables, with a Routing Policy Database (RPDB) deciding which table to consult. The policies are expressed as rules; the tables hold the routes.&lt;/p&gt;&#xA;&lt;p&gt;The RPDB provides a way to choose among several routing tables based on traffic attributes. Rules and routes are separate. Several rules can consult the same table, or different rules can consult different tables. This lets you make routing decisions beyond a single destination-based table.&lt;/p&gt;</description>
			</item>
			<item>
				<title>A Brief History of Linux Networking</title>
				<link>https://datahacker.blog/reference/networking/brief-history-of-linux-networking/</link>
				<pubDate>Wed, 17 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/brief-history-of-linux-networking/</guid>
				<description>&lt;p&gt;Have you ever wondered why Linux network management is so confusing? You need only make a cursory review of the history of Linux networking tools to understand how it got this way.&lt;/p&gt;&#xA;&lt;blockquote&gt;It&#39;s not surprising so many people become confused attempting to comprehend Linux network routing functions, given the manner in which they have evolved. The names of several important commands and processes are nearly identical to others belonging to completely different tool generations.&lt;/blockquote&gt;&#xA;&lt;p&gt;Legacy interfaces can remain familiar while their implementation changes. A command name alone does not establish which kernel interface it uses, and the continuity of names does not mean Linux networking code remained unchanged for twenty years.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Routing and Filtering Network Traffic</title>
				<link>https://datahacker.blog/reference/networking/routing/routing-and-filtering-network-traffic/</link>
				<pubDate>Wed, 17 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/routing-and-filtering-network-traffic/</guid>
				<description>&lt;p&gt;A brief, high-level introduction to Linux routing and packet filtering: what the kernel decides, and which tools configure those decisions.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-1&#34;&gt;10,000 Foot View&lt;/h2&gt;&#xA;&lt;p&gt;Routing selects how a packet reaches its destination. Packet filtering decides whether a packet is allowed to proceed. Packet modification, including NAT and marking, is another function that can interact with those decisions. These functions work together, but they are not interchangeable layers of one command.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Security Implications of Samba Access to Non-ACL File Systems</title>
				<link>https://datahacker.blog/reference/networking/security-implications-of-samba-access-to-non-acl-file-systems/</link>
				<pubDate>Mon, 01 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/security-implications-of-samba-access-to-non-acl-file-systems/</guid>
				<description>&lt;p&gt;Several processes control the flow of data through a Samba-managed network connection. File and directory permissions are an important part of that protection, even when extended ACLs are not in use.&lt;/p&gt;&#xA;&lt;p&gt;Linux and UNIX already provide ordinary owner/group/other permissions. In this article, “non-ACL” means &lt;strong&gt;without extended POSIX ACLs&lt;/strong&gt;, not without file-level access control. A Samba login does not make the entire file system accessible. For the distinction and worked permission examples, start with &lt;a href=&#34;https://datahacker.blog/reference/linux-systems/linux-acl-file-systems/&#34;&gt;Linux ACL File Systems&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>1. DNS Follows VPN Applications — Advanced IPv4</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/dns-for-vpn-applications/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/dns-for-vpn-applications/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Keep selected applications on their assigned VPN for both DNS and payload, while ordinary applications retain normal direct DNS and payload. A failure of one DNS context must not stop the other.&lt;/p&gt;</description>
			</item>
			<item>
				<title>1. DNS Follows VPN Applications — With IPv6</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/dns-for-vpn-applications/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/dns-for-vpn-applications/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced OpenVPN with IPv6&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/&#34;&gt;Advanced IPv4&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Keep both families of selected application payload and DNS on VPN A, while ordinary applications retain their designated direct paths.&lt;/p&gt;</description>
			</item>
			<item>
				<title>2A. All DNS Through the VPN — Advanced IPv4</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/all-dns-through-vpn/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/all-dns-through-vpn/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Send host-wide upstream DNS through the designated VPN while selected payload uses that VPN and ordinary payload remains direct. The resolver may be VPN-supplied or one explicitly selected provider reached through the VPN.&lt;/p&gt;</description>
			</item>
			<item>
				<title>2A. All DNS Through the VPN — With IPv6</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/all-dns-through-vpn/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/all-dns-through-vpn/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced OpenVPN with IPv6&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/&#34;&gt;Advanced IPv4&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Keep host-wide DNS on VPN A for both ordinary and VPN-selected applications, while only selected payload requires that VPN.&lt;/p&gt;</description>
			</item>
			<item>
				<title>2B. VPN DNS with Direct Fallback — Advanced IPv4</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/vpn-dns-with-direct-fallback/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/vpn-dns-with-direct-fallback/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Prefer host-wide DNS through the VPN, but permit one designated direct DNS provider when the preferred service fails. DNS fallback never changes selected applications’ payload route.&lt;/p&gt;</description>
			</item>
			<item>
				<title>2B. VPN DNS with Direct Fallback — With IPv6</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/vpn-dns-with-direct-fallback/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/vpn-dns-with-direct-fallback/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced OpenVPN with IPv6&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/&#34;&gt;Advanced IPv4&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Prefer host-wide DNS through VPN A, with the same explicit permission to select one direct fallback service. Selected payload remains VPN-only in both DNS modes.&lt;/p&gt;</description>
			</item>
			<item>
				<title>3. Dedicated Direct DNS — Advanced IPv4</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/dedicated-direct-dns/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/dedicated-direct-dns/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Keep host-wide DNS on one designated direct provider, independently of selected applications’ payload VPN. Direct DNS is the required route, not a fallback mode.&lt;/p&gt;</description>
			</item>
			<item>
				<title>3. Dedicated Direct DNS — With IPv6</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/dedicated-direct-dns/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/dedicated-direct-dns/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced OpenVPN with IPv6&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/&#34;&gt;Advanced IPv4&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Keep DNS on its designated direct service, independently of the selected applications’ OpenVPN payload path. Direct DNS is the required policy here, not fallback.&lt;/p&gt;</description>
			</item>
			<item>
				<title>4A. VPN 1’s DNS and VPN 2 Payload — Advanced IPv4</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/vpn1-native-dns-apps-on-vpn2/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/vpn1-native-dns-apps-on-vpn2/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Use VPN 1’s supplied resolver for host-wide DNS and VPN 2 for selected application payload. Ordinary application payload remains direct.&lt;/p&gt;</description>
			</item>
			<item>
				<title>4A. VPN 1’s DNS and VPN 2 Payload — With IPv6</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/vpn1-native-dns-apps-on-vpn2/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/vpn1-native-dns-apps-on-vpn2/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced OpenVPN with IPv6&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/&#34;&gt;Advanced IPv4&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Use VPN 1’s supplied DNS for the host while selected application payload uses VPN 2. Extend each actual role to IPv6 without merging the two VPNs.&lt;/p&gt;</description>
			</item>
			<item>
				<title>4B. Independent DNS Through VPN 1 — Advanced IPv4</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/vpn1-independent-dns-apps-on-vpn2/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/vpn1-independent-dns-apps-on-vpn2/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Reach a designated independent DNS provider through VPN 1 while selected payload uses VPN 2. The independent provider does not make direct DNS permissible.&lt;/p&gt;</description>
			</item>
			<item>
				<title>4B. Independent DNS Through VPN 1 — With IPv6</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/vpn1-independent-dns-apps-on-vpn2/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/vpn1-independent-dns-apps-on-vpn2/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced OpenVPN with IPv6&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/&#34;&gt;Advanced IPv4&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;Reach a designated independent DNS provider through VPN 1, while selected payload uses VPN 2. Both address families retain these separate role constraints.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Ubuntu 24.04 Reference Host for Advanced VPN Controls</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../automated-openvpn-controls/&#34;&gt;Advanced IPv4&lt;/a&gt; · &lt;a href=&#34;../advanced-openvpn-ipv6/&#34;&gt;Advanced with IPv6&lt;/a&gt; · &lt;a href=&#34;../&#34;&gt;Simple policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Use &lt;strong&gt;Ubuntu Server 24.04 LTS (Noble), amd64&lt;/strong&gt;, as the reference operating system for both advanced guide sets. The reference is a dedicated local-workload host with one routing namespace and separate application/resolver contexts. A clean virtual machine with an independent console is a convenient starting point for the eventual isolated lab. This choice makes the ownership of routes, services and recovery state easier to follow; it does not limit the six routing use cases to virtual machines.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Advanced OpenVPN with IPv6</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/advanced-openvpn-ipv6/</guid>
				<description>&lt;p&gt;This third set extends the six approved advanced use cases to IPv6 alongside IPv4. The &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;simple VPN-independent guides&lt;/a&gt; and &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/&#34;&gt;advanced IPv4 set&lt;/a&gt; remain separate alternatives. Provider permissions, DNS/payload separation, repair behavior and all approved timers are unchanged.&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;h2 id=&#34;six-use-cases&#34;&gt;Six use cases&lt;/h2&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Use case&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;DNS scope&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Required DNS path&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;dns-for-vpn-applications/&#34;&gt;1 — DNS Follows VPN Applications&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Split by application group&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;VPN A for selected applications; designated direct DNS for others&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;all-dns-through-vpn/&#34;&gt;2A — All DNS Through the VPN&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Host-wide upstream DNS&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;One designated DNS service through VPN A&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;vpn-dns-with-direct-fallback/&#34;&gt;2B — VPN DNS with Direct Fallback&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Host-wide upstream DNS&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;VPN A preferred; one designated direct DNS fallback&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;dedicated-direct-dns/&#34;&gt;3 — Dedicated Direct DNS&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Host-wide upstream DNS&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;One designated DNS service directly&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;vpn1-native-dns-apps-on-vpn2/&#34;&gt;4A — VPN 1’s DNS and VPN 2 Payload&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Host-wide upstream DNS&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;VPN 1’s supplied DNS through VPN 1&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;a href=&#34;vpn1-independent-dns-apps-on-vpn2/&#34;&gt;4B — Independent DNS Through VPN 1&lt;/a&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Host-wide upstream DNS&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;One independent DNS provider through VPN 1&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;Selected payload stays on its assigned VPN in both families; ordinary payload stays direct. Only 2B permits the designated direct DNS fallback. It never permits direct selected payload. Cases 4A/4B keep DNS on VPN 1 and selected payload on VPN 2.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Application Routing Foundation</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/application-routing-foundation/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/application-routing-foundation/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Compare all DNS policies&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;All six DNS walkthroughs start with the same application route. This foundation selects the newsgroup reader&amp;rsquo;s account, marks its packets and directs them into an existing VPN. The independent account guards remain in place if classification or routing fails.&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xA;The commands have been reviewed against the references and checked for Bash syntax. They have not been run on Linux. This is the shared prerequisite for the six alternatives, not another DNS configuration to combine with them.&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;h2 id=&#34;walkthrough-shell&#34;&gt;Open the Walkthrough Shell&lt;/h2&gt;&#xA;&lt;p&gt;From your ordinary administrator account, open a root login shell first:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Automatic DNS Fallback and Bounded Return</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/direct-dns-fallback-automatic-return/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/direct-dns-fallback-automatic-return/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;h2 id=&#34;keep-service-and-preferred-path-repair-separate&#34;&gt;Keep service and preferred-path repair separate&lt;/h2&gt;&#xA;&lt;p&gt;This is the automatic-return variant of &lt;a href=&#34;../vpn-dns-with-direct-fallback/&#34;&gt;use case 2B&lt;/a&gt;. Healthy selected fallback survives preferred-path cooldown and final lockout. Its service confirmation does not close or renew the failed preferred incident. DNS and payload permissions remain independent.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Automatic DNS Fallback with Manual Return</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/direct-dns-fallback-manual-return/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/direct-dns-fallback-manual-return/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;h2 id=&#34;qualify-the-designated-resolver&#34;&gt;Qualify the designated resolver&lt;/h2&gt;&#xA;&lt;p&gt;This is the manual-return variant of &lt;a href=&#34;../vpn-dns-with-direct-fallback/&#34;&gt;use case 2B&lt;/a&gt;. Preferred-DNS loss closes DNS only; healthy known-address payload keeps its permitted route. Qualify the one designated direct resolver with three rounds spanning at least ten seconds, then verify actual-client selection and release. An unknown candidate is not usable just because the preferred path failed.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Checking DNS Availability</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/dns-availability/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/dns-availability/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Compare all DNS policies&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;A route can exist while a DNS service is not answering. Routing configuration and VPN operation have their own &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/routing-tools-and-scope/&#34;&gt;guides&lt;/a&gt;. This page supplies manual diagnostics and controlled fault exercises, not a polling daemon or automatic failover controller. Linux runtime validation remains pending.&lt;/p&gt;&#xA;&lt;h2 id=&#34;define-what-is-being-checked&#34;&gt;Define What Is Being Checked&lt;/h2&gt;&#xA;&lt;p&gt;A routing lookup answers where Linux would send a packet under the supplied selectors. A VPN lifecycle event describes the client&amp;rsquo;s session. A DNS query tests a particular resolver operation through the currently permitted path. Keep those observations separate in the test record.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Diagnosing VPN and DNS Loss</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/diagnosing-vpn-dns-loss/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/diagnosing-vpn-dns-loss/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;h2 id=&#34;start-with-the-path-you-meant-to-test&#34;&gt;Start with the path you meant to test&lt;/h2&gt;&#xA;&lt;p&gt;Start with the selected &lt;a href=&#34;../#six-use-cases&#34;&gt;use case&lt;/a&gt;. Identify the application group, DNS or payload class, intended provider/route, session identity and configuration generation. Use an administered DNS control and a numeric payload control so a failed lookup does not automatically fail payload diagnosis.&lt;/p&gt;</description>
			</item>
			<item>
				<title>DNS Follows VPN Applications</title>
				<link>https://datahacker.blog/tutorials/networking/vpn-dns/dns-for-vpn-applications/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/vpn-dns/dns-for-vpn-applications/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Compare all DNS policies&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;You may want your newsgroup reader to use a VPN while your other applications keep using the direct Internet connection. But what about the reader&amp;rsquo;s DNS requests? If those requests use the host&amp;rsquo;s ordinary resolver, they may take a different path from the connection that follows.&lt;/p&gt;&#xA;&lt;p&gt;In this example, the reader uses the VPN provider&amp;rsquo;s DNS through the VPN. Other applications keep their normal DNS configuration. The reader&amp;rsquo;s DNS and application connections must stay on the VPN path; neither is allowed to fall back to the direct connection.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Keep DNS on a Dedicated Direct Route</title>
				<link>https://datahacker.blog/tutorials/networking/vpn-dns/dedicated-direct-dns/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/vpn-dns/dedicated-direct-dns/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Compare all DNS policies&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Using a VPN does not necessarily mean that you want to use its DNS service. You may already have a DNS provider you prefer, and you may want to keep using that provider regardless of whether an application connects through the VPN or directly to the Internet.&lt;/p&gt;&#xA;&lt;p&gt;For example, your newsgroup reader uses the VPN, while your web browser uses the direct connection. In this example, both applications use your designated DNS provider over the direct connection. Connecting or disconnecting the VPN does not change that choice.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Observing OpenVPN Reconnects with NetworkManager</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/openvpn-networkmanager-reconnects/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/openvpn-networkmanager-reconnects/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Compare all DNS policies&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;This guide follows the lifecycle state of one OpenVPN connection managed by NetworkManager. The &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;DNS routing policies&lt;/a&gt; remain centered on &lt;em&gt;iproute2&lt;/em&gt; routes and rules, Netfilter restrictions, and resolver selection. They do not require OpenVPN, this observer, or an availability loop. See the &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/routing-tools-and-scope/&#34;&gt;three-part architecture&lt;/a&gt;, &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/vpn-operation/&#34;&gt;VPN operation guide&lt;/a&gt;, and separate &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/dns-availability/&#34;&gt;DNS availability guide&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;keep-three-questions-separate&#34;&gt;Keep Three Questions Separate&lt;/h2&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Question&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Evidence&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Where is DNS permitted to go?&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Routing rules/tables and firewall policy&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Is the OpenVPN session reconnecting?&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Client lifecycle events associated with that connection&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Can the selected DNS service answer now?&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;A separate DNS availability check&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;A client event does not install or weaken routing policy. A DNS failure is not proof that OpenVPN is reconnecting. An observer losing its own event stream means &lt;strong&gt;unknown&lt;/strong&gt;, not permission to use a less private route.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Prefer VPN DNS, with a Designated Direct Fallback</title>
				<link>https://datahacker.blog/tutorials/networking/vpn-dns/vpn-dns-with-direct-fallback/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/vpn-dns/vpn-dns-with-direct-fallback/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Compare all DNS policies&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The previous example takes a strict approach: upstream DNS requests use the VPN, and if the VPN is unavailable, those requests fail. That may be exactly what you want when keeping DNS off the direct Internet connection is more important than keeping name resolution available.&lt;/p&gt;&#xA;&lt;p&gt;But you may prefer a more permissive approach. For example, you already have a designated DNS provider that you want to use for your normal Internet connection. When the VPN is working, you want to use the VPN provider&amp;rsquo;s DNS instead. If the VPN fails, you want DNS to return to your designated provider over the direct connection.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Recovering a Strict OpenVPN Path</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/strict-openvpn-recovery/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/strict-openvpn-recovery/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;h2 id=&#34;decide-what-strict-means-for-this-policy&#34;&gt;Decide what strict means for this policy&lt;/h2&gt;&#xA;&lt;p&gt;Use &lt;a href=&#34;../dns-for-vpn-applications/&#34;&gt;1&lt;/a&gt; for selected-app DNS, &lt;a href=&#34;../all-dns-through-vpn/&#34;&gt;2A&lt;/a&gt; for all DNS through VPN, &lt;a href=&#34;../dedicated-direct-dns/&#34;&gt;3&lt;/a&gt; for dedicated direct DNS, or &lt;a href=&#34;../vpn1-native-dns-apps-on-vpn2/&#34;&gt;4A&lt;/a&gt;/&lt;a href=&#34;../vpn1-independent-dns-apps-on-vpn2/&#34;&gt;4B&lt;/a&gt; for separate VPN roles. Strict means keeping that provider/path restriction during loss. Direct DNS in use case 3 is already its required route, not a fallback.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Recovering Two Separate OpenVPN Paths</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/two-openvpn-paths/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/automated-openvpn-controls/two-openvpn-paths/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;../&#34;&gt;Advanced IPv4 controls&lt;/a&gt; · &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Simple VPN and DNS policies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;The controller, enforcement adapters, installation/rollback executor and controlled handoff now exist as local source with offline checks. The shared [Ubuntu implementation walkthrough](/reference/networking/vpn-dns-policies/ubuntu-24-04-implementation/) connects them. Linux testing, native compilation, installation and host acceptance remain deferred; the supplied examples are unbound. Use the shared [Ubuntu 24.04 reference host](/reference/networking/vpn-dns-policies/ubuntu-24-04-reference-host/) with this guide and its preparation instructions.&#xD;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;h2 id=&#34;inventory-the-owners-and-dependencies&#34;&gt;Inventory the owners and dependencies&lt;/h2&gt;&#xA;&lt;p&gt;Use &lt;a href=&#34;../vpn1-native-dns-apps-on-vpn2/&#34;&gt;4A&lt;/a&gt; for VPN 1&amp;rsquo;s own DNS or &lt;a href=&#34;../vpn1-independent-dns-apps-on-vpn2/&#34;&gt;4B&lt;/a&gt; for an independent resolver reached through VPN 1. Selected payload uses VPN 2; ordinary payload remains direct. Record separate owner/session identities and any shared physical underlay.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Routing All DNS Requests Through the VPN</title>
				<link>https://datahacker.blog/tutorials/networking/vpn-dns/all-dns-through-vpn/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/vpn-dns/all-dns-through-vpn/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Compare all DNS policies&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;There are situations where you may want some of your Internet traffic to use a VPN, while other traffic uses your ordinary Internet connection. But what about DNS? You may want all of your DNS requests to go through the VPN, regardless of which route the application uses afterward.&lt;/p&gt;&#xA;&lt;p&gt;For example, you might use a VPN for your newsgroup reader while keeping your web browser on the direct Internet connection. In this example, both applications send their DNS requests through the VPN. The browser&amp;rsquo;s connection to the website still uses the direct route.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Routing Tools and Scope</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/routing-tools-and-scope/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/routing-tools-and-scope/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Compare all DNS policies&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Routing policy, VPN operation, and availability monitoring have different jobs. This introduction explains the tools before you choose one of the six configurations. The walkthroughs remain untested on Linux.&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-to-use-this-series&#34;&gt;How to Use This Series&lt;/h2&gt;&#xA;&lt;p&gt;There are three levels to this material. Start with the tools and what they do, then choose a configuration that fits your needs.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Understand the tools.&lt;/strong&gt; This introduction explains routing, firewall rules, DNS selection, and their Linux and Ubuntu context.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Build a basic configuration.&lt;/strong&gt; Choose a scenario from the &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;VPN/DNS decision table&lt;/a&gt;. Each basic walkthrough links to the shared application-routing foundation and contains the prerequisites, commands, explanations, and checks needed for that one policy.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Add advanced behavior later.&lt;/strong&gt; Automatic provider switching, event handlers, and availability loops belong in later tutorials. They remain separate from these basic configurations.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;All six basic walkthroughs now combine their explanations and technical steps. Their source and local page checks are complete, but Linux validation remains pending; advanced automation is deferred.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Separate VPNs, Using an Independent DNS Provider</title>
				<link>https://datahacker.blog/tutorials/networking/vpn-dns/vpn1-independent-dns-apps-on-vpn2/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/vpn-dns/vpn1-independent-dns-apps-on-vpn2/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Compare all DNS policies&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;You may want to choose your own DNS provider without sending queries through your direct Internet connection. As in Example 4A, DNS uses &lt;strong&gt;VPN 1&lt;/strong&gt;, your newsgroup reader uses &lt;strong&gt;VPN 2&lt;/strong&gt;, and ordinary application connections remain direct. These are separate paths from the same host, not one VPN inside another.&lt;/p&gt;&#xA;&lt;p&gt;The second variation uses a DNS provider you choose separately, reached through VPN 1. For example, you may prefer a particular resolver regardless of which VPN service carries the connection.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Separate VPNs, Using VPN 1&#39;s DNS</title>
				<link>https://datahacker.blog/tutorials/networking/vpn-dns/vpn1-native-dns-apps-on-vpn2/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/vpn-dns/vpn1-native-dns-apps-on-vpn2/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Compare all DNS policies&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The earlier examples use one VPN, with different choices about which traffic should use it. But you may want to separate your DNS requests from your application connections while still keeping both off the direct Internet path.&lt;/p&gt;&#xA;&lt;p&gt;For example, you want your newsgroup reader to connect through one VPN, but you want its DNS requests to use another. Your ordinary browser can continue using the direct connection. Its DNS requests would still use the VPN reserved for DNS.&lt;/p&gt;</description>
			</item>
			<item>
				<title>VPN Operation and the Routing Interface</title>
				<link>https://datahacker.blog/reference/networking/vpn-dns-policies/vpn-operation/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn-dns-policies/vpn-operation/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/&#34;&gt;Compare all DNS policies&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The VPN client supplies the connection; routing and DNS policy decide which traffic can use it. This guide explains the operational boundary and what to observe when the connection changes. The &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn-dns-policies/routing-tools-and-scope/&#34;&gt;routing policies&lt;/a&gt; do not depend on a particular VPN client or an availability monitor. No client configuration or Linux runtime test is performed here.&lt;/p&gt;&#xA;&lt;h2 id=&#34;establish-the-connection-independently&#34;&gt;Establish the Connection Independently&lt;/h2&gt;&#xA;&lt;p&gt;Choose and configure the VPN client using its supported connection procedure. Record the client and manager versions, profile identity, authentication method, tunnel interface, local address, any required next hop, and the expected return path. Keep credentials out of review records.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
