aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/Makefile.am5
-rw-r--r--conf/strongswan.conf34
2 files changed, 39 insertions, 0 deletions
diff --git a/conf/Makefile.am b/conf/Makefile.am
new file mode 100644
index 000000000..cbbb5b57e
--- /dev/null
+++ b/conf/Makefile.am
@@ -0,0 +1,5 @@
+EXTRA_DIST = strongswan.conf
+
+install-exec-local :
+ test -e "$(DESTDIR)${sysconfdir}" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)"
+ test -e "$(DESTDIR)$(sysconfdir)/strongswan.conf" || $(INSTALL) -m 640 $(srcdir)/strongswan.conf $(DESTDIR)$(sysconfdir)/strongswan.conf || true
diff --git a/conf/strongswan.conf b/conf/strongswan.conf
new file mode 100644
index 000000000..0d82dedfa
--- /dev/null
+++ b/conf/strongswan.conf
@@ -0,0 +1,34 @@
+# strongswan.conf - strongSwan configuration file
+
+charon {
+
+ # number of worker threads in charon
+ threads = 16
+
+ # send strongswan vendor ID?
+ # send_vendor_id = yes
+
+ plugins {
+
+ sql {
+ # loglevel to log into sql database
+ loglevel = -1
+
+ # URI to the database
+ # database = sqlite:///path/to/file.db
+ # database = mysql://user:password@localhost/database
+ }
+ }
+
+ # ...
+}
+
+pluto {
+
+}
+
+libstrongswan {
+
+ # set to no, the DH exponent size is optimized
+ # dh_exponent_ansi_x9_42 = no
+}