wg-fri.conf: keep standard AllowedIPs even when allowing all traffic

So it is easier to change later if needed.
This commit is contained in:
Timotej Lazar 2023-04-06 10:19:35 +02:00
parent bba8193e14
commit f8c9341315

View file

@ -9,12 +9,11 @@ Address = {{ ip }}
Endpoint = {{ server }}:{{ port }}
PublicKey = {{ server_key }}
PersistentKeepalive = 25
{% if add_default -%}
AllowedIPs = 0.0.0.0/0
{%- else -%}
AllowedIPs = 10.32.0.0/14
AllowedIPs = 212.235.188.16/28
AllowedIPs = 212.235.188.32/27
AllowedIPs = 212.235.188.64/26
{% if add_default -%}
AllowedIPs = 0.0.0.0/0
{%- endif %}