Questions about session time in AWS Client VPN

0

Hi, First of all, Thank you for reading my question. When I screen lock my laptop or When I away from my laptop about 1 hour, and come back to laptop, aws client vpn is disconnected. The session timeout setting is 12 hours, but in reality, even if I leave the seat for about 1 hour, the connection is lost. Does it automatically disconnect when there is no network traffic? If yes, How do I disable it?

42dot
質問済み 1年前597ビュー
1回答
1

Hello and thanks for writing in.

AWS Client VPN doesn't automatically disconnect when there is no network traffic. It tries to reconnect and repeated reconnection attempts are slowed down after 5 retries per remote by doubling the wait time after each unsuccessful attempt. You can increase this timer using "connect-retry" directives in .ovpn file.

connect-retry 300

Wait 300 seconds between connection attempts (default=5)

You can also try persist-tun and persist-key OpenVPN directives in .ovpn file. These options persist the tun device and the authentication keys across restarts (either caused by user or ping-restarts). The results may vary depending on the OS and the actual client in use.

persist-tun persist-key

Rest I would recommend to open a support case and share OVPN logs with engineers. OVPN logs would help to understand the reason behind disconnect.

To know more supported OVPN derivtais you can refer below document: https://docs.aws.amazon.com/vpn/latest/clientvpn-user/connect-aws-client-vpn-connect.html

AWS
サポートエンジニア
Sunny_B
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン