That was my thinking, but I had better luck with ya-malware and iBlocklists in service-start, for some reason firewall start caused them to never finish running.I'd say firewall start, then if the service restarts for some reason, your script runs as well.
Then find the reason why.That was my thinking, but I had better luck with ya-malware and iBlocklists in service-start, for some reason firewall start caused them to never finish running.
Yes read the wiki, I've even contributed on it ;-)Then find the reason why.
This is a service activated user script and related scripts belong in that file.
Just as post-mount is the only one to place scripts that depend on the USB device(s) being mounted when it runs.
I'm sure you read the wiki: https://github.com/RMerl/asuswrt-merlin/wiki/User-scripts
that esplains why the ip tables sript i tried to make didnt work.As you already found out it had to be firewall-start.
QOS wipes all rules and starts a clean slate.
@Jack Yaz I use the firewall-start to re-instate the iptable rules if the ipsets already exists, and the setup that is posted in #1 post of ya-malware-block. I have no issues when firewall is re-started multiple times.I've since reviewed the scripts and they do now clean up, so moved to firewall-start, and rebooted, and hey presto!
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!