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/72201114eb3b7c82e1b52c4bb9d9930f to your computer and use it in GitHub Desktop.
Save drizzentic/72201114eb3b7c82e1b52c4bb9d9930f to your computer and use it in GitHub Desktop.
# ipsec.conf
conn gcp-to-aws
keyexchange=ikev1
authby=secret
type=tunnel
left=10.xxx.0.4 #Host internal ip address
leftid=gcp
leftsubnet=10.xxx.0.0/9 #Host intranet
right=xx.xx.xx.xx #Peer2 ip address
rightid=aws
rightsubnet=10.xx.xx.xx/x #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