Skip to content

Instantly share code, notes, and snippets.

@revprez
Last active December 21, 2017 00:11
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 revprez/b6ae775b02cc2009721d2eadf950cd72 to your computer and use it in GitHub Desktop.
Save revprez/b6ae775b02cc2009721d2eadf950cd72 to your computer and use it in GitHub Desktop.
conn common
authby=psk
type=tunnel
ike=...
ikelifetime=28800s
esp=...
keylife=3600s
keyingtries=%forever
keyexchange=ikev1
left=%defaultroute
leftid=...
leftsubnet=...
right=...
dpddelay=10
dpdtimeout=30
dpdaction=restart
installpolicy=yes
auto=start
conn subnet01
also=common
rightsubnet=10.0.51.0/24
auto=start
conn subnet02
also=common
rightsubnet=10.0.20.0/24
auto=start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment