fix: ip rule is not added when only binding to wan (#399)

This commit is contained in:
mzz
2024-01-02 20:02:00 +08:00
committed by GitHub
parent 9aa9b69c90
commit d1d0f6d16f
3 changed files with 10 additions and 4 deletions

View File

@ -202,6 +202,9 @@ routing {
# WAN.
pname(NetworkManager) -> direct
# Bypass DNS stubs. We want to bypass their DNS requests, thus use 'must'.
pname(systemd-resolved, dnsmasq) -> must_direct
# Put it in the front to prevent broadcast, multicast and other packets that should be sent to the LAN from being
# forwarded by the proxy.
# "dip" means destination IP.