Introduction to LAN Sharing
In the modern networking landscape, we often find ourselves with multiple devices that require optimized routing. While installing a Clash client on every single device is one way to go, it isn't always possible. Game consoles like the Nintendo Switch, PlayStation 5, or even some smart IoT devices do not support native proxy applications. This is where LAN Sharing (Local Area Network Sharing) becomes an essential feature of Clash Verge Rev.
By enabling LAN sharing, your Windows or macOS computer acts as a proxy gateway. Any device connected to the same Wi-Fi or local network can route its traffic through your PC's Clash core. This allows your phone, tablet, or console to enjoy the same rules, speed, and privacy settings you've configured on your desktop.
Step 1: Enabling "Allow LAN"
The first step is to tell Clash that it is allowed to accept connections from other devices on your network. By default, for security reasons, most proxy clients only listen to the 127.0.0.1 (localhost) address, meaning only the PC itself can use the proxy.
- Open Clash Verge Rev.
- Navigate to the Settings tab on the left sidebar.
- Locate the Clash Core Settings or General section.
- Find the toggle labeled Allow LAN and switch it to ON.
Once enabled, Clash will start listening on 0.0.0.0, which is a networking way of saying "I am listening on all available network interfaces."
Step 2: Configuring the Mixed Port
The Mixed Port is a special port in Clash that supports both HTTP and SOCKS5 protocols simultaneously. This is highly recommended for LAN sharing because different devices use different protocols.
Typical Mixed Port Configuration in YAML
# Inside your Clash configuration
mixed-port: 7890
allow-lan: true
bind-address: '*'
mode: rule
log-level: info
In Clash Verge Rev, you can usually set this port in the UI under Settings > App Settings. The default is usually 7890. Make sure this port is not being used by other applications like Skype or local web servers.
Step 3: Finding Your PC's Local IP
To connect your other devices, you need to know the specific "address" of your PC on your home network. This is not your public IP (what Google sees), but your Internal IP.
On Windows:
- Press
Win + R, typecmd, and press Enter. - Type
ipconfigand look for "IPv4 Address" under your active connection (Wi-Fi or Ethernet). - It usually looks like
192.168.1.xor10.0.0.x.
On macOS:
- Go to
System Settings > Network. - Select your active network and click
Details. Your IP will be listed there.
Step 4: Setting Up Mobile Devices
Now that your PC is ready, grab your iPhone or Android device.
- Go to Settings > Wi-Fi.
- Tap the "i" or the arrow next to your connected Wi-Fi network.
- Scroll down to HTTP Proxy (iOS) or Proxy (Android).
- Select Manual.
- In the Server/Hostname field, enter your PC's IP (e.g.,
192.168.1.15). - In the Port field, enter
7890. - Save the settings.
Open your mobile browser and try to access a website. You should see the connection appearing in the Connections tab of Clash Verge Rev on your PC.
Step 5: Setting Up Nintendo Switch/PS5
Gaming consoles are a primary reason people use LAN sharing. It helps with downloading games faster or accessing regional eShops.
For Nintendo Switch:
- Go to System Settings > Internet > Internet Settings.
- Select your Wi-Fi and choose Change Settings.
- Change Proxy Settings to On.
- Enter your PC's IP and the port
7890. - Save and perform a Connection Test.
Note: Using a proxy on Switch is excellent for eShop access and game downloads, but for actual online gameplay (NAT Type issues), TUN Mode on the PC is often a better (though more complex) solution.
Step 6: Fixing Firewall Issues
One of the most common reasons LAN sharing fails is the Windows Firewall. It might allow Clash to run but block incoming connections from other devices.
clash-verge.exe or the specific port 7890.
To fix this, go to Control Panel > System and Security > Windows Defender Firewall > Allow an app through Firewall. Ensure that both "Private" and "Public" are checked for Clash Verge.
Conclusion
Enabling LAN sharing in Clash Verge Rev transforms your computer into a powerful network hub. It saves you from the hassle of configuring individual proxies on every device and ensures a consistent experience across your digital ecosystem. Whether you are speeding up a 50GB download on your PS5 or bypassing restrictions on a tablet, this method is the most efficient way to utilize your Clash configuration.
Compared to legacy tools that often require complex command-line arguments to bridge network interfaces, Clash Verge Rev makes the process visual and straightforward. While some "one-click" accelerators exist, they often lack the granular rule control that the Clash core provides.
→ Get the latest version of Clash Verge Rev today and start optimizing your entire home network with ease.