@alexcheddar said in Exclude some clients in LAN captive portal:
But is there any link or url that i can type to logout manually in CP?
As you can see on the settings page, there is a logout page. Also mentioned is the that this page is a popup :
0_1531221847508_c204d6bc-bd10-4a76-8998-5ae731149319-image.png
The link to this page, as shown in the navigator bar, is the logout URL.
Now the fun part.
You will probably find out that you didn't saw any popup when logging in. You'd say : it doesn't work.
Now it 's time that that you recall that you, and everybody else on the planet have blocked popups in your navigator. You could enable your popups again, but your portal visitor won't.
You could show the link on the portal login page, and mention on that page that people should copy it on a safe place (making a favorite link of it ?) but most visitors probably won't.
Next best solution : make the Idle time out (and hard time out) counter as low as possible (although when visitors think that they de-connected because they closed all navigators windows, all other processes, like fat mail clients, OS updates, all kind of device drivers GUI update programs, scanners en trojans etc will still use the connection, so it will never Idle out. A Wifi connection could be closed "by hand" (the button, or by GUI), but again, most just visitors don't that ...
There is a huge thread in this forum that treats the subject rather well, and explains why a real "logout button" is very hard to "close to impossible" to implement.