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
질문됨 일 년 전599회 조회
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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠