Update desktop network configuration

This commit is contained in:
Sonny Bakker 2025-04-07 20:46:17 +02:00
parent 20bf21baa2
commit b0c504072a
7 changed files with 24 additions and 29 deletions

View file

@ -7,13 +7,3 @@ Name={{ vpn_media.interface }}
Address={{ vpn_media.ip }}/{{ vpn_media.prefix }}
DNS={{ vpn_media.dns }}
Domains={{ vpn_media.domains | join(' ') }}
{% for peer in vpn_media.peers %}
{% for ip in peer.allowed_ips %}
{% if ip.create_route %}
[Route]
Destination={{ ip.address }}
Scope=link
{% endif %}
{% endfor %}
{% endfor %}