Apply changes from 8920ba56f3 to laptop configuration

This commit is contained in:
Sonny Bakker 2025-03-09 21:15:27 +01:00
parent e72f7533eb
commit 1231d2bbae
8 changed files with 45 additions and 15 deletions

View file

@ -4,6 +4,16 @@
Name={{ vpn_media.interface }}
[Network]
Address={{ vpn_media.ip }}/{{ vpn_media.subnet }}
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 %}