Old router RT-AC66U
After:
# Delete old YAMalwareBlock rules.
logger -t Firewall "Delete old YAMalwareBlock rules."
echo Delete old YAMalwareBlock rules.
iptables -t raw -L --line-numbers | grep YAMalwareBlock | cut -d' ' -f1 | sed '1!G;h;$!d' | while read number; do iptables -t raw -D PREROUTING $number; done
ipset -L | grep YAMalwareBlock | cut -d' ' -f2 | while read setname; do ipset --destroy $setname; done
I want to reset/flush those 2 Chains to default!
Tried all I found in this forum but didn't work...
reboot after was properly done, twice!
Operation Mode:Wireless router Firmware:374.43_45EAj9527 SSID: (2.4GHz)Linksys(5GHz)Linksys 5GHz (Merlin LTS fork) |
After:
# Delete old YAMalwareBlock rules.
logger -t Firewall "Delete old YAMalwareBlock rules."
echo Delete old YAMalwareBlock rules.
iptables -t raw -L --line-numbers | grep YAMalwareBlock | cut -d' ' -f1 | sed '1!G;h;$!d' | while read number; do iptables -t raw -D PREROUTING $number; done
ipset -L | grep YAMalwareBlock | cut -d' ' -f2 | while read setname; do ipset --destroy $setname; done
I want to reset/flush those 2 Chains to default!
Tried all I found in this forum but didn't work...
reboot after was properly done, twice!