Tutorial: Change the VPN Client Disconnection Behavior
Configure whether the most recent or oldest VPN connections disconnect when exceeding the connection limit.
Overview
This tutorial shows you how to change the subscription enforcement order. You can configure whether the most recent or the oldest VPN connections should be disconnected when exceeding your subscription license's connection limit.
An installed Access Server.
An activated subscription.
Console access and the ability to get root access.
Connect to the console and get root privileges.
Run this command to disconnect the most recent or newest VPN connections (default):
./sacli --key "subscription.enforcement_order" --value "newest" ConfigPut
Restart the Access Server service:
service openvpnas restart
Connect to the console and get root privileges.
Run this command to disconnect the oldest VPN connections:
./sacli --key "subscription.enforcement_order" --value "oldest" ConfigPut
Restart the Access Server service:
service openvpnas restart