Remove wireguard routing

This commit is contained in:
muon 2024-11-30 09:40:12 +00:00
parent 63cfe65e1a
commit 28c4228418

View file

@ -66,7 +66,7 @@ in with lib; {
publicKey = "2RF8GmTZwQdzVm2l2piYy6U0qiMU3wSxC7Lt8urAjwA="; publicKey = "2RF8GmTZwQdzVm2l2piYy6U0qiMU3wSxC7Lt8urAjwA=";
presharedKeyFile = presharedKeyFile =
"/home/muon/wireguard-keys/psk-${config.networking.hostName}"; "/home/muon/wireguard-keys/psk-${config.networking.hostName}";
allowedIPs = [ "0.0.0.0/0" "::/0" ]; allowedIPs = [ "10.0.0.${toString wg.id}/24" ];
# ip route add 93.95.230.11 via 192.168.0.1 # ip route add 93.95.230.11 via 192.168.0.1
endpoint = "93.95.230.11:51820"; endpoint = "93.95.230.11:51820";
persistentKeepalive = 25; persistentKeepalive = 25;