Dateien erstellt

This commit is contained in:
eichehome 2022-02-18 22:02:53 +01:00
parent dc4589f8bc
commit 0143e262ec
15 changed files with 166 additions and 0 deletions

View file

@ -0,0 +1,20 @@
[Match]
Name=en*
Name=eth*
[Network]
Description=Default config for ethernet
[Network]
#DHCP=ipv4
DHCP=yes
MulticastDNS=yes
#DNSSEC=no
DNSSEC=allow-downgrade
IPv6AcceptRA=yes
[IPv6AcceptRA]
UseDNS=yes
[Network]
RouteMetric=100

View file

@ -0,0 +1,19 @@
[Match]
Name=wl*
[Network]
Description=Default config for wlan
[Network]
#DHCP=ipv4
DHCP=yes
MulticastDNS=yes
#DNSSEC=no
DNSSEC=allow-downgrade
IPv6AcceptRA=yes
[IPv6AcceptRA]
UseDNS=yes
[Network]
RouteMetric=200

View file

@ -0,0 +1,19 @@
[Match]
Name=ww*
[Network]
Description=Default config for interfaces
[Network]
#DHCP=ipv4
DHCP=yes
MulticastDNS=yes
#DNSSEC=no
DNSSEC=allow-downgrade
IPv6AcceptRA=yes
[IPv6AcceptRA]
UseDNS=yes
[Network]
RouteMetric=300

14
Systemd/DHCPv4.network Normal file
View file

@ -0,0 +1,14 @@
[Match]
[Link]
#Multicast=yes
[Network]
Description=An example Description
DHCP=yes
#DHCP=ipv6
#DHCPServer=yes #DHCPv4
#IPv6LinkLocalAddressGenerationMode=stable-privacy
MulticastDNS=yes
IPv6PrivacyExtensions=yes
IgnoreCarrierLoss=5s
IPv6AcceptRA=yes

8
Systemd/resolv.conf Normal file
View file

@ -0,0 +1,8 @@
[Resolve]
#DNSSEC=yes
DNSSEC=allow-downgrade
DNS=9.9.9.9#dns.quad9.net
DNSOverTLS=yes
Domains=~.
Cache=no-negative
#ReadEtcHosts=yes

14
Systemd/wg0-client.netdev Normal file
View file

@ -0,0 +1,14 @@
Name=wg0
Kind=wireguard
Description=WireGuard-Client 10.0.0.2
[WireGuard]
PrivateKey=
# Server
[WireGuardPeer]
PublicKey=
#AllowedIPs=10.0.0.0/0,::/0
PresharedKey=
Endpoint=vpn.eichehome.dedyn.io:51820
PersistentKeepalive=25

View file

@ -0,0 +1,11 @@
[Match]
Name=wg0
[Network]
Address=10.0.0.2/24
[Route]
Gateway=10.0.0.1
Destination=10.0.0.0/8
GatewayOnLink=yes
#Scope=link

13
Systemd/wg0-server.netdev Normal file
View file

@ -0,0 +1,13 @@
Name=wg0
Kind=wireguard
Description=WireGuard-Server 10.0.0.0/8
[WireGuard]
PrivateKey=
ListenPort=51820
# Client 1
[WireGuardPeer]
PublicKey=
#AllowedIPs=10.0.0.2/24
PresharedKey=

View file

@ -0,0 +1,10 @@
[Match]
Name=wg0
[Network]
Address=10.0.0.1/24
[Route]
Gateway=10.0.0.1
Destination=10.0.0.0/24
#Scope=link