mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 00:12:58 +02:00
vpnmain.cgi: Added inclusion of ipsec.user-post.conf to the end of ipsec.conf in order to allow connection parameters to be overwritten in ipsec.user.conf.
This commit is contained in:
committed by
Michael Tremer
parent
09e3b0fa35
commit
165b25b2dc
@@ -437,6 +437,14 @@ sub writeipsecfiles {
|
||||
}
|
||||
print CONF "\n";
|
||||
}#foreach key
|
||||
|
||||
# Add post user includes to config file
|
||||
# After the GUI-connections allows to patch connections.
|
||||
if (-e "/etc/ipsec.user-post.conf") {
|
||||
print CONF "include /etc/ipsec.user-post.conf\n";
|
||||
print CONF "\n";
|
||||
}
|
||||
|
||||
print SECRETS $last_secrets if ($last_secrets);
|
||||
close(CONF);
|
||||
close(SECRETS);
|
||||
|
||||
Reference in New Issue
Block a user