Firewall on WDS repeater

I have a WDS wifi repeater set up following the user guide, with a separate SSID from the upstream AP (an ISP router, that doesn't have much to configure). What I want to do now is install adblock-fast on the repeater, and have it work. I have it installed right now, but as I understand everything is on the LAN interface so nothing really goes through the firewall. How can I do that, do I set up a separate interface and use that network, or something else?

have the repeater act as a router, where the LAN subnet differs from the upstream router's LAN subnet.

(in openwrt) wifi -> scan -> join (the upstream wifi)
put the new connection in the wan firewall zone.

How do I find out the upstream LAN subnet? Do I then go to interfaces > lan then set the IPV4 address, the netmask, or the gateway?

check the IP on any device connected to the upstream router.

ipconfig on the upstream router shows

   IPv4 Address. . . . . . . . . . . : 192.168.1.8
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.254

for the repeater

   IPv4 Address. . . . . . . . . . . : 192.168.1.114
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

What should I change?

in the repeater's /etc/config/network file, change the LAN side IP from 192.168.1.1 to 192.168.2.1, save & reboot.

might want to reset it 1st though, to get rid of the WDS stuff.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.