Skip to content

Setting Proxy Bypass ​

There are generally three ways to bypass the proxy: system proxy bypass, TUN traffic exclusion, and custom routing rules.

System Proxy Bypass ​

If you use system proxy, you can configure proxy bypass rules to specify which requests do not use the system proxy.

Example: Bypass the system proxy for requests sent to 10.1.2.* (localhost and LAN addresses also don’t need proxy).

System Proxy Bypass

TUN Traffic Exclusion ​

If you use TUN mode, you can configure TUN traffic exclusion rules to specify which traffic should not be routed through TUN.

For TUN configuration, please refer to the TUN Configuration Documentation.

Custom Routing Rules ​

Custom routing rules decide how requests are routed.

Example:

  • Make the 10.11.12.0/24 subnet use direct connection.
  • Make domains ending with baidu.com use a specified outbound.
yaml
rules:
  - IP-CIDR,10.11.12.0/24,DIRECT,no-resolve
  - DOMAIN-SUFFIX,baidu.com,OutboundName

For rule configuration, please refer to the Rules Configuration Documentation.