LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   IKE_SA_INIT failed with StrongSwan Site to Site VPN between different amazon VPCs (https://www.linuxquestions.org/questions/linux-networking-3/ike_sa_init-failed-with-strongswan-site-to-site-vpn-between-different-amazon-vpcs-4175438111/)

loesprite 11-21-2012 07:01 AM

IKE_SA_INIT failed with StrongSwan Site to Site VPN between different amazon VPCs
 
Hi friends,

I have 2 VPCs in different amazon az. That's like 2 office in different city. For data transfer reasons, I want to setup an IPSec VPN tunnel between them.

So I created 2 clean Ubuntu instances and installed StrongSwan with apt-get. I changed the 3 configuration files - ipsec.conf, ipsec.secret and strongswan.conf according to the example here http://www.strongswan.org/uml/testre...2/net2net-psk/.

When I run 'sudo ipsec up net-net' on one of the Ubuntu server, I see things below:

**********************************************************************
ubuntu@City1:~$ sudo ipsec up net-net

initiating IKE_SA net-net[1] to y.y.y.y
generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) ]
sending packet: from x.x.x.x[500] to y.y.y.y[500]
retransmit 1 of request with message ID 0
sending packet: from x.x.x.x[500] to y.y.y.y[500]
retransmit 2 of request with message ID 0
sending packet: from x.x.x.x[500] to y.y.y.y[500]
retransmit 3 of request with message ID 0
sending packet: from x.x.x.x[500] to y.y.y.y[500]
retransmit 4 of request with message ID 0
sending packet: from x.x.x.x[500] to y.y.y.y[500]
retransmit 5 of request with message ID 0
sending packet: from x.x.x.x[500] to y.y.y.y[500]
giving up after 5 retransmits
establishing IKE_SA failed, peer not responding
**********************************************************************

I'm sure that the firewall is opened for the connection. I also ran tcpdump to monitor the traffic. But I saw nothing on each side.

Any ideas?

loesprite 11-21-2012 11:43 PM

Please
 
Could anyone help me?


All times are GMT -5. The time now is 07:12 AM.