I am trying to figure out if gl.inet devices (Flint?) would suite my needs.
We have a wifi router which we can not touch (Router A) but we can connect to it on 2.4Ghz (SSID A). If it is possible I would connect to it with a Flint (Router B) for example in repeater mode, and create my own wifi network also on 2.4Ghz if possible (SSID B). The Flint router would connect out to an OpenVPN server so everything that is happening on SSID B would route through the VPN. Also I need to connect 2 wifi cameras to this Flint and I would like to reach them from the OpenVPN server side. For this somehow we need to solve the port forwarding from the OpenVPN network to the cameras so if some other client connects to the VPN from the other side we can connect to the cameras.
Wondering if this would be possible with just the Web UI or maybe need to dig into some OpenWRT configs?
If I have an IP camera connected to the router, is there any way to only allow the camera’s IP to talk to the OpenVPN server and don’t allow to camera to call home?
I can see that the GUI has a Firewall section but as I can see it is only for port forwarding into the network. But how to allow/block certain IP ranges or all? For that I need to enable LuCI?
Router can connect to a wifi in repeater mode and can connect and route traffic to the OpenVPN server.
I also added a rule into the LuCI Traffic Rules to Discard Forward:
Any traffic
From IP CAMERAIP in lan
To any host in any zone
This is now working because the camera cannot connect to the outside world. I verified this by checking it’s NTP and mail settings, it could not connect so all good.
However wondering which rule enables the camera to be reachable on the LAN and on the OVPN network? As I can reach it but the above rule should block it from everything, or not because something still allows the traffic to LAN and OVPN?