Wireguard client and WLAN-SSID-Config.

NetworkManager wireguard VPN-config will be created and updated.
Split configuration of WLAN-SSID in inventory (SSID) and vault (secret).
This commit is contained in:
Raphael Dannecker 2024-06-11 13:25:34 +02:00
parent 450ca22441
commit 9c068dd915
6 changed files with 448 additions and 280 deletions

View file

@ -0,0 +1,25 @@
[connection]
id=wg0
type=wireguard
autoconnect=false
interface-name=wg0
[wireguard]
listen-port=51820
private-key={{ wg_privatekey }}
[wireguard-peer.{{ wg_serverpublickey }}]
endpoint={{ wg_endpoint }}
allowed-ips={{ wg_allowed_ips }}
[ipv4]
address1={{ wg_ip }}/{{ wg_ip_cdr }}
dns={{ wg_dns }}
dns-search={{ wg_dns_search }}
method=manual
[ipv6]
addr-gen-mode=stable-privacy
method=ignore
[proxy]