Closed AllForLandlord closed 2 years ago
我也是一样的问题……
一样的问题。
官方的bug,你可以在脚本里面加一句重启防火墙
原来是这样啊,谢谢回复!
更新dev
更新dev
谢谢,但似乎更新了dev还是关闭后没有网络...
断网状况的防火墙看下
断网状况的防火墙看下
*nat :PREROUTING ACCEPT [8:645] :INPUT ACCEPT [329:17370] :OUTPUT ACCEPT [29:1896] :POSTROUTING ACCEPT [11:710] :DOCKER - [0:0] :MINIUPNPD - [0:0] :MINIUPNPD-POSTROUTING - [0:0] :openclash - [0:0] :openclash_output - [0:0] :postrouting_docker_rule - [0:0] :postrouting_lan_rule - [0:0] :postrouting_rule - [0:0] :postrouting_wan_rule - [0:0] :prerouting_docker_rule - [0:0] :prerouting_lan_rule - [0:0] :prerouting_rule - [0:0] :prerouting_wan_rule - [0:0] :zone_docker_postrouting - [0:0] :zone_docker_prerouting - [0:0] :zone_lan_postrouting - [0:0] :zone_lan_prerouting - [0:0] :zone_wan_postrouting - [0:0] :zone_wan_prerouting - [0:0] -A PREROUTING -d 8.8.4.4/32 -p tcp -m comment --comment "OpenClash Google DNS Hijack" -m tcp --dport 53 -j REDIRECT --to-ports 7892 -A PREROUTING -d 8.8.8.8/32 -p tcp -m comment --comment "OpenClash Google DNS Hijack" -m tcp --dport 53 -j REDIRECT --to-ports 7892 -A PREROUTING -p tcp -m tcp --dport 53 -m comment --comment "OpenClash DNS Hijack" -j REDIRECT --to-ports 53 -A PREROUTING -p udp -m udp --dport 53 -m comment --comment "OpenClash DNS Hijack" -j REDIRECT --to-ports 53 -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER -A PREROUTING -m comment --comment "!fw3: Custom prerouting rule chain" -j prerouting_rule -A PREROUTING -i eth0 -m comment --comment "!fw3" -j zone_lan_prerouting -A PREROUTING -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_prerouting -A PREROUTING -i docker0 -m comment --comment "!fw3" -j zone_docker_prerouting -A PREROUTING -p tcp -j openclash -A PREROUTING -p udp -m comment --comment DNSMASQ -m udp --dport 53 -j REDIRECT --to-ports 53 -A PREROUTING -p tcp -m comment --comment DNSMASQ -m tcp --dport 53 -j REDIRECT --to-ports 53 -A PREROUTING -p udp -m comment --comment DNSMASQ -m udp --dport 53 -j REDIRECT --to-ports 53 -A PREROUTING -p tcp -m comment --comment DNSMASQ -m tcp --dport 53 -j REDIRECT --to-ports 53 -A OUTPUT ! -d 127.0.0.0/8 -m addrtype --dst-type LOCAL -j DOCKER -A OUTPUT -j openclash_output -A POSTROUTING -s 172.17.0.0/16 ! -o docker0 -j MASQUERADE -A POSTROUTING -s 172.17.0.2/32 -d 172.17.0.2/32 -p tcp -m tcp --dport 5700 -j MASQUERADE -A POSTROUTING -m comment --comment "!fw3: Custom postrouting rule chain" -j postrouting_rule -A POSTROUTING -o eth0 -m comment --comment "!fw3" -j zone_lan_postrouting -A POSTROUTING -o pppoe-wan -m comment --comment "!fw3" -j zone_wan_postrouting -A POSTROUTING -o docker0 -m comment --comment "!fw3" -j zone_docker_postrouting -A DOCKER -i docker0 -j RETURN -A DOCKER ! -i docker0 -p tcp -m tcp --dport 5700 -j DNAT --to-destination 172.17.0.2:5700 -A MINIUPNPD -p tcp -m tcp --dport 26804 -j DNAT --to-destination 192.168.2.148:26804 -A MINIUPNPD -p udp -m udp --dport 26804 -j DNAT --to-destination 192.168.2.148:26804 -A openclash -m set --match-set localnetwork dst -j RETURN -A openclash -m set --match-set lan_ac_black_ips src -j RETURN -A openclash -p tcp -j REDIRECT --to-ports 7892 -A openclash_output -m set --match-set localnetwork dst -j RETURN -A openclash_output -p tcp -m owner ! --uid-owner 65534 -j REDIRECT --to-ports 7892 -A zone_docker_postrouting -m comment --comment "!fw3: Custom docker postrouting rule chain" -j postrouting_docker_rule -A zone_docker_prerouting -m comment --comment "!fw3: Custom docker prerouting rule chain" -j prerouting_docker_rule -A zone_lan_postrouting -m comment --comment "!fw3: Custom lan postrouting rule chain" -j postrouting_lan_rule -A zone_lan_prerouting -m comment --comment "!fw3: Custom lan prerouting rule chain" -j prerouting_lan_rule -A zone_wan_postrouting -j MINIUPNPD-POSTROUTING -A zone_wan_postrouting -m comment --comment "!fw3: Custom wan postrouting rule chain" -j postrouting_wan_rule -A zone_wan_postrouting -m comment --comment "!fw3" -j FULLCONENAT -A zone_wan_prerouting -j MINIUPNPD -A zone_wan_prerouting -m comment --comment "!fw3: Custom wan prerouting rule chain" -j prerouting_wan_rule -A zone_wan_prerouting -m comment --comment "!fw3" -j FULLCONENAT COMMIT
*mangle :PREROUTING ACCEPT [20202498:20972436447] :INPUT ACCEPT [19876420:20932997361] :FORWARD ACCEPT [325723:39417092] :OUTPUT ACCEPT [9906818:20398193698] :POSTROUTING ACCEPT [10202629:20436301420] -A FORWARD -o pppoe-wan -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu -A FORWARD -i pppoe-wan -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu COMMIT
*filter :INPUT ACCEPT [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] :DOCKER - [0:0] :DOCKER-ISOLATION-STAGE-1 - [0:0] :DOCKER-ISOLATION-STAGE-2 - [0:0] :DOCKER-MAN - [0:0] :DOCKER-USER - [0:0] :MINIUPNPD - [0:0] :forwarding_docker_rule - [0:0] :forwarding_lan_rule - [0:0] :forwarding_rule - [0:0] :forwarding_wan_rule - [0:0] :input_docker_rule - [0:0] :input_lan_rule - [0:0] :input_rule - [0:0] :input_wan_rule - [0:0] :openclash_wan_input - [0:0] :output_docker_rule - [0:0] :output_lan_rule - [0:0] :output_rule - [0:0] :output_wan_rule - [0:0] :reject - [0:0] :syn_flood - [0:0] :zone_docker_dest_ACCEPT - [0:0] :zone_docker_forward - [0:0] :zone_docker_input - [0:0] :zone_docker_output - [0:0] :zone_docker_src_ACCEPT - [0:0] :zone_lan_dest_ACCEPT - [0:0] :zone_lan_forward - [0:0] :zone_lan_input - [0:0] :zone_lan_output - [0:0] :zone_lan_src_ACCEPT - [0:0] :zone_wan_dest_ACCEPT - [0:0] :zone_wan_dest_REJECT - [0:0] :zone_wan_forward - [0:0] :zone_wan_input - [0:0] :zone_wan_output - [0:0] :zone_wan_src_REJECT - [0:0] -A INPUT -i pppoe-wan -j openclash_wan_input -A INPUT -i lo -m comment --comment "!fw3" -j ACCEPT -A INPUT -m comment --comment "!fw3: Custom input rule chain" -j input_rule -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT -A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m comment --comment "!fw3" -j syn_flood -A INPUT -i eth0 -m comment --comment "!fw3" -j zone_lan_input -A INPUT -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_input -A INPUT -i docker0 -m comment --comment "!fw3" -j zone_docker_input -A FORWARD -j DOCKER-USER -A FORWARD -j DOCKER-ISOLATION-STAGE-1 -A FORWARD -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A FORWARD -o docker0 -j DOCKER -A FORWARD -i docker0 ! -o docker0 -j ACCEPT -A FORWARD -i docker0 -o docker0 -j ACCEPT -A FORWARD -m comment --comment "!fw3: Custom forwarding rule chain" -j forwarding_rule -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT -A FORWARD -i eth0 -m comment --comment "!fw3" -j zone_lan_forward -A FORWARD -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_forward -A FORWARD -i docker0 -m comment --comment "!fw3" -j zone_docker_forward -A FORWARD -m comment --comment "!fw3" -j reject -A OUTPUT -o lo -m comment --comment "!fw3" -j ACCEPT -A OUTPUT -m comment --comment "!fw3: Custom output rule chain" -j output_rule -A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT -A OUTPUT -o eth0 -m comment --comment "!fw3" -j zone_lan_output -A OUTPUT -o pppoe-wan -m comment --comment "!fw3" -j zone_wan_output -A OUTPUT -o docker0 -m comment --comment "!fw3" -j zone_docker_output -A DOCKER -d 172.17.0.2/32 ! -i docker0 -o docker0 -p tcp -m tcp --dport 5700 -j ACCEPT -A DOCKER-ISOLATION-STAGE-1 -i docker0 ! -o docker0 -j DOCKER-ISOLATION-STAGE-2 -A DOCKER-ISOLATION-STAGE-1 -j RETURN -A DOCKER-ISOLATION-STAGE-2 -o docker0 -j DROP -A DOCKER-ISOLATION-STAGE-2 -j RETURN -A DOCKER-MAN -i eth0 -o docker0 -j RETURN -A DOCKER-MAN -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j RETURN -A DOCKER-MAN -o docker0 -m conntrack --ctstate INVALID,NEW -j DROP -A DOCKER-MAN -j RETURN -A DOCKER-USER -j DOCKER-MAN -A DOCKER-USER -j RETURN -A MINIUPNPD -d 192.168.2.148/32 -p tcp -m tcp --dport 26804 -j ACCEPT -A MINIUPNPD -d 192.168.2.148/32 -p udp -m udp --dport 26804 -j ACCEPT -A openclash_wan_input -p udp -m multiport --dports 7892,7895,9090,7890,7891,7893,7874 -j REJECT --reject-with icmp-port-unreachable -A openclash_wan_input -p tcp -m multiport --dports 7892,7895,9090,7890,7891,7893,7874 -j REJECT --reject-with icmp-port-unreachable -A reject -p tcp -m comment --comment "!fw3" -j REJECT --reject-with tcp-reset -A reject -m comment --comment "!fw3" -j REJECT --reject-with icmp-port-unreachable -A syn_flood -m limit --limit 25/sec --limit-burst 50 -m comment --comment "!fw3" -j RETURN -A syn_flood -m comment --comment "!fw3" -j DROP -A zone_docker_dest_ACCEPT -o docker0 -m comment --comment "!fw3" -j ACCEPT -A zone_docker_forward -m comment --comment "!fw3: Custom docker forwarding rule chain" -j forwarding_docker_rule -A zone_docker_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT -A zone_docker_forward -m comment --comment "!fw3" -j zone_docker_dest_ACCEPT -A zone_docker_input -m comment --comment "!fw3: Custom docker input rule chain" -j input_docker_rule -A zone_docker_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT -A zone_docker_input -m comment --comment "!fw3" -j zone_docker_src_ACCEPT -A zone_docker_output -m comment --comment "!fw3: Custom docker output rule chain" -j output_docker_rule -A zone_docker_output -m comment --comment "!fw3" -j zone_docker_dest_ACCEPT -A zone_docker_src_ACCEPT -i docker0 -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT -A zone_lan_dest_ACCEPT -o eth0 -m comment --comment "!fw3" -j ACCEPT -A zone_lan_forward -m comment --comment "!fw3: Custom lan forwarding rule chain" -j forwarding_lan_rule -A zone_lan_forward -m comment --comment "!fw3: Zone lan to wan forwarding policy" -j zone_wan_dest_ACCEPT -A zone_lan_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT -A zone_lan_forward -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT -A zone_lan_input -m comment --comment "!fw3: Custom lan input rule chain" -j input_lan_rule -A zone_lan_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT -A zone_lan_input -m comment --comment "!fw3" -j zone_lan_src_ACCEPT -A zone_lan_output -m comment --comment "!fw3: Custom lan output rule chain" -j output_lan_rule -A zone_lan_output -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT -A zone_lan_src_ACCEPT -i eth0 -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT -A zone_wan_dest_ACCEPT -o pppoe-wan -m conntrack --ctstate INVALID -m comment --comment "!fw3: Prevent NAT leakage" -j DROP -A zone_wan_dest_ACCEPT -o pppoe-wan -m comment --comment "!fw3" -j ACCEPT -A zone_wan_dest_REJECT -o pppoe-wan -m comment --comment "!fw3" -j reject -A zone_wan_forward -j MINIUPNPD -A zone_wan_forward -m comment --comment "!fw3: Custom wan forwarding rule chain" -j forwarding_wan_rule -A zone_wan_forward -p esp -m comment --comment "!fw3: Allow-IPSec-ESP" -j zone_lan_dest_ACCEPT -A zone_wan_forward -p udp -m udp --dport 500 -m comment --comment "!fw3: Allow-ISAKMP" -j zone_lan_dest_ACCEPT -A zone_wan_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT -A zone_wan_forward -m comment --comment "!fw3" -j zone_wan_dest_REJECT -A zone_wan_input -m comment --comment "!fw3: Custom wan input rule chain" -j input_wan_rule -A zone_wan_input -p udp -m udp --dport 68 -m comment --comment "!fw3: Allow-DHCP-Renew" -j ACCEPT -A zone_wan_input -p icmp -m icmp --icmp-type 8 -m comment --comment "!fw3: Allow-Ping" -j ACCEPT -A zone_wan_input -p igmp -m comment --comment "!fw3: Allow-IGMP" -j ACCEPT -A zone_wan_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT -A zone_wan_input -m comment --comment "!fw3" -j zone_wan_src_REJECT -A zone_wan_output -m comment --comment "!fw3: Custom wan output rule chain" -j output_wan_rule -A zone_wan_output -m comment --comment "!fw3" -j zone_wan_dest_ACCEPT -A zone_wan_src_REJECT -i pppoe-wan -m comment --comment "!fw3" -j reject COMMIT
*nat :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :OUTPUT ACCEPT [4:370] :POSTROUTING ACCEPT [4:370] -A PREROUTING -p udp -m comment --comment DNSMASQ -m udp --dport 53 -j REDIRECT --to-ports 53 -A PREROUTING -p tcp -m comment --comment DNSMASQ -m tcp --dport 53 -j REDIRECT --to-ports 53 -A PREROUTING -p udp -m comment --comment DNSMASQ -m udp --dport 53 -j REDIRECT --to-ports 53 -A PREROUTING -p tcp -m comment --comment DNSMASQ -m tcp --dport 53 -j REDIRECT --to-ports 53 COMMIT
*mangle :PREROUTING ACCEPT [1270:132706] :INPUT ACCEPT [1270:132706] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [923:104786] :POSTROUTING ACCEPT [923:104786] -A FORWARD -o pppoe-wan -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu -A FORWARD -i pppoe-wan -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu COMMIT
*filter :INPUT ACCEPT [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [7:648] :MINIUPNPD - [0:0] :forwarding_docker_rule - [0:0] :forwarding_lan_rule - [0:0] :forwarding_rule - [0:0] :forwarding_wan_rule - [0:0] :input_docker_rule - [0:0] :input_lan_rule - [0:0] :input_rule - [0:0] :input_wan_rule - [0:0] :output_docker_rule - [0:0] :output_lan_rule - [0:0] :output_rule - [0:0] :output_wan_rule - [0:0] :reject - [0:0] :syn_flood - [0:0] :zone_docker_dest_ACCEPT - [0:0] :zone_docker_forward - [0:0] :zone_docker_input - [0:0] :zone_docker_output - [0:0] :zone_docker_src_ACCEPT - [0:0] :zone_lan_dest_ACCEPT - [0:0] :zone_lan_forward - [0:0] :zone_lan_input - [0:0] :zone_lan_output - [0:0] :zone_lan_src_ACCEPT - [0:0] :zone_wan_dest_ACCEPT - [0:0] :zone_wan_dest_REJECT - [0:0] :zone_wan_forward - [0:0] :zone_wan_input - [0:0] :zone_wan_output - [0:0] :zone_wan_src_REJECT - [0:0] -A INPUT -i lo -m comment --comment "!fw3" -j ACCEPT -A INPUT -m comment --comment "!fw3: Custom input rule chain" -j input_rule -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT -A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m comment --comment "!fw3" -j syn_flood -A INPUT -i eth0 -m comment --comment "!fw3" -j zone_lan_input -A INPUT -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_input -A INPUT -i docker0 -m comment --comment "!fw3" -j zone_docker_input -A FORWARD -m comment --comment "!fw3: Custom forwarding rule chain" -j forwarding_rule -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT -A FORWARD -i eth0 -m comment --comment "!fw3" -j zone_lan_forward -A FORWARD -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_forward -A FORWARD -i docker0 -m comment --comment "!fw3" -j zone_docker_forward -A FORWARD -m comment --comment "!fw3" -j reject -A OUTPUT -o lo -m comment --comment "!fw3" -j ACCEPT -A OUTPUT -m comment --comment "!fw3: Custom output rule chain" -j output_rule -A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT -A OUTPUT -o eth0 -m comment --comment "!fw3" -j zone_lan_output -A OUTPUT -o pppoe-wan -m comment --comment "!fw3" -j zone_wan_output -A OUTPUT -o docker0 -m comment --comment "!fw3" -j zone_docker_output -A reject -p tcp -m comment --comment "!fw3" -j REJECT --reject-with tcp-reset -A reject -m comment --comment "!fw3" -j REJECT --reject-with icmp6-port-unreachable -A syn_flood -m limit --limit 25/sec --limit-burst 50 -m comment --comment "!fw3" -j RETURN -A syn_flood -m comment --comment "!fw3" -j DROP -A zone_docker_dest_ACCEPT -o docker0 -m comment --comment "!fw3" -j ACCEPT -A zone_docker_forward -m comment --comment "!fw3: Custom docker forwarding rule chain" -j forwarding_docker_rule -A zone_docker_forward -m comment --comment "!fw3" -j zone_docker_dest_ACCEPT -A zone_docker_input -m comment --comment "!fw3: Custom docker input rule chain" -j input_docker_rule -A zone_docker_input -m comment --comment "!fw3" -j zone_docker_src_ACCEPT -A zone_docker_output -m comment --comment "!fw3: Custom docker output rule chain" -j output_docker_rule -A zone_docker_output -m comment --comment "!fw3" -j zone_docker_dest_ACCEPT -A zone_docker_src_ACCEPT -i docker0 -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT -A zone_lan_dest_ACCEPT -o eth0 -m comment --comment "!fw3" -j ACCEPT -A zone_lan_forward -m comment --comment "!fw3: Custom lan forwarding rule chain" -j forwarding_lan_rule -A zone_lan_forward -m comment --comment "!fw3: Zone lan to wan forwarding policy" -j zone_wan_dest_ACCEPT -A zone_lan_forward -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT -A zone_lan_input -m comment --comment "!fw3: Custom lan input rule chain" -j input_lan_rule -A zone_lan_input -m comment --comment "!fw3" -j zone_lan_src_ACCEPT -A zone_lan_output -m comment --comment "!fw3: Custom lan output rule chain" -j output_lan_rule -A zone_lan_output -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT -A zone_lan_src_ACCEPT -i eth0 -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT -A zone_wan_dest_ACCEPT -o pppoe-wan -m conntrack --ctstate INVALID -m comment --comment "!fw3: Prevent NAT leakage" -j DROP -A zone_wan_dest_ACCEPT -o pppoe-wan -m comment --comment "!fw3" -j ACCEPT -A zone_wan_dest_REJECT -o pppoe-wan -m comment --comment "!fw3" -j reject -A zone_wan_forward -j MINIUPNPD -A zone_wan_forward -m comment --comment "!fw3: Custom wan forwarding rule chain" -j forwarding_wan_rule -A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 128 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT -A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 129 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT -A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 1 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT -A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 2 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT -A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 3 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT -A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 4/0 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT -A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 4/1 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT -A zone_wan_forward -p esp -m comment --comment "!fw3: Allow-IPSec-ESP" -j zone_lan_dest_ACCEPT -A zone_wan_forward -p udp -m udp --dport 500 -m comment --comment "!fw3: Allow-ISAKMP" -j zone_lan_dest_ACCEPT -A zone_wan_forward -m comment --comment "!fw3" -j zone_wan_dest_REJECT -A zone_wan_input -m comment --comment "!fw3: Custom wan input rule chain" -j input_wan_rule -A zone_wan_input -s fc00::/6 -d fc00::/6 -p udp -m udp --dport 546 -m comment --comment "!fw3: Allow-DHCPv6" -j ACCEPT -A zone_wan_input -s fe80::/10 -p ipv6-icmp -m icmp6 --icmpv6-type 130/0 -m comment --comment "!fw3: Allow-MLD" -j ACCEPT -A zone_wan_input -s fe80::/10 -p ipv6-icmp -m icmp6 --icmpv6-type 131/0 -m comment --comment "!fw3: Allow-MLD" -j ACCEPT -A zone_wan_input -s fe80::/10 -p ipv6-icmp -m icmp6 --icmpv6-type 132/0 -m comment --comment "!fw3: Allow-MLD" -j ACCEPT -A zone_wan_input -s fe80::/10 -p ipv6-icmp -m icmp6 --icmpv6-type 143/0 -m comment --comment "!fw3: Allow-MLD" -j ACCEPT -A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 128 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT -A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 129 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT -A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 1 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT -A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 2 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT -A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 3 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT -A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 4/0 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT -A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 4/1 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT -A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 133 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT -A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 135 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT -A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 134 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT -A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 136 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT -A zone_wan_input -m comment --comment "!fw3" -j zone_wan_src_REJECT -A zone_wan_output -m comment --comment "!fw3: Custom wan output rule chain" -j output_wan_rule -A zone_wan_output -m comment --comment "!fw3" -j zone_wan_dest_ACCEPT -A zone_wan_src_REJECT -i pppoe-wan -m comment --comment "!fw3" -j reject COMMIT
@AllForLandlord 界面上点击关闭openclash之后 ssh登录后台输入iptables-save 把输出的结果贴一下看看. 上面的防火墙结果是在openclash显示未运行的情况下点调试日志生成的?
@AllForLandlord 界面上点击关闭openclash之后 ssh登录后台输入iptables-save 把输出的结果贴一下看看. 上面的防火墙结果是在openclash显示未运行的情况下点调试日志生成的?
是的。下面的是按照您说的日志:
*nat :PREROUTING ACCEPT [9:452] :INPUT ACCEPT [935:51434] :OUTPUT ACCEPT [86:5730] :POSTROUTING ACCEPT [0:0] :DOCKER - [0:0] :MINIUPNPD - [0:0] :MINIUPNPD-POSTROUTING - [0:0] :openclash - [0:0] :openclash_output - [0:0] :postrouting_docker_rule - [0:0] :postrouting_lan_rule - [0:0] :postrouting_rule - [0:0] :postrouting_wan_rule - [0:0] :prerouting_docker_rule - [0:0] :prerouting_lan_rule - [0:0] :prerouting_rule - [0:0] :prerouting_wan_rule - [0:0] :zone_docker_postrouting - [0:0] :zone_docker_prerouting - [0:0] :zone_lan_postrouting - [0:0] :zone_lan_prerouting - [0:0] :zone_wan_postrouting - [0:0] :zone_wan_prerouting - [0:0] -A PREROUTING -d 8.8.4.4/32 -p tcp -m comment --comment "OpenClash Google DNS Hijack" -m tcp --dport 53 -j REDIRECT --to-ports 7892 -A PREROUTING -d 8.8.8.8/32 -p tcp -m comment --comment "OpenClash Google DNS Hijack" -m tcp --dport 53 -j REDIRECT --to-ports 7892 -A PREROUTING -p tcp -m tcp --dport 53 -m comment --comment "OpenClash DNS Hijack" -j REDIRECT --to-ports 53 -A PREROUTING -p udp -m udp --dport 53 -m comment --comment "OpenClash DNS Hijack" -j REDIRECT --to-ports 53 -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER -A PREROUTING -m comment --comment "!fw3: Custom prerouting rule chain" -j prerouting_rule -A PREROUTING -i eth0 -m comment --comment "!fw3" -j zone_lan_prerouting -A PREROUTING -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_prerouting -A PREROUTING -i docker0 -m comment --comment "!fw3" -j zone_docker_prerouting -A PREROUTING -p tcp -j openclash -A PREROUTING -p udp -m comment --comment DNSMASQ -m udp --dport 53 -j REDIRECT --to-ports 53 -A PREROUTING -p tcp -m comment --comment DNSMASQ -m tcp --dport 53 -j REDIRECT --to-ports 53 -A PREROUTING -p udp -m comment --comment DNSMASQ -m udp --dport 53 -j REDIRECT --to-ports 53 -A PREROUTING -p tcp -m comment --comment DNSMASQ -m tcp --dport 53 -j REDIRECT --to-ports 53 -A OUTPUT ! -d 127.0.0.0/8 -m addrtype --dst-type LOCAL -j DOCKER -A OUTPUT -j openclash_output -A POSTROUTING -s 172.17.0.0/16 ! -o docker0 -j MASQUERADE -A POSTROUTING -s 172.17.0.2/32 -d 172.17.0.2/32 -p tcp -m tcp --dport 5700 -j MASQUERADE -A POSTROUTING -m comment --comment "!fw3: Custom postrouting rule chain" -j postrouting_rule -A POSTROUTING -o eth0 -m comment --comment "!fw3" -j zone_lan_postrouting -A POSTROUTING -o pppoe-wan -m comment --comment "!fw3" -j zone_wan_postrouting -A POSTROUTING -o docker0 -m comment --comment "!fw3" -j zone_docker_postrouting -A DOCKER -i docker0 -j RETURN -A DOCKER ! -i docker0 -p tcp -m tcp --dport 5700 -j DNAT --to-destination 172.17.0.2:5700 -A MINIUPNPD -p tcp -m tcp --dport 26804 -j DNAT --to-destination 192.168.2.148:26804 -A MINIUPNPD -p udp -m udp --dport 26804 -j DNAT --to-destination 192.168.2.148:26804 -A openclash -m set --match-set localnetwork dst -j RETURN -A openclash -m set --match-set lan_ac_black_ips src -j RETURN -A openclash -p tcp -j REDIRECT --to-ports 7892 -A openclash_output -m set --match-set localnetwork dst -j RETURN -A openclash_output -p tcp -m owner ! --uid-owner 65534 -j REDIRECT --to-ports 7892 -A zone_docker_postrouting -m comment --comment "!fw3: Custom docker postrouting rule chain" -j postrouting_docker_rule -A zone_docker_prerouting -m comment --comment "!fw3: Custom docker prerouting rule chain" -j prerouting_docker_rule -A zone_lan_postrouting -m comment --comment "!fw3: Custom lan postrouting rule chain" -j postrouting_lan_rule -A zone_lan_prerouting -m comment --comment "!fw3: Custom lan prerouting rule chain" -j prerouting_lan_rule -A zone_wan_postrouting -j MINIUPNPD-POSTROUTING -A zone_wan_postrouting -m comment --comment "!fw3: Custom wan postrouting rule chain" -j postrouting_wan_rule -A zone_wan_postrouting -m comment --comment "!fw3" -j FULLCONENAT -A zone_wan_prerouting -j MINIUPNPD -A zone_wan_prerouting -m comment --comment "!fw3: Custom wan prerouting rule chain" -j prerouting_wan_rule -A zone_wan_prerouting -m comment --comment "!fw3" -j FULLCONENAT COMMIT
*mangle :PREROUTING ACCEPT [25727776:26186071711] :INPUT ACCEPT [25340048:26139387936] :FORWARD ACCEPT [387274:46656297] :OUTPUT ACCEPT [12857189:25491040148] :POSTROUTING ACCEPT [13203124:25535904935] -A FORWARD -o pppoe-wan -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu -A FORWARD -i pppoe-wan -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu COMMIT
*filter :INPUT ACCEPT [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] :DOCKER - [0:0] :DOCKER-ISOLATION-STAGE-1 - [0:0] :DOCKER-ISOLATION-STAGE-2 - [0:0] :DOCKER-MAN - [0:0] :DOCKER-USER - [0:0] :MINIUPNPD - [0:0] :forwarding_docker_rule - [0:0] :forwarding_lan_rule - [0:0] :forwarding_rule - [0:0] :forwarding_wan_rule - [0:0] :input_docker_rule - [0:0] :input_lan_rule - [0:0] :input_rule - [0:0] :input_wan_rule - [0:0] :openclash_wan_input - [0:0] :output_docker_rule - [0:0] :output_lan_rule - [0:0] :output_rule - [0:0] :output_wan_rule - [0:0] :reject - [0:0] :syn_flood - [0:0] :zone_docker_dest_ACCEPT - [0:0] :zone_docker_forward - [0:0] :zone_docker_input - [0:0] :zone_docker_output - [0:0] :zone_docker_src_ACCEPT - [0:0] :zone_lan_dest_ACCEPT - [0:0] :zone_lan_forward - [0:0] :zone_lan_input - [0:0] :zone_lan_output - [0:0] :zone_lan_src_ACCEPT - [0:0] :zone_wan_dest_ACCEPT - [0:0] :zone_wan_dest_REJECT - [0:0] :zone_wan_forward - [0:0] :zone_wan_input - [0:0] :zone_wan_output - [0:0] :zone_wan_src_REJECT - [0:0] -A INPUT -i pppoe-wan -j openclash_wan_input -A INPUT -i lo -m comment --comment "!fw3" -j ACCEPT -A INPUT -m comment --comment "!fw3: Custom input rule chain" -j input_rule -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT -A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m comment --comment "!fw3" -j syn_flood -A INPUT -i eth0 -m comment --comment "!fw3" -j zone_lan_input -A INPUT -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_input -A INPUT -i docker0 -m comment --comment "!fw3" -j zone_docker_input -A FORWARD -j DOCKER-USER -A FORWARD -j DOCKER-ISOLATION-STAGE-1 -A FORWARD -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A FORWARD -o docker0 -j DOCKER -A FORWARD -i docker0 ! -o docker0 -j ACCEPT -A FORWARD -i docker0 -o docker0 -j ACCEPT -A FORWARD -m comment --comment "!fw3: Custom forwarding rule chain" -j forwarding_rule -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT -A FORWARD -i eth0 -m comment --comment "!fw3" -j zone_lan_forward -A FORWARD -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_forward -A FORWARD -i docker0 -m comment --comment "!fw3" -j zone_docker_forward -A FORWARD -m comment --comment "!fw3" -j reject -A OUTPUT -o lo -m comment --comment "!fw3" -j ACCEPT -A OUTPUT -m comment --comment "!fw3: Custom output rule chain" -j output_rule -A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT -A OUTPUT -o eth0 -m comment --comment "!fw3" -j zone_lan_output -A OUTPUT -o pppoe-wan -m comment --comment "!fw3" -j zone_wan_output -A OUTPUT -o docker0 -m comment --comment "!fw3" -j zone_docker_output -A DOCKER -d 172.17.0.2/32 ! -i docker0 -o docker0 -p tcp -m tcp --dport 5700 -j ACCEPT -A DOCKER-ISOLATION-STAGE-1 -i docker0 ! -o docker0 -j DOCKER-ISOLATION-STAGE-2 -A DOCKER-ISOLATION-STAGE-1 -j RETURN -A DOCKER-ISOLATION-STAGE-2 -o docker0 -j DROP -A DOCKER-ISOLATION-STAGE-2 -j RETURN -A DOCKER-MAN -i eth0 -o docker0 -j RETURN -A DOCKER-MAN -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j RETURN -A DOCKER-MAN -o docker0 -m conntrack --ctstate INVALID,NEW -j DROP -A DOCKER-MAN -j RETURN -A DOCKER-USER -j DOCKER-MAN -A DOCKER-USER -j RETURN -A MINIUPNPD -d 192.168.2.148/32 -p tcp -m tcp --dport 26804 -j ACCEPT -A MINIUPNPD -d 192.168.2.148/32 -p udp -m udp --dport 26804 -j ACCEPT -A openclash_wan_input -p udp -m multiport --dports 7892,7895,9090,7890,7891,7893,7874 -j REJECT --reject-with icmp-port-unreachable -A openclash_wan_input -p tcp -m multiport --dports 7892,7895,9090,7890,7891,7893,7874 -j REJECT --reject-with icmp-port-unreachable -A reject -p tcp -m comment --comment "!fw3" -j REJECT --reject-with tcp-reset -A reject -m comment --comment "!fw3" -j REJECT --reject-with icmp-port-unreachable -A syn_flood -m limit --limit 25/sec --limit-burst 50 -m comment --comment "!fw3" -j RETURN -A syn_flood -m comment --comment "!fw3" -j DROP -A zone_docker_dest_ACCEPT -o docker0 -m comment --comment "!fw3" -j ACCEPT -A zone_docker_forward -m comment --comment "!fw3: Custom docker forwarding rule chain" -j forwarding_docker_rule -A zone_docker_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT -A zone_docker_forward -m comment --comment "!fw3" -j zone_docker_dest_ACCEPT -A zone_docker_input -m comment --comment "!fw3: Custom docker input rule chain" -j input_docker_rule -A zone_docker_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT -A zone_docker_input -m comment --comment "!fw3" -j zone_docker_src_ACCEPT -A zone_docker_output -m comment --comment "!fw3: Custom docker output rule chain" -j output_docker_rule -A zone_docker_output -m comment --comment "!fw3" -j zone_docker_dest_ACCEPT -A zone_docker_src_ACCEPT -i docker0 -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT -A zone_lan_dest_ACCEPT -o eth0 -m comment --comment "!fw3" -j ACCEPT -A zone_lan_forward -m comment --comment "!fw3: Custom lan forwarding rule chain" -j forwarding_lan_rule -A zone_lan_forward -m comment --comment "!fw3: Zone lan to wan forwarding policy" -j zone_wan_dest_ACCEPT -A zone_lan_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT -A zone_lan_forward -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT -A zone_lan_input -m comment --comment "!fw3: Custom lan input rule chain" -j input_lan_rule -A zone_lan_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT -A zone_lan_input -m comment --comment "!fw3" -j zone_lan_src_ACCEPT -A zone_lan_output -m comment --comment "!fw3: Custom lan output rule chain" -j output_lan_rule -A zone_lan_output -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT -A zone_lan_src_ACCEPT -i eth0 -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT -A zone_wan_dest_ACCEPT -o pppoe-wan -m conntrack --ctstate INVALID -m comment --comment "!fw3: Prevent NAT leakage" -j DROP -A zone_wan_dest_ACCEPT -o pppoe-wan -m comment --comment "!fw3" -j ACCEPT -A zone_wan_dest_REJECT -o pppoe-wan -m comment --comment "!fw3" -j reject -A zone_wan_forward -j MINIUPNPD -A zone_wan_forward -m comment --comment "!fw3: Custom wan forwarding rule chain" -j forwarding_wan_rule -A zone_wan_forward -p esp -m comment --comment "!fw3: Allow-IPSec-ESP" -j zone_lan_dest_ACCEPT -A zone_wan_forward -p udp -m udp --dport 500 -m comment --comment "!fw3: Allow-ISAKMP" -j zone_lan_dest_ACCEPT -A zone_wan_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT -A zone_wan_forward -m comment --comment "!fw3" -j zone_wan_dest_REJECT -A zone_wan_input -m comment --comment "!fw3: Custom wan input rule chain" -j input_wan_rule -A zone_wan_input -p udp -m udp --dport 68 -m comment --comment "!fw3: Allow-DHCP-Renew" -j ACCEPT -A zone_wan_input -p icmp -m icmp --icmp-type 8 -m comment --comment "!fw3: Allow-Ping" -j ACCEPT -A zone_wan_input -p igmp -m comment --comment "!fw3: Allow-IGMP" -j ACCEPT -A zone_wan_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT -A zone_wan_input -m comment --comment "!fw3" -j zone_wan_src_REJECT -A zone_wan_output -m comment --comment "!fw3: Custom wan output rule chain" -j output_wan_rule -A zone_wan_output -m comment --comment "!fw3" -j zone_wan_dest_ACCEPT -A zone_wan_src_REJECT -i pppoe-wan -m comment --comment "!fw3" -j reject COMMIT
openclash.zip 先正常启动openclash, 然后用压缩包中的文件替换/etc/init.d/中的同名文件. 然后在界面点击关闭openclash. 之后在/tmp/目录下找到oc.log文件, 里面的内容发出来
@AllForLandlord
wow,按照您说的把文件替换之后我关闭openclash以后就能直接通网了! 下面是oc.log的内容: Thu Jun 2 12:31:50 CST 2022 Enter stop Thu Jun 2 12:31:50 CST 2022 Enter revert_firewall Thu Jun 2 12:31:50 CST 2022 clean route Thu Jun 2 12:31:50 CST 2022 iptables -D INPUT 1 Thu Jun 2 12:31:50 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 14 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 12:31:51 CST 2022 clean rules Thu Jun 2 12:31:51 CST 2022 clean chain Thu Jun 2 12:31:51 CST 2022 Enter reload Thu Jun 2 12:31:52 CST 2022 clean ipset Thu Jun 2 12:31:53 CST 2022 do killclash Thu Jun 2 12:31:53 CST 2022 do delete
wow,按照您说的把文件替换之后我关闭openclash以后就能直接通网了! 下面是oc.log的内容: Thu Jun 2 12:31:50 CST 2022 Enter stop Thu Jun 2 12:31:50 CST 2022 Enter revert_firewall Thu Jun 2 12:31:50 CST 2022 clean route Thu Jun 2 12:31:50 CST 2022 iptables -D INPUT 1 Thu Jun 2 12:31:50 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 14 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 12:31:51 CST 2022 clean rules Thu Jun 2 12:31:51 CST 2022 clean chain Thu Jun 2 12:31:51 CST 2022 Enter reload Thu Jun 2 12:31:52 CST 2022 clean ipset Thu Jun 2 12:31:53 CST 2022 do killclash Thu Jun 2 12:31:53 CST 2022 do delete
西巴! 你绝对没有更新的到dev分支的最新版本....重新更新一次, 确保openclash版本>v0.45.25
wow,按照您说的把文件替换之后我关闭openclash以后就能直接通网了! 下面是oc.log的内容: Thu Jun 2 12:31:50 CST 2022 Enter stop Thu Jun 2 12:31:50 CST 2022 Enter revert_firewall Thu Jun 2 12:31:50 CST 2022 clean route Thu Jun 2 12:31:50 CST 2022 iptables -D INPUT 1 Thu Jun 2 12:31:50 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 14 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 12:31:51 CST 2022 clean rules Thu Jun 2 12:31:51 CST 2022 clean chain Thu Jun 2 12:31:51 CST 2022 Enter reload Thu Jun 2 12:31:52 CST 2022 clean ipset Thu Jun 2 12:31:53 CST 2022 do killclash Thu Jun 2 12:31:53 CST 2022 do delete
西巴! 你绝对没有更新的到dev分支的最新版本....重新更新一次, 确保openclash版本>v0.45.25
哦哦!不好意思,我更新的是master版本的,抱歉理解错了,我还以为是说dev内核更新到最新,谢谢!我待会儿更新一下!
您好,更新好了,现在是0.45.26版本,一切正常了!谢谢您的帮助! Thu Jun 2 12:31:50 CST 2022 Enter stop Thu Jun 2 12:31:50 CST 2022 Enter revert_firewall Thu Jun 2 12:31:50 CST 2022 clean route Thu Jun 2 12:31:50 CST 2022 iptables -D INPUT 1 Thu Jun 2 12:31:50 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 14 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 12:31:51 CST 2022 clean rules Thu Jun 2 12:31:51 CST 2022 clean chain Thu Jun 2 12:31:51 CST 2022 Enter reload Thu Jun 2 12:31:52 CST 2022 clean ipset Thu Jun 2 12:31:53 CST 2022 do killclash Thu Jun 2 12:31:53 CST 2022 do delete Thu Jun 2 12:32:49 CST 2022 Enter restart Thu Jun 2 12:32:49 CST 2022 Enter stop Thu Jun 2 12:32:49 CST 2022 Enter revert_firewall Thu Jun 2 12:32:49 CST 2022 clean route Thu Jun 2 12:32:50 CST 2022 clean rules Thu Jun 2 12:32:50 CST 2022 clean chain Thu Jun 2 12:32:50 CST 2022 Enter reload Thu Jun 2 12:32:51 CST 2022 clean ipset Thu Jun 2 12:32:51 CST 2022 Enter start Thu Jun 2 12:32:51 CST 2022 do start Thu Jun 2 13:06:00 CST 2022 Enter reload Thu Jun 2 13:06:16 CST 2022 Enter reload Thu Jun 2 13:06:17 CST 2022 Enter restart Thu Jun 2 13:06:17 CST 2022 Enter stop Thu Jun 2 13:06:17 CST 2022 Enter revert_firewall Thu Jun 2 13:06:17 CST 2022 clean route Thu Jun 2 13:06:17 CST 2022 iptables -D INPUT 1 Thu Jun 2 13:06:17 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 13:06:17 CST 2022 iptables -t nat -D PREROUTING 14 Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 13:06:18 CST 2022 clean rules Thu Jun 2 13:06:18 CST 2022 clean chain Thu Jun 2 13:06:19 CST 2022 clean ipset Thu Jun 2 13:06:19 CST 2022 Enter start Thu Jun 2 13:06:19 CST 2022 do start Thu Jun 2 13:07:09 CST 2022 Enter stop Thu Jun 2 13:07:09 CST 2022 Enter revert_firewall Thu Jun 2 13:07:09 CST 2022 clean route Thu Jun 2 13:07:09 CST 2022 iptables -D INPUT 1 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 12 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 13:07:09 CST 2022 clean rules Thu Jun 2 13:07:10 CST 2022 clean chain Thu Jun 2 13:07:10 CST 2022 Enter reload Thu Jun 2 13:07:10 CST 2022 clean ipset Thu Jun 2 13:07:12 CST 2022 do killclash Thu Jun 2 13:07:12 CST 2022 do delete
您好,更新好了,现在是0.45.26版本,一切正常了!谢谢您的帮助!
Thu Jun 2 12:31:50 CST 2022 Enter stop
Thu Jun 2 12:31:50 CST 2022 Enter revert_firewall
Thu Jun 2 12:31:50 CST 2022 clean route
Thu Jun 2 12:31:50 CST 2022 iptables -D INPUT 1
Thu Jun 2 12:31:50 CST 2022 iptables -t nat -D OUTPUT 2
Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 14
Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 4
Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 3
Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 2
Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 1
Thu Jun 2 12:31:51 CST 2022 clean rules
Thu Jun 2 12:31:51 CST 2022 clean chain
Thu Jun 2 12:31:51 CST 2022 Enter reload
Thu Jun 2 12:31:52 CST 2022 clean ipset
Thu Jun 2 12:31:53 CST 2022 do killclash
Thu Jun 2 12:31:53 CST 2022 do delete
Thu Jun 2 12:32:49 CST 2022 Enter restart
Thu Jun 2 12:32:49 CST 2022 Enter stop
Thu Jun 2 12:32:49 CST 2022 Enter revert_firewall
Thu Jun 2 12:32:49 CST 2022 clean route
Thu Jun 2 12:32:50 CST 2022 clean rules
Thu Jun 2 12:32:50 CST 2022 clean chain
Thu Jun 2 12:32:50 CST 2022 Enter reload
Thu Jun 2 12:32:51 CST 2022 clean ipset
Thu Jun 2 12:32:51 CST 2022 Enter start
Thu Jun 2 12:32:51 CST 2022 do start
Thu Jun 2 13:06:00 CST 2022 Enter reload
Thu Jun 2 13:06:16 CST 2022 Enter reload
Thu Jun 2 13:06:17 CST 2022 Enter restart
Thu Jun 2 13:06:17 CST 2022 Enter stop
Thu Jun 2 13:06:17 CST 2022 Enter revert_firewall
Thu Jun 2 13:06:17 CST 2022 clean route
Thu Jun 2 13:06:17 CST 2022 iptables -D INPUT 1
Thu Jun 2 13:06:17 CST 2022 iptables -t nat -D OUTPUT 2
Thu Jun 2 13:06:17 CST 2022 iptables -t nat -D PREROUTING 14
Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 4
Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 3
Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 2
Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 1
Thu Jun 2 13:06:18 CST 2022 clean rules
Thu Jun 2 13:06:18 CST 2022 clean chain
Thu Jun 2 13:06:19 CST 2022 clean ipset
Thu Jun 2 13:06:19 CST 2022 Enter start
Thu Jun 2 13:06:19 CST 2022 do start
Thu Jun 2 13:07:09 CST 2022 Enter stop
Thu Jun 2 13:07:09 CST 2022 Enter revert_firewall
Thu Jun 2 13:07:09 CST 2022 clean route
Thu Jun 2 13:07:09 CST 2022 iptables -D INPUT 1
Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D OUTPUT 2
Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 12
Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 4
Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 3
Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 2
Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 1
Thu Jun 2 13:07:09 CST 2022 clean rules
Thu Jun 2 13:07:10 CST 2022 clean chain
Thu Jun 2 13:07:10 CST 2022 Enter reload
Thu Jun 2 13:07:10 CST 2022 clean ipset
Thu Jun 2 13:07:12 CST 2022 do killclash
Thu Jun 2 13:07:12 CST 2022 do delete
那就不用替换了…换回去吧…这个只是用来看log的 issue可以关了
您好,更新好了,现在是0.45.26版本,一切正常了!谢谢您的帮助! Thu Jun 2 12:31:50 CST 2022 Enter stop Thu Jun 2 12:31:50 CST 2022 Enter revert_firewall Thu Jun 2 12:31:50 CST 2022 clean route Thu Jun 2 12:31:50 CST 2022 iptables -D INPUT 1 Thu Jun 2 12:31:50 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 14 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 12:31:51 CST 2022 clean rules Thu Jun 2 12:31:51 CST 2022 clean chain Thu Jun 2 12:31:51 CST 2022 Enter reload Thu Jun 2 12:31:52 CST 2022 clean ipset Thu Jun 2 12:31:53 CST 2022 do killclash Thu Jun 2 12:31:53 CST 2022 do delete Thu Jun 2 12:32:49 CST 2022 Enter restart Thu Jun 2 12:32:49 CST 2022 Enter stop Thu Jun 2 12:32:49 CST 2022 Enter revert_firewall Thu Jun 2 12:32:49 CST 2022 clean route Thu Jun 2 12:32:50 CST 2022 clean rules Thu Jun 2 12:32:50 CST 2022 clean chain Thu Jun 2 12:32:50 CST 2022 Enter reload Thu Jun 2 12:32:51 CST 2022 clean ipset Thu Jun 2 12:32:51 CST 2022 Enter start Thu Jun 2 12:32:51 CST 2022 do start Thu Jun 2 13:06:00 CST 2022 Enter reload Thu Jun 2 13:06:16 CST 2022 Enter reload Thu Jun 2 13:06:17 CST 2022 Enter restart Thu Jun 2 13:06:17 CST 2022 Enter stop Thu Jun 2 13:06:17 CST 2022 Enter revert_firewall Thu Jun 2 13:06:17 CST 2022 clean route Thu Jun 2 13:06:17 CST 2022 iptables -D INPUT 1 Thu Jun 2 13:06:17 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 13:06:17 CST 2022 iptables -t nat -D PREROUTING 14 Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 13:06:18 CST 2022 clean rules Thu Jun 2 13:06:18 CST 2022 clean chain Thu Jun 2 13:06:19 CST 2022 clean ipset Thu Jun 2 13:06:19 CST 2022 Enter start Thu Jun 2 13:06:19 CST 2022 do start Thu Jun 2 13:07:09 CST 2022 Enter stop Thu Jun 2 13:07:09 CST 2022 Enter revert_firewall Thu Jun 2 13:07:09 CST 2022 clean route Thu Jun 2 13:07:09 CST 2022 iptables -D INPUT 1 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 12 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 13:07:09 CST 2022 clean rules Thu Jun 2 13:07:10 CST 2022 clean chain Thu Jun 2 13:07:10 CST 2022 Enter reload Thu Jun 2 13:07:10 CST 2022 clean ipset Thu Jun 2 13:07:12 CST 2022 do killclash Thu Jun 2 13:07:12 CST 2022 do delete
那就不用替换了…换回去吧…这个只是用来看log的 issue可以关了
额,刚刚我更新了客户端但其实没更新成功,还是0.45.22,我手动上传更新了下,下面是日志。请问您说的换回去是什么意思?把您发我的那个文件换回去吗?那个原来的文件我没做备份诶 Thu Jun 2 12:31:50 CST 2022 Enter stop Thu Jun 2 12:31:50 CST 2022 Enter revert_firewall Thu Jun 2 12:31:50 CST 2022 clean route Thu Jun 2 12:31:50 CST 2022 iptables -D INPUT 1 Thu Jun 2 12:31:50 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 14 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 12:31:51 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 12:31:51 CST 2022 clean rules Thu Jun 2 12:31:51 CST 2022 clean chain Thu Jun 2 12:31:51 CST 2022 Enter reload Thu Jun 2 12:31:52 CST 2022 clean ipset Thu Jun 2 12:31:53 CST 2022 do killclash Thu Jun 2 12:31:53 CST 2022 do delete Thu Jun 2 12:32:49 CST 2022 Enter restart Thu Jun 2 12:32:49 CST 2022 Enter stop Thu Jun 2 12:32:49 CST 2022 Enter revert_firewall Thu Jun 2 12:32:49 CST 2022 clean route Thu Jun 2 12:32:50 CST 2022 clean rules Thu Jun 2 12:32:50 CST 2022 clean chain Thu Jun 2 12:32:50 CST 2022 Enter reload Thu Jun 2 12:32:51 CST 2022 clean ipset Thu Jun 2 12:32:51 CST 2022 Enter start Thu Jun 2 12:32:51 CST 2022 do start Thu Jun 2 13:06:00 CST 2022 Enter reload Thu Jun 2 13:06:16 CST 2022 Enter reload Thu Jun 2 13:06:17 CST 2022 Enter restart Thu Jun 2 13:06:17 CST 2022 Enter stop Thu Jun 2 13:06:17 CST 2022 Enter revert_firewall Thu Jun 2 13:06:17 CST 2022 clean route Thu Jun 2 13:06:17 CST 2022 iptables -D INPUT 1 Thu Jun 2 13:06:17 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 13:06:17 CST 2022 iptables -t nat -D PREROUTING 14 Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 13:06:18 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 13:06:18 CST 2022 clean rules Thu Jun 2 13:06:18 CST 2022 clean chain Thu Jun 2 13:06:19 CST 2022 clean ipset Thu Jun 2 13:06:19 CST 2022 Enter start Thu Jun 2 13:06:19 CST 2022 do start Thu Jun 2 13:07:09 CST 2022 Enter stop Thu Jun 2 13:07:09 CST 2022 Enter revert_firewall Thu Jun 2 13:07:09 CST 2022 clean route Thu Jun 2 13:07:09 CST 2022 iptables -D INPUT 1 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 12 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 13:07:09 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 13:07:09 CST 2022 clean rules Thu Jun 2 13:07:10 CST 2022 clean chain Thu Jun 2 13:07:10 CST 2022 Enter reload Thu Jun 2 13:07:10 CST 2022 clean ipset Thu Jun 2 13:07:12 CST 2022 do killclash Thu Jun 2 13:07:12 CST 2022 do delete Thu Jun 2 13:07:47 CST 2022 Enter restart Thu Jun 2 13:07:47 CST 2022 Enter stop Thu Jun 2 13:07:47 CST 2022 Enter revert_firewall Thu Jun 2 13:07:48 CST 2022 clean route Thu Jun 2 13:07:48 CST 2022 clean rules Thu Jun 2 13:07:48 CST 2022 clean chain Thu Jun 2 13:07:48 CST 2022 Enter reload Thu Jun 2 13:07:49 CST 2022 clean ipset Thu Jun 2 13:07:50 CST 2022 Enter start Thu Jun 2 13:07:50 CST 2022 do start Thu Jun 2 13:51:35 CST 2022 Enter reload Thu Jun 2 13:51:49 CST 2022 Enter reload Thu Jun 2 13:55:32 CST 2022 Enter stop Thu Jun 2 13:55:32 CST 2022 Enter revert_firewall Thu Jun 2 13:55:32 CST 2022 clean route Thu Jun 2 13:55:32 CST 2022 iptables -D INPUT 1 Thu Jun 2 13:55:32 CST 2022 iptables -t nat -D OUTPUT 2 Thu Jun 2 13:55:32 CST 2022 iptables -t nat -D PREROUTING 14 Thu Jun 2 13:55:32 CST 2022 iptables -t nat -D PREROUTING 4 Thu Jun 2 13:55:32 CST 2022 iptables -t nat -D PREROUTING 3 Thu Jun 2 13:55:32 CST 2022 iptables -t nat -D PREROUTING 2 Thu Jun 2 13:55:32 CST 2022 iptables -t nat -D PREROUTING 1 Thu Jun 2 13:55:33 CST 2022 clean rules Thu Jun 2 13:55:33 CST 2022 clean chain Thu Jun 2 13:55:34 CST 2022 clean ipset Thu Jun 2 13:55:35 CST 2022 do killclash Thu Jun 2 13:55:35 CST 2022 do delete
和https://github.com/vernesong/OpenClash/issues/2390#issue-1239608748 有点像?
Verify Steps
OpenClash Version
v0.45.22-beta
Bug on Environment
Official OpenWrt
Bug on Platform
Linux-armv8
To Reproduce
开启openclash后关闭openclash即可复现此问题。
Describe the Bug
在开启openclash后关闭openclash后网络不通,重启防火墙后才恢复。
OpenClash Log
OpenClash 调试日志
生成时间: 2022-05-28 15:15:15 插件版本: 隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息