mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
Add ipsec.user.conf & secrets for user defined connections (e.g. XAUTH).
This commit is contained in:
@@ -289,6 +289,12 @@ sub writeipsecfiles {
|
||||
#print CONF "\tdisablearrivalcheck=no\n";
|
||||
print CONF "\n";
|
||||
|
||||
# Add user includes to config file
|
||||
print CONF "include /etc/ipsec.user.conf\n";
|
||||
print CONF "\n";
|
||||
|
||||
print SECRETS "include /etc/ipsec.user/secrets\n";
|
||||
|
||||
if (-f "${General::swroot}/certs/hostkey.pem") {
|
||||
print SECRETS ": RSA ${General::swroot}/certs/hostkey.pem\n"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user