Skip to main content

Tutorial: Change the VPN Client Disconnection Behavior

Abstract

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.

  1. Connect to the console and get root privileges.

  2. Run this command to disconnect the most recent or newest VPN connections (default):

    ./sacli --key "subscription.enforcement_order" --value "newest" ConfigPut
  3. Restart the Access Server service:

    service openvpnas restart
  1. Connect to the console and get root privileges.

  2. Run this command to disconnect the oldest VPN connections:

    ./sacli --key "subscription.enforcement_order" --value "oldest" ConfigPut
  3. Restart the Access Server service:

    service openvpnas restart