Bypass bridge traffic in TProxy and simplify subscription refresh
This commit is contained in:
@@ -101,6 +101,7 @@ setup_tproxy() {
|
||||
ipt -t mangle -N "$TPROXY_CHAIN"
|
||||
ipt -t mangle -A "$TPROXY_CHAIN" -m addrtype --dst-type LOCAL -j RETURN
|
||||
ipt -t mangle -A "$TPROXY_CHAIN" -m mark --mark "$TPROXY_MARK" -j RETURN
|
||||
ipt -t mangle -A "$TPROXY_CHAIN" -i 'br-+' -j RETURN
|
||||
|
||||
# Private/local destinations stay reachable; every intercepted public packet goes to VPN.
|
||||
for cidr in $BYPASS_CIDRS; do
|
||||
|
||||
Reference in New Issue
Block a user