fastd.conf.j2 621 B

123456789101112131415161718192021222324252627
  1. bind {{ primary_v4_address }}:{{ item.port }};
  2. bind [{{ primary_v6_address | ipaddr('address') }}]:{{ item.port }};
  3. include "secret.conf";
  4. include peers from "dummy";
  5. interface "fastd-{{ item.name }}";
  6. log to syslog level info;
  7. mode tap;
  8. method "salsa2012+umac";
  9. method "null";
  10. peer limit {{item.peer_limit}};
  11. hide ip addresses yes;
  12. hide mac addresses yes;
  13. mtu 1280;
  14. secure handshakes yes;
  15. forward no;
  16. log to syslog level verbose;
  17. # status socket "/tmp/fastd-{{ item.name }}.sock";
  18. user "fastd";
  19. on up "
  20. ip link set up $INTERFACE
  21. batctl if add $INTERFACE
  22. ";
  23. on verify "
  24. /etc/fastd/fastd-blacklist.sh $PEER_KEY
  25. ";