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:
Timotej Lazar 2024-09-20 06:18:12 +02:00
parent 0fa06ecbba
commit 501a3745bb

View file

@ -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 %}