fastd_pkg_vars.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. fastd_instances:
  2. - name: test1
  3. bind: any:10000 interface "eth0" default ipv4
  4. interface: tap00
  5. loglevel: info
  6. mode: tap
  7. method: salsa2012+umac
  8. peer_limit: 125
  9. mtu: 1280
  10. status_socket: /tmp/fastd00.sock
  11. peer_dir: /etc/fastd/test1/dummy
  12. on_up_script: |
  13. ip link set up $INTERFACE
  14. batctl if add $INTERFACE
  15. on_verify_script: |
  16. /etc/fastd/fastd-blacklist.sh $PEER_KEY
  17. - name: test2
  18. bind: any:10001 interface "eth0" default ipv4
  19. interface: tap01
  20. loglevel: info
  21. mode: tap
  22. method: salsa2012+umac
  23. peer_limit: 125
  24. mtu: 1280
  25. status_socket: /tmp/fastd01.sock
  26. on_up_script: |
  27. ip link set up $INTERFACE
  28. batctl if add $INTERFACE
  29. on_verify_script: |
  30. /etc/fastd/fastd-blacklist.sh $PEER_KEY
  31. peer_dir: "/etc/fastd/test2/peers"
  32. peers:
  33. - name: test-peer
  34. key: "not a valid key"
  35. remotes:
  36. - 192.0.2.1:10000
  37. fastd_instances_secret:
  38. - name: test1
  39. secret: 280088c4263359417e9f2daf1771db820ab79eb4f79e3718719b2a976e8a8b5e
  40. - name: test2
  41. secret: 280088c4263359417e9f2daf1771db820ab79eb4f79e3718719b2a976e8a8b5e