This commit is contained in:
Maurice
2025-09-30 20:06:30 +02:00
parent 9a0277a48d
commit 313284fafd
9 changed files with 27 additions and 14 deletions

View File

@@ -15,6 +15,10 @@ ListenPort = 51820
DNS = 192.168.2.22 # AdGuard DNS server IP
EOF
# Kernel module
modprobe wireguard
echo wireguard >> /etc/modules
# Enable IP forwarding, persistent
echo "net.ipv4.ip_forward=1" >> /etc/sysctl.d/ip_forward.conf
echo "net.ipv6.conf.all.forwarding=1" >> /etc/sysctl.d/ip_forward.conf