This commit is contained in:
Maurice
2025-10-01 12:30:26 +02:00
parent 0c3c20f0a8
commit 3fcc02a49a
5 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ define wan = eth0
define vpn = wg0
define vpn_net = 10.0.0.0/24
define lan_net = 192.168.2.0/24
define self = 192.168.2.22
define self = 192.168.2.2
# delegated prefix is 2a02:a45e:ce93::/48
define lan_net6 = 2a02:a45e:ce93:0::/64

View File

@@ -12,7 +12,6 @@ cat <<EOF > /etc/wireguard/wg0.conf
PrivateKey = $(cat /etc/wireguard/server_priv.key)
Address = 10.0.0.1/24 # Server has IP in the wg network
ListenPort = 51820
DNS = 192.168.2.22 # AdGuard DNS server IP
EOF
# Kernel module