AWS VPN tunnel established and able to ping against each other, but curl doesn't work

504 Views Asked by At

I'm trying to connect local machine to AWS VPC using site-to-site VPN. I've used ipsec protocol using libreswan, and succeeded to establish tunnel.(Confirmed at aws console that tunnel status is 'UP').

I was also bled to ping to each other, but not possible to execute curl command. (it hung for a while and got timed-out.)

Do I need to do any other steps? Or any way to debug this issue?

Thanks!

1

There are 1 best solutions below

3
On

May be so that the ping and the curl command use different ports. If so you should set up routes for the curl commands. Standard ports for curl is 80/443.

AWS docs for route tables for VPC: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html