mkdir -p /jffs/scripts
cat << "EOF" > /jffs/scripts/firewall-start
#!/bin/sh
iptables -I FORWARD -d cnn.com -j REJECT
iptables -I FORWARD -d espn.com -j REJECT
iptables -I FORWARD -d disney.com -j REJECT
EOF
chmod +x /jffs/scripts/firewall-start
The ipset module is definitely in the firmware (/usr/sbin/ipset).is that possible on asuswrt-merlin? (based on ipset)
address=/cnn.com/0.0.0.0
address=/espn.com/0.0.0.0
…
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!