What's new

firewall-start question for rt-ac1900p/ac-68u

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

zero65

New Around Here
I just switched from Cable to Fiber and the below firewall rule stopped working:
iptables -I FORWARD -p ALL -i br0 -o eth0 -m iprange --src-range 192.168.2.5-192.168.2.109 -j DROP

I am in 380.68_4.....I am guessing interface is wrong now.....but I have tried ppp0 and that did not work either....So I am confused. Thank you in advanced....
 
I just switched from Cable to Fiber and the below firewall rule stopped working:
iptables -I FORWARD -p ALL -i br0 -o eth0 -m iprange --src-range 192.168.2.5-192.168.2.109 -j DROP

I am in 380.68_4.....I am guessing interface is wrong now.....but I have tried ppp0 and that did not work either....So I am confused. Thank you in advanced....
Any ideas?
 
Try:
Code:
iptables -I FORWARD -i br0 -o $(nvram get wan0_ifname) -m iprange --src-range 192.168.2.5-192.168.2.109 -j DROP
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top