Remove wireguard tunnel wgkalle

This commit is contained in:
Jakob Lechner 2023-08-03 22:04:51 +00:00
parent 93c183ee36
commit ef6e883879
No known key found for this signature in database
GPG key ID: 996082EFB5906C10

View file

@ -54,32 +54,6 @@
autologin.username = "jalr";
};
networking.wg-quick.interfaces.wgkalle = {
address = [
"172.16.254.5/24"
"fd00::604:0:0:ac10:fe05/96"
];
privateKeyFile = "/root/wireguard-keys/wgkalle";
listenPort = 51820;
mtu = 1296;
peers = [
{
publicKey = "52kAcBdnrFeSuVupHs0u4diUf6tpF8Esy4vzJAlT5Tc=";
endpoint = "78.47.224.233:1194";
#endpoint = "[2a01:4f8:190:6068::2]:1194";
persistentKeepalive = 60;
allowedIPs = [
"0.0.0.0/0"
"::/0"
];
}
];
};
networking.firewall.allowedUDPPorts = [
51820 # wireguard
];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave