I've been searching on a way to setup my MT6000's Captive Portal. Basically, I just want a landing page for my guests (Guest WiFi) every time they connect to my SSID, and setup how many lease time/minutes they can connect each session.
Thank you for this response. And after days of tinkering around, I managed to make it work. There's however a catch.
So, I set my lan2 interface as my guest network. I connect another router/switch to my lan 2 port (it's an outdoor access point) for my guests and everything is working fine firewall wise etc.
However, when I installed this plugin, yes I managed to make it work specific to that port or device only by setting the gateway interface to lan 2:
However, the issue now is this switch/router can access my LAN. The thing is, If I don't switch the firewall for guest to lan whenever someone connects to my guest wifi, the captive portal shows but there's no webpage. And removing the firewall from guest to lan fixed the issue. I was thinking there was just some kind of permission firewall issue to access the web files.
So the issue now is security. They can access my LAN admin GUI, even access Luci etc. A few days ago someone try to cast to my TV and I know it was just a guest. The firewall mitigated those issues for me. Hence making lan2 as my guest etc.
Anyway, I'm sorry for the confusing statements I'm not that advanced user so please bear with me. Is there a way for me to still block them accessing my LAN or bring back my original GL firewall + make the captive portal working? Thank you
You connect the LAN2 port of the router to the outdoor.
You can try to use firewall rules to restrict the traffic of this interface from being sent to other LANs. For example: iptables -I FORWARD -i lan2 -o lan -j DROP
If after configuration, devices on LAN2 cannot access the Internet, you can trying allow necessary traffic for LAN2 and permit access to the main router (192.168.1.1) to obtain the gateway, DNS, etc.