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.
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.
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
Cannot resolve host of RDS endpoint in private subnet via VPN client endpointasked a month ago
Unable to access internet from my laptop when I connect to a VPC using client VPNAccepted Answerasked 3 months ago
migrate database from my local to AWSAccepted Answerasked 3 years ago
AWS Login Page shows "This site can’t be reached". However when using VPN, everthing works fineasked 6 months ago
Black/blank screen after connecting on new computerasked 2 years ago
i am using free tier as a new user. i am connecting my EC-2 instance from my laptop through putty.Accepted Answerasked 4 months ago
Questions about session time in AWS Client VPNasked 16 days ago
AWS SageMaker Notebook Instance is not continuing running the cell when I leave my Laptop to execute the cells over a period of time. Can you tell me how can I solve this?asked 4 months ago
PSI Terminated My Exam For Apparent Rule Violation Which Never Occurredasked a year ago
403 CORS Error ONLY on work Laptop and not personalasked 5 months ago