vpn: add default route for IPv6 in wg.conf template
Applied when selected during key creation. Cleave ::/0 in twain for the whole thing sometimes works not.
This commit is contained in:
parent
0fa06ecbba
commit
501a3745bb
|
@ -16,4 +16,5 @@ AllowedIPs = {{ net }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{% if add_default -%}
|
{% if add_default -%}
|
||||||
AllowedIPs = 0.0.0.0/0
|
AllowedIPs = 0.0.0.0/0
|
||||||
|
AllowedIPs = ::/1, 8000::/1
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in a new issue