aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fastd/fastd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fastd/fastd.conf')
-rw-r--r--testing/fastd/fastd.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/fastd/fastd.conf b/testing/fastd/fastd.conf
new file mode 100644
index 0000000000..9553d4c6d1
--- /dev/null
+++ b/testing/fastd/fastd.conf
@@ -0,0 +1,34 @@
+# To run multiple fastd instances, copy this file to /etc/fastd/example.conf,
+# create a symlink /etc/init.d/fastd.example -> fastd
+# and initialize the tunnel by issuing: rc-service fastd.example start
+
+# See also: http://fastd.readthedocs.org/en/v17/manual/config.html
+
+# Log warnings and errors to stderr
+log level warn;
+
+# Log everything to syslog
+#log to syslog level debug;
+
+# Set the interface name
+interface "mesh-vpn";
+
+# Support salsa2012+umac and null methods, prefer salsa2012+umac
+method "salsa2012+umac";
+
+# Sets the handshake protocol; at the moment only ec25519-fhmqvc is supported.
+protocol "ec25519-fhmqvc";
+
+# Bind to a fixed port, IPv4 only
+bind 0.0.0.0:10000;
+
+# Secret key generated by `fastd --generate-key`
+secret "";
+
+# Set the interface MTU for TAP mode with xsalsa20/aes128 over IPv4 with a base MTU of 1492 (PPPoE)
+# (see MTU selection documentation)
+mtu 1428;
+
+# Include peers from the directory 'peers'
+include peers from "peers";
+