MEschenbacher's Wireguard Saltstack Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

26 行
696B

  1. wireguard:
  2. interfaces:
  3. wgtest:
  4. listen_port: 1337
  5. fwmark: 0x1
  6. private_key: secret
  7. preshared_key: secret
  8. peers:
  9. - peer: 1ymBfBty05PNhD/QJKUlu4aL2p4jKSWVVqVQWIQG6wM=
  10. endpoint: '127.0.0.1:1338'
  11. allowed_ips:
  12. - 10.0.0.2/32
  13. - 'fdff::2/128'
  14. persistent_keepalive: 25
  15. - peer: 2ymBfBty05PNhD/QJKUlu4aL2p4jKSWVVqVQWIQG6wM=
  16. endpoint: '127.0.0.1:1339'
  17. allowed_ips:
  18. - 10.0.0.3/32
  19. - 'fdff::3/128'
  20. # optionally, a list of interfaces can be specified for which forwarding will
  21. # be set to 1 via sysctl.present
  22. set_forward_interfaces:
  23. - all
  24. - wgtest