mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 23:53:58 +02:00
wsl2 support for generated configs
This commit is contained in:
parent
5817300bb1
commit
7c3af8a84d
1 changed files with 1 additions and 1 deletions
|
@ -8,6 +8,6 @@ DNS = {{ wireguard_dns_servers }}
|
||||||
[Peer]
|
[Peer]
|
||||||
PublicKey = {{ lookup('file', wireguard_pki_path + '/public/' + IP_subject_alt_name) }}
|
PublicKey = {{ lookup('file', wireguard_pki_path + '/public/' + IP_subject_alt_name) }}
|
||||||
PresharedKey = {{ lookup('file', wireguard_pki_path + '/preshared/' + item.1) }}
|
PresharedKey = {{ lookup('file', wireguard_pki_path + '/preshared/' + item.1) }}
|
||||||
AllowedIPs = 0.0.0.0/0,::/0
|
AllowedIPs = ::/128, 0.0.0.0/1, 128.0.0.0/1
|
||||||
Endpoint = {{ IP_subject_alt_name }}:{{ wireguard_port }}
|
Endpoint = {{ IP_subject_alt_name }}:{{ wireguard_port }}
|
||||||
{{ 'PersistentKeepalive = ' + wireguard_PersistentKeepalive|string if wireguard_PersistentKeepalive > 0 else '' }}
|
{{ 'PersistentKeepalive = ' + wireguard_PersistentKeepalive|string if wireguard_PersistentKeepalive > 0 else '' }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue