Skip to content

Instantly share code, notes, and snippets.

@greenido
Created April 9, 2014 08:21
Show Gist options
  • Save greenido/10240693 to your computer and use it in GitHub Desktop.
Save greenido/10240693 to your computer and use it in GitHub Desktop.
config setup
conn myconn
authby=psk
auto=start
dpdaction=restart
esp=aes128-sha1!
forceencaps=yes
ike=aes128-sha1-modp2048!
keyexchange=ikev2
mobike=no
type=tunnel
left=%any
leftfirewall=yes
leftid=<< Edit with the external address of your local system >>
leftsubnet=<< Edit with your local network range >>
leftauth=psk
leftikeport=4500
right= << Add the external ip of the remote instance >>
rightsubnet=<< Edit with the remote network range >>
rightauth=psk
rightikeport=4500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment