<?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 plzhans blog</title><link>https://blog.plzhans.com/en/categories/networking/</link><description>Recent content in Networking on plzhans blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 03 Sep 2026 11:08:00 +0000</lastBuildDate><atom:link href="https://blog.plzhans.com/en/categories/networking/index.xml" rel="self" type="application/rss+xml"/><item><title>VPN/Remote Access Guide - Which One Should You Pick</title><link>https://blog.plzhans.com/en/posts/121-vpn-remote-access-guide/</link><pubDate>Thu, 03 Sep 2026 00:00:00 +0000</pubDate><guid>https://blog.plzhans.com/en/posts/121-vpn-remote-access-guide/</guid><description>&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;&#10;&lt;p&gt;To securely access your home server, NAS, or office internal network from outside, you need a VPN. Instead of exposing services directly to the internet via port forwarding, the basic idea is to connect through a VPN tunnel as if you were on the same network. This blog has posts covering three very different approaches (Tailscale, WireGuard, wg-easy) — even though they&amp;rsquo;re all called &amp;ldquo;VPN,&amp;rdquo; their setup, security model, and operational burden are completely different, so you should pick the one that fits your situation.&lt;/p&gt;</description></item><item><title>How to Install WireGuard and Set Up Client Connections</title><link>https://blog.plzhans.com/en/posts/116-wireguard-install-client-setup/</link><pubDate>Fri, 10 Jul 2026 08:20:00 +0000</pubDate><guid>https://blog.plzhans.com/en/posts/116-wireguard-install-client-setup/</guid><description>&lt;p&gt;&lt;picture&gt;&#10; &lt;source srcset="https://blog.plzhans.com/posts/116-wireguard-install-client-setup/assets/1_39922a0f-7e83-8083-8055-de3d7910f539_hu_c80ea1d52f8ac1c0.webp" type="image/webp"&gt;&#10; &lt;img src="https://blog.plzhans.com/posts/116-wireguard-install-client-setup/assets/1_39922a0f-7e83-8083-8055-de3d7910f539_hu_a57aedad20a50ea6.png" alt="A representative image showing the setup of building a WireGuard VPN on a Linux server and connecting a client" width="1200" height="670" loading="eager" fetchpriority="high"&gt;&#10; &lt;/picture&gt;&lt;/p&gt;&#10;&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;&#10;&lt;p&gt;WireGuard is a tool that lets you configure a peer-to-peer VPN with simple setup and lightweight performance.&lt;/p&gt;&#10;&lt;p&gt;This article covers the entire flow of installing WireGuard on a Linux server, configuring the server key, firewall, and service, and then connecting from a Mac client.&lt;/p&gt;&#10;&lt;p&gt;It goes through server key generation, wg0 configuration, opening UDP port 51820, client Peer registration, and connection verification in order, so you can follow the same steps to set it up.&lt;/p&gt;</description></item><item><title>Installing Tailscale on Linux - Secure Remote VPN Setup</title><link>https://blog.plzhans.com/en/posts/111-tailscale-linux-install-secure-remote-vpn/</link><pubDate>Fri, 03 Jul 2026 00:00:00 +0000</pubDate><guid>https://blog.plzhans.com/en/posts/111-tailscale-linux-install-secure-remote-vpn/</guid><description>&lt;p&gt;&lt;picture&gt;&#10; &lt;source srcset="https://blog.plzhans.com/posts/111-tailscale-linux-install-secure-remote-vpn/assets/1_39222a0f-7e83-80b5-9302-c17947e91a83_hu_417d00276d9357ec.webp" type="image/webp"&gt;&#10; &lt;img src="https://blog.plzhans.com/posts/111-tailscale-linux-install-secure-remote-vpn/assets/1_39222a0f-7e83-80b5-9302-c17947e91a83_hu_7cb60632965f6dec.png" alt="Featured image showing multiple devices connected securely for remote access through a single private network using Tailscale" width="1200" height="670" loading="eager" fetchpriority="high"&gt;&#10; &lt;/picture&gt;&lt;/p&gt;&#10;&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;&#10;&lt;p&gt;Tailscale is a VPN service that ties multiple devices together as if they were on a single private network. Even when a Linux server, NAS, laptop, and smartphone are in different locations, they can be connected as though they were on the same internal network.&lt;/p&gt;&#10;&lt;p&gt;A typical server connection requires opening an inbound port from the outside into the server. This approach requires router port forwarding, firewall permissions, and a public IP, and if misconfigured it can expose the server directly to the internet.&lt;/p&gt;</description></item><item><title>Keeping the OpenVPN Client IP with a wg-easy WireGuard MASQUERADE Exception</title><link>https://blog.plzhans.com/en/posts/98-wg-easy-wireguard-masquerade-exclude-openvpn-client-ip/</link><pubDate>Thu, 19 Mar 2026 06:06:00 +0000</pubDate><guid>https://blog.plzhans.com/en/posts/98-wg-easy-wireguard-masquerade-exclude-openvpn-client-ip/</guid><description>&lt;p&gt;&lt;picture&gt;&#10; &lt;source srcset="https://blog.plzhans.com/posts/98-wg-easy-wireguard-masquerade-exclude-openvpn-client-ip/assets/1_32822a0f-7e83-8086-99d3-e8f53af5998c_hu_18a64adb2b4b188c.webp" type="image/webp"&gt;&#10; &lt;img src="https://blog.plzhans.com/posts/98-wg-easy-wireguard-masquerade-exclude-openvpn-client-ip/assets/1_32822a0f-7e83-8086-99d3-e8f53af5998c_hu_5d63f3597e09d33b.png" alt="Representative image showing a configuration where a specific range is excluded from WireGuard MASQUERADE to keep the OpenVPN client&amp;rsquo;s private IP intact" width="1200" height="670" loading="eager" fetchpriority="high"&gt;&#10; &lt;/picture&gt;&lt;/p&gt;&#10;&lt;h2 id="summary"&gt;Summary&lt;/h2&gt;&#10;&lt;p&gt;Because of WireGuard(wg-easy)&amp;rsquo;s default NAT (MASQUERADE) setting, when a request is sent to an internal network (e.g., an OpenVPN private network), the final server sees the VPN server IP as the request IP.&lt;/p&gt;&#10;&lt;p&gt;By excluding a specific range from the MASQUERADE target, the OpenVPN client&amp;rsquo;s private IP is passed through as the request IP as-is.&lt;/p&gt;</description></item><item><title>Clearing DNS Cache on Windows/Linux/macOS</title><link>https://blog.plzhans.com/en/posts/6-flush-dns-cache/</link><pubDate>Sun, 22 Feb 2026 16:11:00 +0000</pubDate><guid>https://blog.plzhans.com/en/posts/6-flush-dns-cache/</guid><description>&lt;p&gt;&lt;picture&gt;&#10; &lt;source srcset="https://blog.plzhans.com/posts/6-flush-dns-cache/assets/1_30f22a0f-7e83-8064-b489-d30573976c05_hu_f2a507d87cc63e24.webp" type="image/webp"&gt;&#10; &lt;img src="https://blog.plzhans.com/posts/6-flush-dns-cache/assets/1_30f22a0f-7e83-8064-b489-d30573976c05_hu_a647225581e76fe0.png" alt="Cover image showing the process of flushing the local DNS cache on Windows, Linux, and macOS to apply updated records" width="1200" height="670" loading="eager" fetchpriority="high"&gt;&#10; &lt;/picture&gt;&lt;/p&gt;&#10;&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;&#10;&lt;p&gt;During practical work, there are cases where DNS records are changed in domain settings but the changes are not immediately reflected on the local PC or server.&lt;/p&gt;&#10;&lt;p&gt;This happens because the OS or applications (such as browsers) cache DNS responses locally.&lt;/p&gt;&#10;&lt;p&gt;This article summarizes how to flush the local DNS cache on Windows, Linux, and macOS.&lt;/p&gt;</description></item></channel></rss>