From 5abc212822d09add68bf5b99db15caada3dbb9ca Mon Sep 17 00:00:00 2001 From: mzz2017 Date: Fri, 7 Feb 2020 15:05:25 +0800 Subject: [PATCH] fix: problem that sometimes docker-compose can not connect to the internet in transparent mode --- service/model/iptables/iptables.go | 1 + 1 file changed, 1 insertion(+) diff --git a/service/model/iptables/iptables.go b/service/model/iptables/iptables.go index 17052462..b7a8c241 100644 --- a/service/model/iptables/iptables.go +++ b/service/model/iptables/iptables.go @@ -136,6 +136,7 @@ iptables -t mangle -A PREROUTING -j SSTP_PRE # 打上 iptables 标记,mark 了的会走代理 iptables -t mangle -N SETMARK iptables -t mangle -A SETMARK -i docker+ -j RETURN +iptables -t mangle -A SETMARK -i br-+ -j RETURN ` //s := configure.GetSettingNotNil() //if s.AntiPollution != configure.AntipollutionNone {