$(nvram get lan_ipaddr)This script still seems to block out my UI. How do I test my internal IP against the list?
cl() { # Check IP against ipset lists
if [ -z "$1" ]; then
echo "Specify IP to check through ipset lists. Exiting."
else
GREEN='\033[0;32m'
RED='\033[0;31m'
NC='\033[0m' # No Color
for TestList in $( (iptables -L -t raw && iptables -L) | grep " set" | tr -s ' ' | cut -d' ' -f7 | paste -s); do
ipset -q --test $TestList $1 && echo -e "$1 found in ${GREEN}${TestList}${NC}" || echo -e "$1 not found in ${RED}${TestList}${NC}"
done
fi
}
cl() { # Check IP against ipset lists
if [ -z "$1" ]; then
echo "Specify IP to check through ipset lists. Exiting."
else
GREEN='\033[0;32m'
RED='\033[0;31m'
NC='\033[0m' # No Color
for TestList in $( (iptables -L -t raw && iptables -L) | grep "match-set" | tr -s ' ' | cut -d' ' -f7 | paste -s); do
ipset -q test $TestList $1 && echo -e "$1 found in ${GREEN}${TestList}${NC}" || echo -e "$1 not found in ${RED}${TestList}${NC}"
done
fi
}
It should include all your ipsets that are referenced in your firewall. Which lists from the iblocklist-loader were you expecting? Run the loader script and check syslog to see if the lists were loadedit doesnt seem to include the sets from blocklist loadeR?
That is odd. See if your external dns server IP is in any of the loaded lists with this shell function. You can always whitelist your dns: Just assign your dns server ip to your "my_dns" domain in /jffs/configs/host.add and then whitelist that domain (my_dns)But then i lose dns
Will give it a go next time it happens. This reboot seems to be more stable. I did check against the lists and no matches, but I'll see how I get onThat is odd. See if your external dns server IP is in any of the loaded lists with this shell function. You can always whitelist your dns: Just assign your dns server ip to your "my_dns" domain in /jffs/configs/host.add and then whitelist that domain (my_dns)
| Thread starter | Title | Forum | Replies | Date |
|---|---|---|---|---|
| D | Allow ssh from another user? | Asuswrt-Merlin | 6 | |
| M | Extend Guest network to another router | Asuswrt-Merlin | 21 | |
| R | Malware infection or not on phone | Asuswrt-Merlin | 13 | |
|
|
RT-AX86U running Merlin serving DNS - possible Malware infection | Asuswrt-Merlin | 31 |
We use essential cookies to make this site work, and optional cookies to enhance your experience.