Understanding the Allow LAN Feature
The Allow LAN feature in Clash Verge Rev is a powerful tool that transforms your computer into a gateway for other devices on the same Wi-Fi or wired network. When enabled, Clash listens for incoming connections from other local IP addresses, allowing them to route their traffic through your PC's active proxy rules. This is particularly useful for game consoles (like Nintendo Switch or PlayStation) that lack native proxy clients, or for mobile devices where you don't want to install separate software.
By leveraging Allow LAN, you ensure that all devices in your household benefit from the same high-speed nodes and sophisticated routing rules you've configured on your desktop. Whether it's for downloading games faster from foreign eShops or accessing region-locked content on a tablet, this feature bridges the gap between your PC and your wider device ecosystem.
Step 1: Enable Allow LAN in Clash Verge Rev
The first step takes place within the Clash Verge Rev interface. Unlike older versions of Clash, Verge Rev provides a clean GUI to toggle this setting without manually editing YAML files, though you can still verify it in the config if needed.
- Launch Clash Verge Rev on your Windows or macOS machine.
- Navigate to the Settings tab (usually the gear icon on the left sidebar).
- Look for the Allow LAN toggle under the "Clash Core" or "General" section.
- Switch the toggle to ON. You may see a prompt asking for administrator permissions to adjust network listening rules.
- Verify the Mixed Port (default is often
7890). This is the port other devices will use to connect.
Once enabled, Clash will start accepting traffic from your local network. However, simply turning this on isn't enough; your other devices need to know where to send their traffic.
Step 2: Identifying Your Local IP Address
Your PC has a unique address on your home network, typically looking like 192.168.x.x. You need this address to tell your Switch or phone where the proxy server is located.
Windows Command Prompt (CMD)
# Open CMD and type:
ipconfig
# Look for "IPv4 Address" under your active connection (Wi-Fi or Ethernet)
# Example: 192.168.1.15
Note down this IP address. If your router uses DHCP, this address might change over time. For a permanent setup, consider setting a Static IP for your PC in your router settings to avoid having to re-configure your console every few days.
Step 3: Configuring Mobile and Console Clients
Now, move to the device you want to connect. We will use a smartphone and a Nintendo Switch as examples.
Configuring a Smartphone (iOS/Android)
- Go to Wi-Fi Settings and tap the "i" or arrow next to your connected network.
- Find the HTTP Proxy section (on iOS) or Proxy (on Android).
- Select Manual.
- Enter your PC's IP (e.g.,
192.168.1.15) in the Server/Hostname field. - Enter
7890(or your custom Mixed Port) in the Port field. - Save the settings.
Configuring a Nintendo Switch
For gaming consoles, the process is similar but buried in the internet settings menu.
- Go to System Settings > Internet > Internet Settings.
- Select your current Wi-Fi network and choose Change Settings.
- Scroll down to Proxy Settings and change it to On.
- Input your PC's IP and the port
7890. - Save and perform a connection test.
Step 4: Handling Windows Firewall and Security
A common reason "Allow LAN" fails is the Windows Defender Firewall. By default, Windows blocks incoming connections on port 7890 to protect your PC. You must manually allow the Clash Verge Rev binary through the firewall.
Pro Tip: If you can't connect, try temporarily disabling your firewall. If it works, you know the firewall is the culprit and you should create an "Inbound Rule" specifically for the Clash application.
To add an exception, go to Control Panel > System and Security > Windows Defender Firewall > Allowed Apps. Ensure both "Private" and "Public" are checked for Clash Verge Rev. If it's not in the list, click "Allow another app" and browse to the location of verge.exe or the core binary mihomo.exe.
Advanced: Consistent Port Management
If you are an advanced user, you might want different ports for different types of traffic. Clash allows you to define specific ports for SOCKS5, HTTP, and Mixed traffic.
Illustrative YAML fragment
# In your Clash configuration (config.yaml)
port: 7890
socks-port: 7891
allow-lan: true
mode: rule
log-level: info
external-controller: 127.0.0.1:9090
While Mixed Port is the most convenient for general use, some specialized applications might require a dedicated socks-port. If you change these in the YAML, make sure the Allow LAN toggle in the GUI doesn't overwrite your manual settings upon restart.
Common Troubleshooting Scenarios
If your devices still show "No Internet" after following these steps, check the following:
- IP Mismatch: Did your PC's IP change? Double-check
ipconfig. - Subnet Issues: Ensure your PC and device are on the same subnet (e.g., both
192.168.1.x). Guest Wi-Fi networks often isolate devices from each other. - Clash Core Crash: Check the Logs tab in Verge Rev. If you see "bind: address already in use," another app is using port 7890.
- DNS Leaks: Some consoles require manual DNS settings to work properly with proxies. Try setting your console DNS to
8.8.8.8or1.1.1.1.
Conclusion
Enabling Allow LAN in Clash Verge Rev is the most efficient way to extend your proxy's reach without cluttering every device with extra software. By following the IP identification and firewall steps, you can turn your PC into a robust network hub.
→ Download Clash V.CORE for free to experience the ultimate control over your local network sharing and enjoy a faster, more stable connection on all your devices.