Client VPN doesn't work suddently

1

I have a client VPN endpoint in ap-southeast-1 region. I was able to connect to the VPN using OpenVPN Connect on 29 Nov 2022. But now I cannot connect any more. No configuration changes to the VPN endpoint. The ssl cert is still valid. OpenVPN only shows timeout. What could go wrong? Any hint is appreciated.

질문됨 일 년 전983회 조회
2개 답변
1

It would be good, if you could have posted the actuall error. I assume that you might have mutual authentication . Please refer to the below articles for troubleshooting.

https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/troubleshooting.html

https://docs.aws.amazon.com/vpn/latest/clientvpn-user/common-troubleshooting.html

If you still face issues, please post with more logs .

AWS
답변함 일 년 전
  • Here's the snippet of the OpenVPN Connect log. Seems the DNS server was resolved but the ssl handshake failed.

    Connecting to [ascfd.cvpn-endpoint-xxxxxxxxxxxx.prod.clientvpn.ap-southeast-1.amazonaws.com]:443 (xx.xxx.xxx.xxx) via UDPv4 EVENT: CONNECTING Tunnel Options:V4,dev-type tun,link-mtu 1521,tun-mtu 1500,proto UDPv4,cipher AES-256-GCM,auth [null-digest],keysize 256,key-method 2,tls-client ... Session invalidated: KEEPALIVE_TIMEOUT Client terminated, restarting in..

  • I re-created a new server certificate and a few client certificates. Still doesn't work.

  • Im facing a similar issue, everything worked great, no changes were made at all, I can connect but now nothing resolves. I cannot get online or hit internal resources.

1

The culprit is the client certificate revocation list (crl), which expired on 30 Nov 2022. The resolution is to generate a new crl and upload to the client vpn endpoint.

답변함 일 년 전
  • I had the same issue, and solved it based on @blacktulip11's comment. You can check crl expiration via:

    openssl crl -in file.crl -text

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

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

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

관련 콘텐츠