vpn access to vpc interface endpoint configuration help

0

Is it possible to access vpc interface endpoints from on premise computers over a VPN? I read the article https://aws.amazon.com/about-aws/whats-new/2018/09/aws-privatelink-now-supports-access-over-aws-vpn/ "On-premises applications can now securely access AWS PrivateLink endpoints over AWS VPN."

I was able to successfully set up an interface endpoint to the KMS service and access it from an ec2 instance on the vpc, nice. Here is the simplest use case I could come up with

$ aws --no-verify-ssl kms list-keys --endpoint-url https://192.168.0.39
lots of keys...

From my computer on premises I try:

# aws --no-verify-ssl kms list-keys --endpoint-url https://192.168.0.39
HTTPSConnectionPool(host='192.168.0.39', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7ff874b5d438>, 'Connection to 192.168.0.39 timed out. (connect timeout=60)'))

Note that from on prem it is possible to ssh to computers on my vpc in the same CIDR range, so I think the VPN is set up correctly. For example

On prem:

# ssh -i ~/.ssh/awsec2.pem ec2-user@192.168.0.98
Last login: Mon Feb 11 21:37:02 2019 from c-24-22-68-94.hsd1.or.comcast.net

       __|  __|_  )
       _|  (     /   Amazon Linux 2 AMI
      ___|\___|___|

https://aws.amazon.com/amazon-linux-2/
[ec2-user@ip-192-168-0-98 ~]$
pfq
질문됨 5년 전798회 조회
1개 답변
0

I found my problem. The network ACL was blocking this traffic, duh.

pfq
답변함 5년 전

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

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

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