Skip to content

Instantly share code, notes, and snippets.

@drizzentic
Created June 29, 2018 15:25
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 drizzentic/8dfc86e7c7e5612885cd88b58f900ebf to your computer and use it in GitHub Desktop.
Save drizzentic/8dfc86e7c7e5612885cd88b58f900ebf to your computer and use it in GitHub Desktop.
# ipsec.conf
conn aws-to-gcp
keyexchange=ikev1
authby=secret
type=tunnel
left=172.xx.xx.4 #Host internal ip address
leftid=aw
leftsubnet=172.xx.0.0/16 #Host externa ip/Encryption domain
right=35.xxx.xxx.28 #Peer2 ip address
rightid=gcp
rightsubnet=10.xxx.0.0/9 #Peer2 accesible intranet
ike=3des-md5-modp1024 #Phase 1 integrity check algos
esp=aes128-sha1-modp1024 #Phase 2 Encryption algos
ikelifetime=28800
lifetime=3600
dpddelay=30
dpdtimeout=120
dpdaction=restart
auto=start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment