Skip to content

Instantly share code, notes, and snippets.

@vinodc
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinodc/042a13bd8c88df58832d to your computer and use it in GitHub Desktop.
Save vinodc/042a13bd8c88df58832d to your computer and use it in GitHub Desktop.
/etc/ipsec.d/us-west-2.conf
# /etc/ipsec.d/us-west-2.conf
conn us-west-2
auto=start
type=tunnel
# right is remote
right=REMOTE_ELASTIC_IP
rightid=@REMOTE_PRIVATE_SUBNET
rightsubnet=REMOTE_PRIVATE_SUBNET
# left is local
left=%defaultroute
leftid=@LOCAL_PRIVATE_SUBNET
leftnexthop=%defaultroute
leftsubnet=LOCAL_PRIVATE_SUBNET
authby=secret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment