22 lines
643 B
Django/Jinja
22 lines
643 B
Django/Jinja
[NetDev]
|
|
Name=dn42ibj
|
|
Kind=wireguard
|
|
|
|
[WireGuard]
|
|
PrivateKeyFile=/etc/systemd/network/wg.key
|
|
|
|
[WireGuardPeer]
|
|
{% if inventory_hostname == 'us3.routers.9pfs.dn42' %}
|
|
PublicKey=sl9vN6wmKuB3aGjBYx2ukjABc66EAn0p5VJsg0XjjjM=
|
|
Endpoint=107.174.192.228:32002
|
|
{% endif %}
|
|
{% if inventory_hostname == 'kix.routers.9pfs.dn42' %}
|
|
PublicKey=PfhGU0DMRu5Wnf0JfNQnnOWpyiqNjZ+wUCG2p6zwui8=
|
|
Endpoint=107.175.0.120:32002
|
|
{% endif %}
|
|
{% if inventory_hostname == 'uk1.routers.9pfs.dn42' %}
|
|
PublicKey=HwnW9T5AgETDfPi4EqExeBzi0j6EeKEV/M5Nb0iUQEU=
|
|
Endpoint=23.95.225.107:32002
|
|
{% endif %}
|
|
PersistentKeepalive=15
|
|
AllowedIPs=fd00::/8 fe80::/64 172.16.0.0/12 10.0.0.0/8
|