OpenVPN on EC2 Linux Ubuntu freeze problem

0

I would like to connect EC2 instance Linux Ubuntu using OpenVPN to my OpenVPN server but when I connect the instance freeze immediately. Can someone give me detailed description how should I set up the connection? Like for 5 year old if possible:)

  • Did you try enabling split tunneling? Did it work?

Yan
질문됨 8달 전291회 조회
2개 답변
0

Your VPN connection is probably not configured to use split-tunneling. This means that based on the current configuration, once the VPN connection is established, all traffic going in and out of your instance must pass through the VPN server (including your SSH session) which would prevent any direct connectivity into the instance's IPs that you see in the AWS management console. Simply enable split-tunneling on your VPN connection and you shouldn't get disconnected.

This documentation will explain the concept in good detail, check it out: https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html

AWS
LondonX
답변함 8달 전
  • Thank you very much for the info. I think you are right. The problem is that I do not have very much experience with this and Create client VPN endpoint is quite complex for me so I do a lot of mistakes :( for example Athentication information is very confusing for me.

  • Have you been able to resolve your issue? If so, would you select an answer that matched your issue to close out the thread?

0

Hi, I'd suggest to follow this post: https://dev.to/pimenvibritania/install-vpn-openvpn-server-on-aws-ec2-instance-ubuntu-50nf

In particular, the section providing the user data that you have to provide when creating the EC2 instance: it defines the proper parameters used to configure OpenVPN when installing it.

Best.

Didier

profile pictureAWS
전문가
답변함 8달 전

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

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

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

관련 콘텐츠