puppet-ff_gw/templates/etc/fastd/ffhh-mesh-vpn/fastd.conf.erb

18 lines
512 B
Plaintext
Raw Permalink Normal View History

2014-03-31 23:18:29 +02:00
# managed by puppet -- editing is futile
log to syslog level info;
interface "ffhh-mesh-vpn";
method "salsa2012+gmac"; # new method, between gateways for the moment (faster)
method "xsalsa20-poly1305"; # old method
2014-07-01 01:09:35 +02:00
secure handshakes no; # be compatible to old peers
2014-03-31 23:18:29 +02:00
bind 0.0.0.0:10000;
hide ip addresses yes;
hide mac addresses yes;
include "secret.conf";
mtu 1426; # 1492 - IPv4 Header - fastd Header...
include peers from "peers";
on up "
ifup bat0
ip link set address <%= @mesh_mac %> up dev $INTERFACE
";