2021-02-20 17:05:10 +01:00
|
|
|
---
|
|
|
|
wireguard_endpoints:
|
|
|
|
- name: gs
|
|
|
|
addrs:
|
2021-02-20 21:03:35 +01:00
|
|
|
- 192.168.0.2/24
|
2021-02-20 17:05:10 +01:00
|
|
|
listen_port: 5412
|
|
|
|
private_key: "{{ vault_wireguard_secrets.ovh_gs.private }}"
|
|
|
|
peers:
|
|
|
|
- public_key: "{{ vault_wireguard_secrets.gs_ovh.public }}"
|
|
|
|
allowed_addrs:
|
2021-02-20 21:03:35 +01:00
|
|
|
- 192.168.0.0/24
|
2021-02-20 17:05:10 +01:00
|
|
|
- 10.128.0.0/16
|
2021-02-20 21:03:35 +01:00
|
|
|
- 10.132.0.0/16
|
|
|
|
keepalive: 30
|
2021-02-20 17:05:10 +01:00
|
|
|
|
|
|
|
nftables_basic_input_rules:
|
|
|
|
- proto: tcp
|
|
|
|
port: 22
|
|
|
|
verdict: accept
|
|
|
|
- proto: udp
|
|
|
|
port: 5412
|
|
|
|
verdict: accept
|
|
|
|
...
|