Community discussions

MikroTik App
 
Vishwasp13
just joined
Topic Author
Posts: 1
Joined: Wed Feb 22, 2023 6:44 am

EC2 Instances on different AWS VPC unable to communicate with IPsec established using Mikrotik CHR

Wed Feb 22, 2023 5:32 pm

I am trying to create an IPsec tunnel between two AWS VPC (VPC A and VPC B). Please refer the diagram below.
diagram.jpg
In VPC A, I've created the Virtual Private Gateway for a Site to Site VPN connection to VPC B. In VPC B I am using Mikrotik Cloud Hosted Router to establish the VPN connection. The IPSec tunnel gets established succesfully between the two VPC and the following ping (on private IPs) works successfully.

1. EC2 Instance A to Mikrotik Cloud Hosted Router (VPC B)
2. EC2 Instance A to EC2 Instance B
3. Mikrotik Cloud Hosted Router (VPC B) to EC2 Instance A.

However the ping from EC2 Instance B to EC2 Instance A doesn't work, it always gets timed out. For troubleshooting I enabled all traffic on all ports of the firewall of both the VPC it still didn't work. I've also tried to update the route table in VPC B to direct any traffic with destination as 10.2.0.0/16 to Mikrotik Cloud Hosted Router but it still didn't work.

Please let me know if I am missing something.
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 6 guests