elektroinside
New Around Here
Hi guys and Merry Christmas to all!
I just bought the RC-AC5300 and installed Asuswrt-merlin. Then I enabled one guest network on 2.4Ghz (from the ifconfig output, i'm guessing wl0.1 is the guest).
My problem is that i don't want to give access to the wan's subnet (since the wan ip is also from a local subnet), but still allow internet access. With dd-wrt, this worked:
iptables -I FORWARD -i br1 -d `nvram get wan_ipaddr`/`nvram get wan_netmask` -m state --state NEW -j DROP
, where br1 was a bridge created. I'm guessing the guest network is wl0.1 (from the output of ifconfig). But it's not working with merlinwrt (if i replace br1 with wl0.1). The error i receive is this:
iptables v1.4.14: invalid mask `' specified
I know i have to create a jffs script for merlinwrt but since my rule is not working...
Can somebody help me with the correct rule?
Many thanks!
I just bought the RC-AC5300 and installed Asuswrt-merlin. Then I enabled one guest network on 2.4Ghz (from the ifconfig output, i'm guessing wl0.1 is the guest).
My problem is that i don't want to give access to the wan's subnet (since the wan ip is also from a local subnet), but still allow internet access. With dd-wrt, this worked:
iptables -I FORWARD -i br1 -d `nvram get wan_ipaddr`/`nvram get wan_netmask` -m state --state NEW -j DROP
, where br1 was a bridge created. I'm guessing the guest network is wl0.1 (from the output of ifconfig). But it's not working with merlinwrt (if i replace br1 with wl0.1). The error i receive is this:
iptables v1.4.14: invalid mask `' specified
I know i have to create a jffs script for merlinwrt but since my rule is not working...
Can somebody help me with the correct rule?
Many thanks!
Last edited: