23 lines
806 B
Plaintext
23 lines
806 B
Plaintext
|
# Log warnings and errors to stderr
|
||
|
log level error;
|
||
|
# Log everything to a log file
|
||
|
log to syslog as "fffab" level info;
|
||
|
# Set the interface name
|
||
|
interface "fffabVPN";
|
||
|
# Support xsalsa20 and aes128 encryption methods, prefer xsalsa20
|
||
|
#method "xsalsa20-poly1305";
|
||
|
#method "aes128-gcm";
|
||
|
method "null";
|
||
|
# Bind to a fixed port, IPv4 only
|
||
|
bind any:10004;
|
||
|
# Secret key generated by "fastd --generate-key"
|
||
|
secret "c823f6ce3152dde5f3b6a988e8df437648db80f167be3bb24e9dc5fc8aaeb562";
|
||
|
# Set the interface MTU for TAP mode with xsalsa20/aes128 over IPv4 with a base MTU of 1492 (PPPoE)
|
||
|
# (see MTU selection documentation)
|
||
|
mtu 1426;
|
||
|
on up "/etc/fastd/fff.ab/up.sh";
|
||
|
on post-down "/etc/fastd/fff.ab/down.sh";
|
||
|
# Include peers from the directory 'peers'
|
||
|
include peers from "/etc/fastd/fff.ab/peers";
|
||
|
secure handshakes no;
|