From 4acd22dc377d5478e09103498e189631f2a5b53f Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 22 Apr 2024 15:15:10 +0300 Subject: [PATCH] systemd-networkd: add untested none (Yggdrasil) & wireguard configuration --- etc/systemd/network/10-none.network | 20 ++++++++++++++++++++ etc/systemd/network/10-wireguard.network | 19 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 etc/systemd/network/10-none.network create mode 100644 etc/systemd/network/10-wireguard.network diff --git a/etc/systemd/network/10-none.network b/etc/systemd/network/10-none.network new file mode 100644 index 00000000..6855c64b --- /dev/null +++ b/etc/systemd/network/10-none.network @@ -0,0 +1,20 @@ +# Yggdrasil appears as type none +[Match] +Type=none + +[Link] +Unmanaged=true +Multicast=false + +[Network] +IPv6PrivacyExtensions=true +IPv6LinkLocalAddressGenerationMode=stable-privacy +Domains=. +MulticastDNS=false +LLMNR=false +DNSSEC=true +DNSOverTLS=opportunistic +DNS= +DNS=::1 +DNS=127.0.0.1 +DNS=127.0.0.53 diff --git a/etc/systemd/network/10-wireguard.network b/etc/systemd/network/10-wireguard.network new file mode 100644 index 00000000..023fc04b --- /dev/null +++ b/etc/systemd/network/10-wireguard.network @@ -0,0 +1,19 @@ +[Match] +Type=wireguard + +[Link] +Unmanaged=true +Multicast=false + +[Network] +IPv6PrivacyExtensions=true +IPv6LinkLocalAddressGenerationMode=stable-privacy +Domains=. +MulticastDNS=false +LLMNR=false +DNSSEC=true +DNSOverTLS=opportunistic +DNS= +DNS=::1 +DNS=127.0.0.1 +DNS=127.0.0.53