1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/EN7526G_3.18Kernel_SDK/filesystem/usr/script/acl_stop.sh
2024-07-22 01:58:46 -03:00

9 lines
527 B
Bash
Executable File

iptables -F acl_chain
#iptables -t filter -D INPUT -p TCP -m multiport --dport ftp,telnet,http,snmp -j acl_chain
#iptables -t filter -D INPUT -p UDP -m multiport --dport ftp,telnet,http,snmp -j acl_chain
#iptables -t filter -D INPUT -p ICMP --icmp-type 8 -j acl_chain
iptables -t filter -D ACL -p TCP -m multiport --dport ftp,telnet,http,snmp -j acl_chain
iptables -t filter -D ACL -p UDP -m multiport --dport ftp,telnet,http,snmp -j acl_chain
iptables -t filter -D ACL -p ICMP --icmp-type 8 -j acl_chain
iptables -X acl_chain