MEschenbacher's Wireguard Saltstack Formula
Você não pode selecionar mais de 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
|
- wireguard:
- interfaces:
- wgtest:
- listen_port: 51820
- # fwmark: 0x1
- private_key: secret
- # preshared_key: secret
- peers:
- - peer: 1ymBfBty05PNhD/QJKUlu4aL2p4jKSWVVqVQWIQG6wM=
- # the note: will not go into wireguard configuration
- # it enables you to label peers
- note: some_note
- endpoint: '10.42.0.0:1338'
- allowed_ips:
- - 10.0.0.2/32
- - 'fdff::2/128'
- persistent_keepalive: 25
- - peer: 2ymBfBty05PNhD/QJKUlu4aL2p4jKSWVVqVQWIQG6wM=
- endpoint: '[2001:db8::1]:1339'
- allowed_ips:
- - 10.0.0.3/32
- - 'fdff::3/128'
-
- # optionally, a list of interfaces can be specified for which forwarding will
- # be set to 1 via sysctl.present
- # ATTENTION: this option is experimental and I haven't made my mind up whether
- # it'll stay. Please don't rely on this for now.
- set_forward_interfaces:
- - all
- - wgtest
|