redhat27
Very Senior Member
So is the pandora issue back now? what is your output of nslookup www.pandora.com?
Simmz@R7000:/jffs/scripts# nslookup www.pandora.com
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost.localdomain
Name: www.pandora.com
Address 1: 2620:106:e003:f00e::63 www.v6.pandora.com
Address 2: 208.85.40.50 www.pandora.com
Address 3: 208.85.40.20 www.pandora.com
alias blockstats='iptables -L -v | head -n 2 & iptables -L -v | grep "match-set"; ip6tables -L -v | grep "match-set"'
Okay, my nslookup gives a different output... Let me see what I can doyeah its back.
Oops missed your header ask: yes, just prefix "iptables -L -v | head -n 2;" to your alias:
Code:alias blockstats='iptables -L -v | head -n 2; iptables -L -v | grep "match-set"; ip6tables -L -v | grep "match-set"'
Hey, I put together a quick and dirty fix for your newer nslookup output. Please give it a go. It should take care of the ipset errors you were getting. Let me know if that works for you
alias blockstats='iptables -L -v | sed "2q;d"; iptables -L -v | grep "match-set"; ip6tables -L -v | grep "match-set"'
sh /jffs/scripts/iblocklist-loader-v3.sh
iptables -A FORWARD -i eth0 -j DROP
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!