Modify the maximum AWS Client VPN session duration and timeout behavior - AWS Client VPN

Modify the maximum AWS Client VPN session duration and timeout behavior

Use the following steps to modify an existing Client VPN maximum VPN session duration and change the disconnect on session timeout behavior.

Modify an existing maximum VPN session duration for a Client VPN endpoint (console)
  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. In the navigation pane, choose Client VPN endpoints.

  3. Select the Client VPN endpoint that you want to modify, choose Actions, and then choose Modify Client VPN Endpoint.

  4. For Session timeout hours, choose the desired maximum VPN session duration time in hours.

  5. For Disconnect on session timeout, choose if you want to disconnect a session when the maximum session timeout is reached. By default, this is turned off the first time you modify an endpoint.

  6. Choose Modify Client VPN endpoint.

Modify an existing maximum VPN session duration for a Client VPN endpoint (AWS CLI)

Use the modify-client-vpn-endpoint command.