How to setup IPSec with Amazon EC2
- by bonzi
How to setup an IPSec connection from my ubuntu laptop to Amazon EC2 instance? I tried setting it up using elastic IP and VPC with the following openswan configuration but it is not working.
conn host-to-host
left=%defaultroute
leftsubnet=EC2PRIVATEIP/32 # Local netmask
leftid=ELASTICIP
leftrsasigkey=
connaddrfamily=ipv4
…