Understanding the Allow LAN Feature
The Allow LAN feature in Clash Verge Rev is one of the most powerful utilities for power users. By default, most proxy clients only listen to the 127.0.0.1 (localhost) address. This means only the applications running on the same machine as the proxy client can access the tunnel. While this is secure, it is limiting if you have a PlayStation 5, an Apple TV, or a mobile phone that needs the same optimized connection without installing a separate app on each device.
When you enable Allow LAN, Clash modifies its listening behavior to include your machine's local network IP (e.g., 192.168.x.x). This effectively turns your Windows PC into a proxy gateway. Other devices on the same Wi-Fi or Ethernet network can then point their proxy settings to your PC's IP and the designated port (usually 7890 or 7897), reaping the benefits of your global routing rules and low-latency nodes.
Step-by-Step Configuration in Clash Verge Rev
Configuring LAN sharing in the Verge Rev version is straightforward but requires attention to detail. Unlike the older Clash for Windows, Verge Rev uses a more modern UI, but the core logic remains consistent with the Mihomo kernel.
Activating the Toggle
- Launch Clash Verge Rev and ensure your profile is active.
- Navigate to the Settings tab on the left sidebar.
- Look for the Clash Core or General section.
- Locate the Allow LAN switch. Toggle it to ON.
- Immediately below or near the toggle, you will see the Port setting. Ensure it matches your expected port (default is often
7897or7890).
Once toggled, the kernel will restart its listener. You can verify this by looking at the logs. You should see a message indicating that the proxy server is now listening on 0.0.0.0:[port] instead of just 127.0.0.1:[port]. The 0.0.0.0 address signifies that it is accepting connections from any interface on the machine.
Handling Windows Firewall and Permissions
This is where 90% of users fail. Even if Allow LAN is enabled in Clash, Windows Defender Firewall will likely block incoming requests from other devices for security reasons. You must explicitly allow the Clash kernel to communicate through the firewall.
Illustrative PowerShell Command to Check Firewall
# Run this in PowerShell as Administrator to see current rules
Get-NetFirewallRule -DisplayName "*clash*" | Select-Object DisplayName, Enabled, Direction, Action
If you don't see an "Allow" rule for the Clash Verge Rev executable or the underlying Mihomo kernel, you need to add one. Go to Control Panel > System and Security > Windows Defender Firewall > Allowed Apps. Click "Change settings," then "Allow another app," and browse to the clash-verge.exe or the kernel binary located in the app data folder. Ensure both Private and Public (if necessary) boxes are checked.
Identifying Your Local IP Address
To connect other devices, you need to know the specific IP address of your Windows host. This is not your public "What is my IP" address, but your Internal LAN IP.
- Press
Win + R, typecmd, and press Enter. - Type
ipconfigand look for the IPv4 Address under your active connection (Wi-Fi or Ethernet). - It will typically look like
192.168.1.15or10.0.0.5.
Warning: Local IPs can change if your router reassigns them via DHCP. For a permanent setup, consider setting a Static IP for your PC in your router's settings.
Configuring Mobile and Console Clients
Now that the server (your PC) is ready, you need to configure the clients (the devices you want to share with).
Android and iOS Setup
Go to your Wi-Fi settings, select your current network, and find the Proxy section. Change it from "None" to Manual. Enter the Server/Hostname (your PC's LAN IP) and the Port (e.g., 7897). Save the settings. All browser traffic on your phone will now route through Clash on your Windows PC.
Gaming Consoles (PS5/Switch/Xbox)
Consoles are notoriously difficult with proxies because they don't support .pac files. Manual proxying is the only way. In the network setup of your console, choose "Advanced Settings" and input the IP and Port. This is particularly useful for downloading updates from international servers at higher speeds or accessing region-locked content in the console store.
Security Considerations for LAN Sharing
Enabling Allow LAN essentially opens a door into your computer. In a trusted home environment, this is fine. However, if you are on a Public Wi-Fi (like in a hotel or cafe), anyone else on that network could theoretically use your machine as a proxy. This could lead to your bandwidth being consumed or, in worse cases, your machine being used for malicious traffic by others.
To mitigate this, Clash Verge Rev supports Authentication. You can set a username and password in the configuration YAML under the authentication key. This requires any device connecting to your proxy to provide credentials. While most browsers support this, some smart home devices or consoles do not, so use it based on your specific device compatibility.
Common Troubleshooting Scenarios
If you've followed the steps and it still isn't working, check these common pitfalls:
- Network Profile: Ensure your Windows network profile is set to Private. Windows applies much stricter firewall rules to "Public" profiles.
- Anti-Virus Software: Third-party suites like Norton, McAfee, or Kaspersky have their own firewalls that override Windows settings. You must whitelist Clash in those specific apps.
- Subnet Mismatch: Ensure both devices are on the exact same subnet. If your PC is on
192.168.1.xand your phone is on a Guest Wi-Fi at192.168.2.x, they likely cannot talk to each other unless you have complex VLAN routing configured. - Kernel Crashed: Sometimes toggling Allow LAN requires a full app restart, not just a kernel reload. Try closing Clash Verge Rev from the system tray and reopening it.
Conclusion
Enabling Allow LAN in Clash Verge Rev transforms your Windows workstation into a central hub for your home network's connectivity. By mastering the firewall permissions and IP configuration, you eliminate the need for complicated router-level flashing or installing proxy apps on every single gadget you own. It is an elegant, software-defined solution for the modern multi-device household.
→ Download Clash V.CORE now to experience the full potential of LAN sharing and take control of your entire home network's traffic with ease.