Full system VPN-style tunneling using v2rayN, Shadowsocks, and Sing-box TUN mode.
Download the latest release from the official repository:
👉 https://github.com/2dust/v2rayN/releases
Choose:
v2rayN-windows-64-SelfContained.zip
Extract it and run v2rayN.exe as Administrator.
- Open v2rayN
- Click Servers → Add Server
- Select Shadowsocks
- Fill in:
- Address
- Port
- Password
- Encryption Method
- Save and select the server as active.
Navigate to:
Settings → Option Settings → Tun mode Setting
Apply these values:
| Setting | Value |
|---|---|
| Auto route | True |
| Strict Route | True |
| Stack | mixed |
| MTU | 65535 |
| Enable additional inbound | True |
| Enable IPV6 Address | True |
Go to:
Settings → Core Type Settings
Set:
Shadowsocks → Sing_box
Back in the main window:
✔ Enable TUN Mode
✔ Confirm administrator prompt
Your system traffic is now fully tunneled.
Sing-box is a modern universal proxy platform supporting:
- Shadowsocks
- VMess
- Trojan
- VLESS
- Full TUN VPN mode
Official documentation:
👉 https://sing-box.sagernet.org/
Sing-box is designed for NAT + TUN networking, making it more reliable than Xray for VPN-style tunneling.
Open PowerShell:
curl https://ipinfo.ioIf the IP matches your server location, the tunnel is active.
| Problem | Fix |
|---|---|
| No internet | Check Admin rights |
| DNS works but web doesn't | Ensure Sing-box core |
| TUN not starting | Disable antivirus temporarily |
| Slow speed | Lower MTU to 1400 |
-
v2rayN GitHub Releases
https://github.com/2dust/v2rayN/releases -
v2rayN TUN documentation
https://deepwiki.com/2dust/v2rayN/3.2-proxy-handling -
sing-box official documentation
https://sing-box.sagernet.org/ -
Community discussion on TUN + sing-box
2dust/v2rayN#5828
Use this software only in compliance with your local laws and regulations.
Happy tunneling with v2rayN + Sing-box! 🚀