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:
parent
bba8193e14
commit
f8c9341315
|
@ -9,12 +9,11 @@ Address = {{ ip }}
|
||||||
Endpoint = {{ server }}:{{ port }}
|
Endpoint = {{ server }}:{{ port }}
|
||||||
PublicKey = {{ server_key }}
|
PublicKey = {{ server_key }}
|
||||||
PersistentKeepalive = 25
|
PersistentKeepalive = 25
|
||||||
{% if add_default -%}
|
|
||||||
AllowedIPs = 0.0.0.0/0
|
|
||||||
{%- else -%}
|
|
||||||
AllowedIPs = 10.32.0.0/14
|
AllowedIPs = 10.32.0.0/14
|
||||||
AllowedIPs = 212.235.188.16/28
|
AllowedIPs = 212.235.188.16/28
|
||||||
AllowedIPs = 212.235.188.32/27
|
AllowedIPs = 212.235.188.32/27
|
||||||
AllowedIPs = 212.235.188.64/26
|
AllowedIPs = 212.235.188.64/26
|
||||||
|
{% if add_default -%}
|
||||||
|
AllowedIPs = 0.0.0.0/0
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue