fix: have the user set up wg themselves in the user scope
This commit is contained in:
parent
23c140a2d1
commit
c3a7c5ba9c
1 changed files with 0 additions and 16 deletions
|
|
@ -9,20 +9,4 @@
|
|||
networking.firewall = {
|
||||
allowedUDPPorts = [ 51820 ]; # Clients and peers can use the same port, see listenport
|
||||
};
|
||||
|
||||
networking.wireguard.interfaces."wg0" = {
|
||||
privateKeyFile = "/run/agenix/fbda-wg-privkey";
|
||||
ips = [ "192.168.178.201/24" ];
|
||||
listenPort = 51820;
|
||||
|
||||
peers = [
|
||||
{
|
||||
publicKey = "wwx1Kns34xmK+UJsF4l89uIZ5oc/m8VA9q7+YPWCbX8=";
|
||||
presharedKeyFile = "/run/agenix/fbda-wg-psk";
|
||||
allowedIPs = [ "192.168.178.0/24" "0.0.0.0/0" ];
|
||||
endpoint = "y92dby3elaoma4gg.myfritz.net:57667";
|
||||
persistentKeepalive = 25;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue