1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

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!

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

Discussion in 'Asuswrt-Merlin' started by zero65, Feb 10, 2018.

  1. zero65

    zero65 New Around Here

    Joined:
    Jan 3, 2014
    Messages:
    6
    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....
     
  2. Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!
  3. zero65

    zero65 New Around Here

    Joined:
    Jan 3, 2014
    Messages:
    6
    Any ideas?
     
  4. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    6,485
    Location:
    UK
    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
     
Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!