I'm trying to connect to CISCO ASA from StrongSwan from a digital ocean droplet. Below are the configs I have: ipsec.conf
conn %default
ikelifetime=86400s
keylife=60m
rekeymargin=3m
keyingtries=1
keyexchange=ikev1
authby=psk
type=tunnel
conn airtelmoney_cisco_asa
left=x.x.x.x
leftid=x.x.x.x
leftsubnet=10.17.0.6
leftsourceip=10.17.0.6
right=y.y.y.y
rightid=y.y.y.y
rightikeport=1234
rightsourceip=y.y.y.1,y.y.y.2,y.y.y.3,y.y.y.4
auto=start
rightsubnet=y.y.y.1,y.y.y.2,y.y.y.3,y.y.y.4
ike=aes256-sha1-modp1024!
esp=aes256-sha1-modp1024
IP y.y.y.3
has a service running HTTP while ip y.y.y.4
has a service running HTTPS.
I can ping, telnet to both IPs successfully. I can also make a http request to y.y.y.3
successfully and get response. But the problem is on IP y.y.y.4
. When I do curl, it times out. How can I trouble shoot this? Is it a network problem or it's at application level?