How LAN sharing works in Clash Verge Rev

LAN sharing lets another device on your local network use a proxy listener running on your Windows PC. Your computer remains the proxy host: Clash Verge Rev accepts a connection on a selected port, applies its routing rules, and forwards traffic according to the active profile. A phone, tablet, or second PC connects to the Windows computer’s local network address and that listener port. This is different from installing Clash on every device, and it does not make your proxy listener available on the public internet unless you separately expose it through your router or another network service.

A connection therefore depends on several independent pieces agreeing. The Verge Rev core must be running; LAN access must be enabled; the listener must bind to an address reachable from other devices; Windows Firewall must permit incoming connections on the relevant network profile; and the client device must be on a network that can reach the Windows PC. A correct proxy address cannot compensate for a listener bound only to loopback, and a green status indicator in the desktop app does not prove that a phone can reach the port.

In many Clash Verge Rev builds, the relevant controls are in the settings for the active profile or the core’s system settings. Labels and their placement can vary with the application version and core integration. Look for options such as Allow LAN, LAN access, Bind address, Mixed port, and Port. These names describe related but distinct settings: Allow LAN controls whether connections from outside the host are accepted, bind address controls which network interfaces listen, and the port identifies where the client connects.

ℹ Scope: Share a listener only with devices and people you trust, and only on networks where you have permission to run a proxy. This walkthrough is for ordinary home, lab, and authorized work networks—not for exposing an unsecured proxy to the public internet.

Check the network, profile, and ports first

Before changing settings, confirm that the Windows PC and the device that will use it are connected to the same reachable local network. They might both show the same Wi-Fi name and still be isolated: guest networks often prevent clients from contacting one another, and some routers enable wireless client isolation by default. A phone using cellular data is not on the same LAN as a Windows PC on home Wi-Fi, even if the phone can browse the internet normally. For a first test, put both devices on the same trusted home network and temporarily avoid guest Wi-Fi, mesh guest modes, or a second VPN.

Find the Windows PC’s current IPv4 address on the interface actually connected to that network. In Windows, open Settings and inspect the active Wi-Fi or Ethernet connection’s properties, or run ipconfig in Command Prompt or PowerShell. Look for the IPv4 address under the active adapter, such as a private address beginning with 192.168., 10., or 172.16 through 172.31. Do not use the default gateway address, the adapter’s IPv6 address unless you have deliberately configured IPv6 access, a VPN adapter address, or 127.0.0.1. The last address always refers to the device making the request, so a phone using it would try to connect to itself.

Next, identify which listener port the active Clash Verge Rev profile exposes. A mixed port accepts both HTTP and SOCKS-compatible proxy traffic on one port, which is often convenient when different client devices offer different proxy types. Some configurations expose separate HTTP and SOCKS ports instead. Use the port shown by the running core or active configuration, not a number copied from an unrelated guide: profiles can change ports, and another application may already use the value you expect.

If the proxy works on the Windows PC but you do not know which local address or port it uses, inspect the current profile’s listener settings before testing from another device. Also check that the profile is actually selected and running. A setting displayed in an inactive profile does not necessarily control the listener currently serving connections. Record the address and port you intend to use, then confirm them again after any profile switch or core restart.

⚠ Keep the listener private: A LAN listener may allow anyone who can reach it to use your proxy. Do not enable broad access on public Wi-Fi, and do not create a router port-forward for the Clash listener just to make a phone connect. Remote access requires a separate, authenticated and carefully secured design.

Enable LAN access in Clash Verge Rev

The following sequence is a practical way to configure sharing without guessing which layer is blocking the connection. Menu names can shift between Clash Verge Rev releases, and some builds expose core options through a settings page while others make profile-level configuration more prominent. Use the setting that governs the active Mihomo-compatible core, then verify the resulting listener instead of assuming that a saved checkbox took effect.

  1. Start with a working local proxy. Open Clash Verge Rev, select the profile you intend to use, and make sure the core is running. Confirm that the Windows PC itself can use the proxy as expected. This baseline separates a general profile or upstream problem from a LAN reachability problem.
  2. Enable LAN access. Open the relevant settings for the active core or profile and turn on Allow LAN or the equivalent LAN-access option. If the setting is controlled by the profile’s YAML, inspect the effective configuration and confirm that LAN access is enabled there. Avoid editing two conflicting copies of the same setting: an application-managed profile may be regenerated or overridden when it updates.
  3. Choose a reachable bind address. If the interface offers a bind-address field, use an address that listens on the PC’s LAN interface, or use 0.0.0.0 when the core documents that value as listening on all IPv4 interfaces. A listener bound only to 127.0.0.1 accepts connections from the Windows PC itself, not from the phone. Listening on all interfaces is convenient, but it also makes careful firewall and network selection more important.
  4. Set or note the listener port. Record the active mixed port, or the HTTP or SOCKS port you plan to use. Check that the configured value is within the valid port range and is not being claimed by another service. If you change a listener port, apply the change and restart or reload the core if the interface requires it.
  5. Apply the settings and recheck status. Save the profile or settings, then restart the core when prompted. Revisit the page and confirm that the LAN option remains enabled and the expected port is still active. If the application reports a bind error, resolve the port conflict or correct the bind address before moving to the client device.
  6. Allow the connection through Windows Firewall. When Windows displays a firewall prompt for the core, allow access only on the network profile you trust—usually the private profile for a home LAN. If no prompt appears, review Windows Security’s firewall settings and create or adjust a rule for the relevant application or listening port. Do not disable the firewall globally as a troubleshooting shortcut.

Windows classifies networks as Public or Private, and firewall rules can differ between them. A trusted home network is commonly marked Private; an unfamiliar café or hotel network should remain Public. If the PC is on a Public profile, a rule that permits incoming proxy connections only on Private networks will correctly block the connection. Change the profile only when you trust and control that network, rather than weakening the rule to make an unknown hotspot work.

When adding a firewall rule manually, restrict it to the port and network profile required for this use. If Windows offers a choice between allowing a specific application and opening a port, prefer the narrowest rule that matches how the core is installed and updated. A rule tied to an executable can stop matching if the application moves or the core binary changes; a port rule can remain broader than intended if the listener port is later reused. Review the rule after upgrades and remove obsolete exceptions.

Configure the phone, tablet, or second PC

On the client, open the proxy settings for the Wi-Fi network connected to the same LAN. Choose manual proxy configuration and enter the Windows PC’s LAN IPv4 address as the host or server. Enter the active listener port as the proxy port. If the client asks for a proxy type, select HTTP for an HTTP listener or SOCKS5 for a SOCKS listener. With a mixed port, choose the type supported by that client and the core’s mixed listener; the fact that a port is called “mixed” does not mean every operating system will automatically discover the correct protocol.

For example, if the Windows PC has address 192.168.1.24 and the active mixed port is 7890, the client’s proxy server would use that address and port. Treat those values as examples only; the address is assigned by your own router and the port depends on your active configuration. Do not enter a subscription URL, a proxy-node address, the router’s gateway, or the Windows PC’s public internet address in the device’s local proxy host field.

Android and iOS expose proxy controls per Wi-Fi network in their network details. Android’s built-in manual Wi-Fi proxy is generally HTTP-oriented, so use a compatible HTTP or mixed listener and check the device’s available options. iOS also provides manual proxy fields for a Wi-Fi connection. On another Windows PC, configure the proxy in the application that needs it or in the operating system’s proxy settings, depending on your goal. Some applications follow system proxy settings, while others require their own proxy configuration; a working browser alone does not prove that every program will use the listener.

Save the client settings and test a normal website or service. If the client requests authentication but your listener is not configured for it, do not invent credentials or confuse proxy authentication with a subscription login. Check the active core configuration and the client’s selected proxy type. When you finish testing, restore the client’s original setting if you do not want all traffic from that Wi-Fi connection to use the Windows PC.

Test the connection and isolate failures

Troubleshoot one layer at a time. First confirm the client’s current IP address and make sure it is on the intended Wi-Fi network. Then confirm the Windows host address and port again; DHCP can assign a different address after a router restart or lease renewal. If the host changed, update the client’s proxy entry. For a stable home setup, a DHCP reservation in the router can keep the Windows PC’s address consistent without manually assigning an address that might conflict with another device.

From a second Windows PC on the same LAN, PowerShell can check whether the TCP port is reachable with Test-NetConnection -ComputerName 192.168.1.24 -Port 7890, replacing both values with your actual host and port. A successful result means that a TCP connection could reach the port; it does not prove that the client selected the correct proxy protocol or that the upstream proxy can complete a request. A failed result points toward a listener, bind-address, firewall, routing, or client-isolation issue. It is a useful dividing line, not a complete end-to-end test.

Also inspect Clash Verge Rev’s connection or log view while the client attempts to load a page. If no inbound connection appears, the request may not be reaching the core: revisit the client IP, port, firewall rule, bind address, and router isolation settings. If the core logs an inbound connection but the request fails afterward, inspect the selected profile, rules, DNS behavior, and upstream node. Those are different fault domains, so changing Windows Firewall is unlikely to fix an upstream timeout already visible in the core’s logs.

A successful TCP test followed by a failed browser request often indicates a protocol or application issue. Verify that the client is using HTTP or SOCKS as expected, check whether the browser has a separate proxy extension overriding system settings, and temporarily test with one simple application. If only some sites fail, review the active Clash rules and DNS configuration rather than assuming that LAN sharing itself is broken. If every client request fails after a profile update, recheck the active listener port and confirm that the core did not revert to a local-only bind address.

Common causes are easy to overlook: connecting the phone to guest Wi-Fi, using an old DHCP address, typing the Windows PC’s gateway instead of its own address, leaving the bind address at loopback, selecting the wrong port, or allowing the core only on the Public firewall profile while the trusted LAN is marked Private. Other VPNs, endpoint security products, and managed-device policies can also filter local connections. Change one factor at a time and repeat the test; changing the port, firewall, and router settings together makes it much harder to identify the actual cause.

Keep LAN sharing secure and reliable

Treat the proxy listener like a service on your local network, not like a harmless desktop preference. Devices on the same Wi-Fi may belong to visitors, roommates, or work-managed users you do not control. Keep sharing disabled when you do not need it, avoid enabling it on Public networks, and do not publish the listener through router port forwarding. A private address is reachable only through networks that route to it, but any reachable device may still be able to attempt a connection unless the firewall and core restrict access.

For ongoing home use, consider reserving the Windows PC’s DHCP address in the router and documenting the listener port alongside the profile that owns it. Recheck those details after changing profiles, updating Clash Verge Rev, replacing the core, or moving the PC between Wi-Fi and Ethernet. A firewall exception that was appropriate for a private home network may be too broad after the machine joins a different network, so review the allowed profile and remove rules you no longer need.

LAN sharing forwards traffic through the Windows host; it does not automatically make the client’s applications, DNS behavior, or privacy settings identical to those of a dedicated client installation. Some devices apply proxy settings only to selected traffic, and some apps ignore the operating system’s proxy. When predictable per-device rules, independent logs, or separate profiles matter, installing and configuring a supported client on each device may be easier to manage than relying on a shared desktop listener.

Compared with simple operating-system proxy toggles, which can be confusing when an app ignores them, Clash Verge Rev gives you a visible core state, configurable listeners, and the routing policy of the active profile in one Windows workflow. Compared with exposing a generic proxy through a router, keeping the listener on a trusted LAN and controlling its firewall scope is easier to audit and safer for routine sharing. If you want a maintained desktop interface for this setup and other Clash workflows, you can download Clash V.CORE and choose the build that fits your device.