Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
strongswan - Referencing other Sections
# 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
You can’t perform that action at this time.