Introduction to Advanced Routing Features in v2rayN
In the new version of v2rayN, we found that there is no longer a PAC mode or global mode for HTTP proxies in the lower right corner as before. Instead, it has been replaced with an advanced router feature, which may not be very user-friendly for beginners. However, it is essentially the same, as it includes the addition of policies, making little difference.
Official download address of the software: Link
Several Modes of Advanced Routing Features in v2rayN
The advanced routing feature configuration of the v2ray client includes the following modes:
GFWlist blacklist (PAC proxy mode)
Whitelist bypass mode (bypass mainland China)
Global proxy
Global direct connection
Global blocking
Open the software - find settings - routing settings
You will find a familiar interface, and the software's default advanced routing features include global and bypass mainland China.
However, this is far from enough. Here, you need to manually configure more strategies.
After enabling the advanced routing feature, copy the code below and import it according to the following image.
v2rayN Advanced Routing Feature Proxy Rules
v2rayN Advanced Routing Feature Proxy Rule Set | GFWlist Blacklist (PAC Proxy Mode)
GFW blacklist mode, also known as PAC proxy mode, only allows blocked websites to use proxies, while all other websites are directly connected.
Explanation: The above V2Ray advanced routing rule set perfectly implements the PAC proxy mode, with the same effect. The principle is that domains in the GFW blacklist use proxies, while the remaining traffic of all domestic and foreign websites on ports 0-65535 is directly connected.
v2rayN Advanced Routing Feature Proxy Rule Set | Whitelist Bypass Mode (Bypass Mainland China)
All top-level domains managed by CNNIC for mainland China, as well as IP addresses located in mainland China, are directly connected, while all other websites are proxied.
v2rayN Advanced Routing Feature Proxy Rule Set | Global Proxy
All internet connections go through proxies.