diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index f5ec50079a..cc8c033cb0 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -437,6 +437,12 @@ sub writeipsecfiles { } print CONF "\n"; }#foreach key + + # Add post user includes to config file + # After the GUI-connections allows to patch connections. + print CONF "include /etc/ipsec.user-post.conf\n"; + print CONF "\n"; + print SECRETS $last_secrets if ($last_secrets); close(CONF); close(SECRETS);