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
demandé il y a un an584 vues
1 réponse
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
Sunny_B
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions