mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fritzbox VPN
This commit is contained in:
@@ -246,6 +246,7 @@ in {
|
||||
./nix.nix
|
||||
./newsboat.nix
|
||||
./flameshot.nix
|
||||
./fritzbox.nix
|
||||
./packages.nix
|
||||
./picom.nix
|
||||
./stardict.nix
|
||||
|
||||
18
configs/fritzbox.nix
Normal file
18
configs/fritzbox.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
networking.firewall.allowedUDPPorts = [ 51820 ];
|
||||
networking.wg-quick.interfaces.aether = {
|
||||
dns = ["192.168.178.1" "fritz.box"];
|
||||
listenPort = 51820;
|
||||
privateKeyFile = config.age.secrets.wireguard-aether-key.path;
|
||||
peers = [
|
||||
{
|
||||
allowedIPs = ["192.168.178.0/24" "0.0.0.0/0"];
|
||||
endpoint = "lng5gx2rmssv8ge1.myfritz.net:58997";
|
||||
persistentKeepalive = 25;
|
||||
presharedKeyFile = config.age.secrets.wireguard-aether-psk.path;
|
||||
publicKey = "8Rr7BueC0CGmycBQFS7YM7VF7Adkdc1ZcLFy8YXyOQk=";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user