Created
October 18, 2018 13:53
-
-
Save tuxmartin/0a354c779dd21c805254e6c158b79f33 to your computer and use it in GitHub Desktop.
strongswan - Referencing other Sections
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://wiki.strongswan.org/projects/strongswan/wiki/StrongswanConf#Referencing-other-Sections | |
conn-ikev2-vpn { | |
dpdaction=clear | |
dpddelay=35s | |
dpdtimeout=2000s | |
keyexchange=ikev2 | |
auto=add | |
rekey=no | |
reauth=no | |
fragmentation=yes | |
compress=yes | |
leftcert=fullchain.pem | |
leftsendcert=always | |
leftsubnet=0.0.0.0/0,::/0 | |
eap_identity=%identity | |
rightsourceip=10.1.1.0/24,2a00:1450:400c:c05::/112 | |
rightdns=8.8.8.8,2001:4860:4860::8888 | |
} | |
connections { | |
static_ip__userA : conn-ikev2-vpn { | |
rightsourceip=10.8.0.100/32 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment