Hi,
I have opened a ticket on this, but got no response, so I'm posting it again here, hoping to get an answer.
Is there a way to programmatically end client device's sessions? I vaguely remember being possible on some older versions.
Here is my issue, so you can propose a differente approach if killing sessions is not possible:
I have a few client devices that should not be connected to the Internet all day long.
So, I made a list of their MAC addresses and wrote a policy that check them against a time table.
It works fine as long as the client device is NOT connected to the Internet. But, as soon as the time table allows it to connect, it's usually very unlinkely it will be disconnected, even when the allowed period set on the time table expires.
The only way I found to disconnect them so the time table policy works again, is to restart WinGate, which is not a good idea, because it (obviously) will also interrupt the connections of all other devices that are not time-limited.
I also thought about adding them to the "IP Blackhole" list, then removing them after a period of time, but I found no way of doing so programmatically.
Thanks!