Browse Source

Update dnsmasq.service

MoeClub 3 năm trước cách đây
mục cha
commit
f4e35c005a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      AnyConnect/build/dnsmasq.service

+ 2 - 0
AnyConnect/build/dnsmasq.service

@@ -6,6 +6,8 @@ After=dbus.service
 
 [Service]
 Type=simple
+#ExecStartPre=/usr/sbin/iptables -C INPUT -p tcp --dport 53 -j DROP 2>/dev/null || iptables -I INPUT -p tcp --dport 53 -j DROP
+#ExecStartPre=/usr/sbin/iptables -C INPUT -p tcp --dport 53 -j DROP 2>/dev/null || iptables -I INPUT -p tcp --dport 53 -j DROP
 ExecStart=/usr/sbin/dnsmasq -d -q
 ExecStop=/bin/kill -KILL $MAINPID
 RestartSec=3s