<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Network on Yanmu</title>
        <link>https://AkuamT.github.io/en/tags/network/</link>
        <description>Recent content in Network on Yanmu</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <lastBuildDate>Thu, 11 Jun 2026 23:00:00 +0800</lastBuildDate><atom:link href="https://AkuamT.github.io/en/tags/network/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>Methods for Sharing VPN and Proxy Connections Across Devices</title>
            <link>https://AkuamT.github.io/en/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/</link>
            <pubDate>Thu, 11 Jun 2026 23:00:00 +0800</pubDate>
            <guid>https://AkuamT.github.io/en/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/</guid>
            <description>&lt;img src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/cover.svg&#34; alt=&#34;Featured image of post Methods for Sharing VPN and Proxy Connections Across Devices&#34; /&gt;&lt;h2 id=&#34;overview-of-three-sharing-modes&#34;&gt;Overview of Three Sharing Modes&#xA;&lt;/h2&gt;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Mode&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Also Known As&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Description&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;Proxy Sharing Mode&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Allow LAN&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Devices forward requests through proxy software&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;Gateway Sharing Mode&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Bypass Gateway, Transparent Proxy&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Devices point their gateway to the proxy host&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;Routing Sharing Mode&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;WiFi Hotspot&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Host creates an independent subnet and assigns IPs&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;Overview diagram:&#xA;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;295px&#34; data-flex-grow=&#34;123&#34; height=&#34;929&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/Pasted-image-20260611010018.png&#34; srcset=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/Pasted-image-20260611010018_hu_605a75c4cac0224a.png 800w, https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/Pasted-image-20260611010018.png 1143w&#34; width=&#34;1143&#34;&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;proxy-sharing-mode&#34;&gt;Proxy Sharing Mode&#xA;&lt;/h2&gt;&lt;h3 id=&#34;how-it-works&#34;&gt;How It Works&#xA;&lt;/h3&gt;&lt;p&gt;Suppose your computer is running Clash or V2Ray with proxy sharing enabled. You can set up your phone to route its requests through your computer. The flow is as follows:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Phone access request → &lt;strong&gt;Computer&lt;/strong&gt; (processed by V2Ray/Clash) → &lt;strong&gt;Gateway (Router)&lt;/strong&gt; → Internet&lt;/li&gt;&#xA;&lt;li&gt;Internet response → &lt;strong&gt;Gateway (Router)&lt;/strong&gt; → &lt;strong&gt;Computer&lt;/strong&gt; → &lt;strong&gt;Phone&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;This is how proxy sharing mode works.&lt;/p&gt;&#xA;&lt;h3 id=&#34;example-phone-accessing-the-internet-through-computer-proxy&#34;&gt;Example: Phone Accessing the Internet Through Computer Proxy&#xA;&lt;/h3&gt;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;In V2Ray, enable LAN connections to see the SOCKS5 and HTTP ports&#xA;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;125px&#34; data-flex-grow=&#34;52&#34; height=&#34;1277&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-05-22.png&#34; width=&#34;670&#34;&gt;&lt;/p&gt;&#xA;&#xA;    &lt;blockquote&gt;&#xA;        &lt;p&gt;The computer uses HTTP proxy, so port &lt;strong&gt;10809&lt;/strong&gt; is used&lt;/p&gt;&#xA;&#xA;    &lt;/blockquote&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Check the WiFi connection info on your phone to get its IP address&#xA;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;123px&#34; data-flex-grow=&#34;51&#34; height=&#34;1264&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-06-53.png&#34; width=&#34;648&#34;&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Enter the phone&amp;rsquo;s IP and port in your computer&amp;rsquo;s proxy settings&#xA;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;358px&#34; data-flex-grow=&#34;149&#34; height=&#34;1010&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-07-47.png&#34; srcset=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-07-47_hu_f6ba163f9be6936.png 800w, https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-07-47.png 1509w&#34; width=&#34;1509&#34;&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Now your computer&amp;rsquo;s requests will be handled by your phone—your computer can access Google. If you turn off the phone&amp;rsquo;s VPN, the computer loses access too.&lt;/p&gt;&#xA;&lt;h3 id=&#34;example-computer-proxying-phone-requests-reverse&#34;&gt;Example: Computer Proxying Phone Requests (Reverse)&#xA;&lt;/h3&gt;&lt;p&gt;The reverse setup—using your computer to proxy your phone&amp;rsquo;s requests—works the same way:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Open V2Ray settings and allow LAN connections&#xA;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;400px&#34; data-flex-grow=&#34;166&#34; height=&#34;900&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-13-39.png&#34; srcset=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-13-39_hu_a3769d628b23d5ff.png 800w, https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-13-39.png 1500w&#34; width=&#34;1500&#34;&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;The proxy port is displayed in the lower-left corner&#xA;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;362px&#34; data-flex-grow=&#34;151&#34; height=&#34;1191&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-14-45.png&#34; srcset=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-14-45_hu_58525963efb8a58d.png 800w, https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-14-45_hu_1e47fd44071a6d32.png 1600w, https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-14-45.png 1800w&#34; width=&#34;1800&#34;&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Go to your phone&amp;rsquo;s WiFi proxy settings, enter the computer&amp;rsquo;s IP as the server address and the port shown in the screenshot&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;about-udp-proxy&#34;&gt;About UDP Proxy&#xA;&lt;/h3&gt;&#xA;    &lt;blockquote&gt;&#xA;        &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The system proxy configured in phone settings is typically an &lt;strong&gt;HTTP proxy&lt;/strong&gt;, which does not support UDP transport. To proxy UDP traffic, you need a SOCKS proxy. Since system proxy settings don&amp;rsquo;t support SOCKS, you&amp;rsquo;ll need a third-party VPN tool.&lt;/p&gt;&#xA;&#xA;    &lt;/blockquote&gt;&#xA;&lt;p&gt;Create a SOCKS proxy in V2Ray on your phone:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Server:&lt;/strong&gt; Enter your computer&amp;rsquo;s IP address&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Port:&lt;/strong&gt; Enter your computer&amp;rsquo;s V2Ray SOCKS port&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;188px&#34; data-flex-grow=&#34;78&#34; height=&#34;853&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-17-12.png&#34; width=&#34;671&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;This allows UDP data to be proxied. However, whether UDP proxying actually works depends on whether your server node supports UDP.&lt;/p&gt;&#xA;&lt;h3 id=&#34;pros-and-cons&#34;&gt;Pros and Cons&#xA;&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Almost all proxy tools support enabling proxy sharing mode&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Each network device needs to be configured individually&lt;/li&gt;&#xA;&lt;li&gt;Some devices (e.g., TV boxes) don&amp;rsquo;t support proxy configuration, making this method unusable for them&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;gateway-sharing-mode&#34;&gt;Gateway Sharing Mode&#xA;&lt;/h2&gt;&lt;h3 id=&#34;how-it-works-1&#34;&gt;How It Works&#xA;&lt;/h3&gt;&lt;p&gt;Gateway sharing mode is also called &lt;strong&gt;bypass gateway&lt;/strong&gt;, &lt;strong&gt;transparent proxy&lt;/strong&gt;, or &lt;strong&gt;transparent gateway&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Typically, the router assigns IPs to each device. In gateway mode, the router assigns the computer&amp;rsquo;s IP to every device as their &lt;strong&gt;gateway&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;461px&#34; data-flex-grow=&#34;192&#34; height=&#34;1247&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-24-22.png&#34; srcset=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-24-22_hu_f093e72c498b81db.png 800w, https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-24-22_hu_edcd86dbb3ea811.png 1600w, https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-24-22.png 2397w&#34; width=&#34;2397&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Workflow: When your phone wants to access Google → data is sent to the gateway (the computer) → the computer processes the data and forwards it to the router&lt;/p&gt;&#xA;&#xA;    &lt;blockquote&gt;&#xA;        &lt;p&gt;&lt;strong&gt;Key point:&lt;/strong&gt; All internet traffic from devices on the LAN goes through the gateway.&lt;/p&gt;&#xA;&#xA;    &lt;/blockquote&gt;&#xA;&lt;h3 id=&#34;pros-and-cons-1&#34;&gt;Pros and Cons&#xA;&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;Advantages:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Flexible configuration—you can set the gateway individually per device, or have the router change the gateway for all devices on the LAN at once&lt;/li&gt;&#xA;&lt;li&gt;The biggest advantage: a gateway-level system proxy can intercept &lt;strong&gt;all traffic&lt;/strong&gt; on the system. Even if some applications don&amp;rsquo;t use a proxy or certain devices don&amp;rsquo;t support proxy settings, any internet access still passes through the gateway. The devices themselves don&amp;rsquo;t even know they&amp;rsquo;re being proxied&lt;/li&gt;&#xA;&lt;li&gt;This is why it&amp;rsquo;s called &lt;strong&gt;transparent proxy&lt;/strong&gt; or &lt;strong&gt;transparent gateway&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Disadvantages:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Not all operating systems support it. Windows does not support this mode; macOS and Linux do&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;implementation-via-linux-virtual-machine&#34;&gt;Implementation via Linux Virtual Machine&#xA;&lt;/h3&gt;&lt;p&gt;Since Windows doesn&amp;rsquo;t support gateway sharing mode, you can install a &lt;strong&gt;Linux virtual machine&lt;/strong&gt; to achieve it.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use &lt;strong&gt;bridged networking&lt;/strong&gt; for the VM (same LAN as the host)&lt;/li&gt;&#xA;&lt;li&gt;Enable the root user&lt;/li&gt;&#xA;&lt;li&gt;Enable IP forwarding and TUN mode:&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;&#xA;&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sysctl -w net.ipv4.ip_forward&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;m&#34;&gt;1&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;Go to your computer&amp;rsquo;s IP settings and set the &lt;strong&gt;default gateway&lt;/strong&gt; to the Linux VM&amp;rsquo;s IP address&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;strong&gt;Limitation:&lt;/strong&gt; This won&amp;rsquo;t work without a LAN.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;routing-sharing-mode&#34;&gt;Routing Sharing Mode&#xA;&lt;/h2&gt;&lt;h3 id=&#34;how-it-works-2&#34;&gt;How It Works&#xA;&lt;/h3&gt;&lt;p&gt;When routing sharing mode is enabled, the computer creates an independent subnet (shown as &lt;strong&gt;192.168.137.1&lt;/strong&gt; in green in the diagram). When other devices connect to this computer, the computer assigns them IPs, gateways, and other network info. The computer essentially takes over the router&amp;rsquo;s job—hence the name &lt;strong&gt;routing sharing mode&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;374px&#34; data-flex-grow=&#34;156&#34; height=&#34;1158&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-39-06.png&#34; srcset=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-39-06_hu_7556cb085f5b9b63.png 800w, https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-39-06_hu_caff2ffb676554da.png 1600w, https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-39-06.png 1809w&#34; width=&#34;1809&#34;&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;pros-and-cons-2&#34;&gt;Pros and Cons&#xA;&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Many advantages, widely applicable&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Adds an extra NAT layer, requiring some performance overhead&lt;/li&gt;&#xA;&lt;li&gt;Creates two different LAN segments that cannot communicate with each other by default&lt;/li&gt;&#xA;&lt;li&gt;Most phones don&amp;rsquo;t support sharing VPN networks through routing mode without Root access&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;configuration-on-windows&#34;&gt;Configuration on Windows&#xA;&lt;/h3&gt;&lt;p&gt;Enabling routing sharing mode on Windows requires &lt;strong&gt;two network interfaces&lt;/strong&gt;. Most computers have only one, so you may need to purchase a &lt;strong&gt;USB Ethernet adapter&lt;/strong&gt; to add an extra port.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;494px&#34; data-flex-grow=&#34;206&#34; height=&#34;341&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-45-07.png&#34; width=&#34;703&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Setup steps:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Assume the first NIC connects to your LAN and the second is idle&lt;/li&gt;&#xA;&lt;li&gt;Enable TUN mode&#xA;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;421px&#34; data-flex-grow=&#34;175&#34; height=&#34;397&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-45-54.png&#34; width=&#34;697&#34;&gt;&lt;/li&gt;&#xA;&lt;li&gt;Clash will create a virtual network adapter&lt;/li&gt;&#xA;&lt;li&gt;Right-click the virtual adapter → &lt;strong&gt;Properties&lt;/strong&gt; → &lt;strong&gt;Sharing&lt;/strong&gt; → Select &lt;strong&gt;&amp;ldquo;Allow other network users&amp;hellip;&amp;rdquo;&lt;/strong&gt; and choose the idle NIC&#xA;&lt;img class=&#34;gallery-image&#34; data-flex-basis=&#34;365px&#34; data-flex-grow=&#34;152&#34; height=&#34;362&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://AkuamT.github.io/p/%E7%A7%91%E5%AD%A6%E4%B8%8A%E7%BD%91%E7%8E%AF%E5%A2%83%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F/images/PixPin_2026-06-11_01-46-58.png&#34; width=&#34;552&#34;&gt;&lt;/li&gt;&#xA;&lt;li&gt;This creates a new subnet, sharing Clash&amp;rsquo;s proxy environment with the idle NIC&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;use-cases&#34;&gt;Use Cases&#xA;&lt;/h3&gt;&lt;p&gt;This idle NIC can be connected to another computer via an &lt;strong&gt;Ethernet cable&lt;/strong&gt;, and that computer can access the internet through the proxy &lt;strong&gt;without any configuration&lt;/strong&gt;. A more common scenario is connecting it to a &lt;strong&gt;wireless access point (AP)&lt;/strong&gt; to broadcast WiFi.&lt;/p&gt;&#xA;</description>
        </item></channel>
</rss>
