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.

Prerequisite: Ensure both your host PC (running Clash Verge Rev) and the client device (phone/console) are connected to the same router or local network segment.

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.

  1. Launch Clash Verge Rev on your Windows or macOS machine.
  2. Navigate to the Settings tab (usually the gear icon on the left sidebar).
  3. Look for the Allow LAN toggle under the "Clash Core" or "General" section.
  4. Switch the toggle to ON. You may see a prompt asking for administrator permissions to adjust network listening rules.
  5. 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)

Configuring a Nintendo Switch

For gaming consoles, the process is similar but buried in the internet settings menu.

  1. Go to System Settings > Internet > Internet Settings.
  2. Select your current Wi-Fi network and choose Change Settings.
  3. Scroll down to Proxy Settings and change it to On.
  4. Input your PC's IP and the port 7890.
  5. 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:

Compliance Notice: Always comply with your local laws and the terms of service of your ISP and game platform. This guide is for Clash technical explanation regarding network routing and DNS configuration only.

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.