October 18, 2026 · Advanced Setup · About 10 min

Allow LAN Connections in v2rayN: Share Your PC Proxy with Phones, Tablets, and TVs

Enable LAN access in v2rayN, set your device to use your PC’s IP and proxy port, then troubleshoot firewall and connection issues.

At a glance

First, make sure your node works on the PC. Then enable LAN listening in v2rayN and set the Android phone, tablet, or TV to use the PC’s local IPv4 address as its HTTP proxy. This guide covers Windows as the host, explains the difference between a mixed port and a separate HTTP port in older versions, and walks through troubleshooting the listener, network, firewall, and app. Use the port shown in your current settings—don’t rely on numbers from a guide.

1. How Proxy Sharing over a LAN Works

This feature makes your PC a proxy endpoint; it does not turn the PC into a router. Connected devices must actively use that endpoint. v2rayN on the PC then routes traffic directly or through the proxy according to its current routing rules. The PC must stay on, the proxy core must be running, and the phone and PC must be able to reach each other.

Device app LAN endpoint Core routing Destination

The “Set system proxy” option on the PC only affects apps that honor the PC’s system proxy settings; it does not configure a proxy on your phone. TUN mode is not required for this setup: a local HTTP or mixed inbound listener can accept proxy requests sent by devices on your LAN.

2. Enable LAN Access and Check the Actual Port

In v2rayN, open Settings → Parameter Settings, enable “Allow connections from the LAN,” and note the local listening port. Settings groups and port layouts vary by version. After saving, restart the core if prompted. If there’s no prompt, close and reopen the client, then check that it is listening.

10808
Common mixed or SOCKS port—check the protocol
10809
Separate HTTP port in some older versions
127.0.0.1
Loopback address, accessible only from this device

Newer configurations may use a mixed inbound that accepts both HTTP and SOCKS, commonly on port 10808. In some older configurations, SOCKS uses 10808 and HTTP uses 10809. The port number alone does not tell you which protocol it supports. If Android’s Wi-Fi settings ask for an HTTP proxy, use the port for an HTTP or mixed inbound—not a SOCKS-only listener.

Inbound typeHow to configure the client deviceWhat to check
HTTP inboundEnter its port in the manual Wi-Fi proxy settingsOften 10809 in older versions; use the actual value
Mixed inboundOne port can serve HTTP proxy clients and apps that support SOCKSOften 10808; verify the current core configuration
SOCKS-only inboundEnter it in an app that explicitly supports SOCKSNot suitable as a Wi-Fi HTTP proxy

Bottom line: identify the inbound type before entering a port

If your current configuration has one mixed port, use it. Don’t open 10809 just to match an older guide. If you already have a separate HTTP inbound, use its actual port.

3. Find Your PC’s IP and Configure the Phone or TV

In Windows Terminal, run ipconfig and find the IPv4 address under the connected “Wireless LAN adapter WLAN” or “Ethernet adapter.” Don’t use an address from a disconnected adapter, virtual machine, or TUN interface. 192.168.1.20 below is just an example; use the PC’s current address.

ipconfig

Example: mixed inbound

Proxy mode
Manual HTTP proxy
Host name
192.168.1.20
Port
10808
Requirement
10808 confirmed as a mixed inbound

Enter only the IP address as the host—no http:// prefix or port.

Example: separate HTTP inbound

Proxy mode
Manual HTTP proxy
Host name
192.168.1.20
Port
10809
Requirement
10809 confirmed as an HTTP inbound

Use this port only if a listener is actually configured on it.

  1. On your Android device, open Settings → Network & internet → Internet, then open the details or edit screen for the current Wi-Fi network. Some devices place this option under WLAN.
  2. Expand Advanced options, set Proxy to Manual, enter the PC’s IPv4 address and the confirmed HTTP or mixed port, then save.
  3. First, test by opening the target site in a browser. Temporarily turn off mobile data so the request doesn’t go over a different network.
  4. If your TV has a Network → Current network → Proxy settings menu, enter the address and port there. If the system has no such option and the app offers no proxy settings either, this setup won’t work directly.

On your phone, 127.0.0.1 refers to the phone itself, not the PC. 0.0.0.0 is a wildcard address used for listening, not the destination to enter on a client device. The PC’s address may change when it reconnects to the network. For a stable setup, reserve an address for the PC in your router’s DHCP settings, then verify the address again.

4. Allow Access Through Windows Firewall on Trusted Networks Only

Even with LAN listening enabled, Windows Firewall may block connections from other devices. First make sure you trust your home network. Go to Settings → Network & Internet → the current connection’s properties, then set the network profile to Private. Don’t mark a work, hotel, or public hotspot as trusted just to share a proxy.

  1. Search for and open Windows Defender Firewall with Advanced Security, then go to Inbound Rules → New Rule.
  2. Choose Port, select TCP, and enter only the port in use under Specific local ports—for example, 10808 for a mixed inbound.
  3. Select Allow the connection, check Private only under profiles, and give the rule a descriptive name.
  4. Open the rule’s Properties → Scope and limit the remote IP addresses to Local subnet, or narrow them further to the addresses of the devices that need access.

This TCP rule allows HTTP proxy connections as described here; it does not mean that every UDP app can use the proxy. If another firewall or endpoint security tool is installed, check its inbound rules too. Don’t disable all firewalls as a permanent fix.

5. Troubleshoot the Listener, Network, and Proxy Requests

Identify which layer is failing before changing settings. A page loading on the PC only shows that the local path may work; the browser may be connecting directly, so that doesn’t prove the phone can reach the PC’s proxy. The commands below use 10808 as an example. Replace it with the separate HTTP port if that’s what you use.

1. Check the listening address on the host PC

Get-NetTCPConnection -State Listen |
  Where-Object { $_.LocalPort -in 10808,10809 } |
  Select-Object LocalAddress,LocalPort,OwningProcess

In PowerShell, interpret the results as follows: 127.0.0.1 means listening on local IPv4 only; 0.0.0.0 means listening on all local IPv4 interfaces; a specific LAN address means listening on that interface only. If you see ::, test IPv4 reachability separately; this line alone doesn’t confirm dual-stack behavior. If the port isn’t listed, check whether the core failed to start, the port is in use, or the settings weren’t saved.

2. Test TCP connectivity from another computer on the LAN

Test-NetConnection -ComputerName 192.168.1.20 -Port 10808

Run this command on another Windows PC to test the LAN path. TcpTestSucceeded : True means only that the TCP connection was established; it doesn’t confirm that the proxy protocol, node, and destination site are all working. If it returns False, check the PC’s IP, firewall, guest network isolation, and whether the PC is asleep, in that order. A failed ping alone doesn’t prove the proxy is unavailable, since ICMP may be filtered.

3. Send an explicit HTTP proxy request

curl.exe --proxy http://192.168.1.20:10808 --connect-timeout 5 --max-time 20 --head https://example.com

Run this command on another Windows PC, replacing the address with the host PC’s actual IP. The URL is the test destination, not a node address. A refused connection usually points to the listener or firewall; a timeout suggests a network path issue. If the connection succeeds but the proxy request fails, check the inbound protocol, selected node, and logs. The HTTP status code reports only the result of this request; it is not a measure of overall connection speed.

6. Common Questions About Sharing a Proxy

Why can’t my phone connect even though it’s on the same Wi-Fi?

Make sure the phone isn’t connected to a guest network, then check the router for AP or client isolation. The PC can use Ethernet while the phone uses Wi-Fi, as long as wired and wireless devices are allowed to communicate. The same network name doesn’t guarantee that devices can reach each other.

Why don’t either 10808 or 10809 work?

Go back to Settings → Parameter Settings to check the actual inbound port, then verify it with a listening command. If it listens only on the local device, reapply the setting that allows LAN connections. If the port has been changed, use the new value instead of trying those two common numbers again.

Why can I open webpages, but video apps on my TV don’t use the proxy?

Check whether the TV app supports the system HTTP proxy. Some apps open their own network connections and ignore system proxy settings. Look for proxy settings in the app itself. If there’s no such option, changing the PC’s system proxy or routing rules won’t automatically route that app’s traffic through the PC.

What should I do if my phone loses its connection after the PC restarts?

Check in order that v2rayN and the core are running, the PC’s IPv4 address hasn’t changed, and the network profile is still Private. Apps that honor the phone’s manual proxy settings may fail to connect when the PC isn’t providing the proxy. When you’re not sharing, set the Wi-Fi proxy back to None.

Does all DNS traffic go through the proxy too?

Not necessarily. An HTTP proxy can receive a destination as a domain name and have the PC resolve it, but an app may resolve names itself or bypass the proxy. First verify a proxy request in a browser, then use the core logs to check the destination and outbound route. A Wi-Fi proxy setting does not route all DNS traffic from the device.

7. Checklist for Regular Use

For everyday sharing, keep the proxy endpoint reliable rather than adding more ways to route traffic. Sleep mode, switching wireless networks, DHCP address changes, and a stopped core can all disconnect devices that depend on the PC. Keep a note of the actual port and PC address; it’s easier to restore access than changing several settings repeatedly.

Download v2rayNChoose a client for your platform