I'm trying to figure out which of the merlin scripts I can use to modify the "ebtables" rules set by the firmware
for guest networks blocking. For example, when I configure the guest network on wl0.1 to NOT be allowed intranet access, the firmware creates:
I'd like to insert some rules before that to allow certain specific traffic to go through. I don't need help with the specific rules needed, I just need to understand where (which script) they should go.
I tried /jffs/scripts/nat-start, but when I change a guest network from allow to disallow intranet access, it will wipe out all of the ebtables chains, recreate what it wants, and NOT call nat-start again so I can replace my rules. Same thing with /jffs/scripts/firewall-start.
Is there any script that the merlin firmware calls (I'm using the 380.60 b2) after it sets up ebtables?
Thanks
Gary
for guest networks blocking. For example, when I configure the guest network on wl0.1 to NOT be allowed intranet access, the firmware creates:
Code:
ebtables -A FORWARD -i wl0.1 -j DROP
ebtables -A FORWARD -o wl0.1 -j DROP
I tried /jffs/scripts/nat-start, but when I change a guest network from allow to disallow intranet access, it will wipe out all of the ebtables chains, recreate what it wants, and NOT call nat-start again so I can replace my rules. Same thing with /jffs/scripts/firewall-start.
Is there any script that the merlin firmware calls (I'm using the 380.60 b2) after it sets up ebtables?
Thanks
Gary