I am having TP-Link WR841Nv11 router and I upgrade it to openwrt for using captive portal. I am using coova-chilli for captive portal. I setup router with 2 ssid's one is for private use and other it will ask to login through captive portal for external users.
Everything is working fine, but the issue is after login through captive portal user can access the routers webpage and also able to ssh. I want to stop users to access router page and ssh as well.
I found answer for my own question. Hopefully, this will be useful for someone in the future. I made new network interface. Do cahnges in following files.
In /etc/config/network
In /etc/config/dhcp
In /etc/config/firewall
In /etc/config/wireless
In /etc/config/chilli
Change in this line do br-lan to br-youfi
to
and then
It is working as I want.