RT-AX88U:/jffs/myscripts# iptables -A INPUT -s 6.6.6.6 -j DROP -m comment --comment "DROP spam IP address"
iptables: No chain/target/match by that name.
My dnsmasq ipset is not work
server=/google.com/8.8.8.8
ipset=/google.com/test
Name: test
Type: hash:net
Revision: 6
Header: family inet hashsize 4096 maxelem 1000000
Size in memory: 352
References: 0
Number of entries: 0
Members:
Sorry I found the problem, because I have writed a cron.sh, this contain service stop_dnsmasq and serivce start_dnsmasq commads, but Since I upgrade to 386.8. the service command no longer support dnsmasq.
Yes, as you said this is a completely bespoke configuration, because I just need the hardware to provide AP, Dnsmasq and LACP functions, all other settings are completed by the uplink device Mirkrotik CCR2004-16G-2S+
Now dnsmasq running well, I have write a watchdog
AP mode
use defined configration file for dnsmasq /usr/sbin/dnsmasq -C /jffs/dnsmasq.conf
Log:
Sep 22 00:26:16 rc_service: service 8367:notify_rc stop_dnsmasq
Sep 22 00:26:16 rc_service: service 8370:notify_rc start_dnsmasq
Sep 22 00:27:16 rc_service: service 9084:notify_rc stop_dnsmasq
Sep 22...