I can't seem to figure out how to implement a solution to what I want.
In short, all clients connected to the WiFi should have normal access to the 192.168.0.X network. Currently Wifi clients can access and ping 192.168.0.200 device (which is what I want).
But I want to STOP wifi clients from being able to access any device on the 192.168.2.X network. If I connect my laptop to the wifi and set a static IP address ie 192.168.2.20, I am able to ping 192.168.2.200. I do not want this to be the case. I want all traffic from any WiFi client to any 192.168.2.X address to be dropped / rejected.
I have a basic network diagram shown below.
The Dump AP is running OpenWRT on an Archer A6 (details of version etc are on the bottom of this post)
Screenshots of my current configuration can be found: https://imgur.com/a/zhYi8IA
(Forum doesn't allow me to post more than 1 image)
I feel like I must be missing something very small or criticial as I can't seem to get this to work!
Device is a TP-Link Archer A6
Powered by LuCI Master (git-20.186.79919-0c47989)/ OpenWrt SNAPSHOT r13869-ed087cba8a
As suggested by @vgaetera, you may want to switch to using stable release images, e.g. 19.07. SNAPSHOT images can have kernel versions and configs changing fairly often
It's important the "bridge call iptables" sysctl has been set. Check it with the following command. Persistent it by editing it in /etc/sysctl.d/11-br-netfilter.conf
I can find my version in the downloads site link you showed. What would be the next steps to install it. I want to make sure I follow the correct approach.
I have tried running the following command to no success:
root@OpenWrt:~# opkg remove kmod
No packages removed.
root@OpenWrt:~# opkg remove kmod-br-netfilter
No packages removed.
root@OpenWrt:~# opkg remove kmod-ebtables
No packages removed.
root@OpenWrt:~# sed -i -e "/\sopenwrt_kmods\s/s/^/#/" /etc/opkg/*.conf
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/freifunk/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_freifunk
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/freifunk/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install kmod-br-netfilter
Installing kmod-br-netfilter (5.4.52-1) to root...
Downloading http://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/kmod-br-netfilter_5.4.52-1_mips_24kc.ipk
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-br-netfilter:
* kernel (= 5.4.52-1-7088f695112953c6065247e81d1535bb)
* opkg_install_cmd: Cannot install package kmod-br-netfilter.
root@OpenWrt:~#
Do I have to add --force-depends?
I can see that I've added the correct feed to the customfeeds.conf file.
It's still throwing that my kernel version is too low.
My version is 5.4.51,
the opkg install command is saying I need 5.4.52
I can feel like we are getting closer to a solution. Thank you for all the help so far this community has been great!
If anyone has an Archer A6 / C6 v2 (US), I've made a quick easy video of the process. Couldn't find anything like this on the internet so I hope it helps someone else out (would've helped me out).
Install OpenWRT, Upgrade to the latest snapshot, and then you can opkg install packages easy with no problem.