diff options
| author | Max Audron <audron@cocaine.farm> | 2025-07-31 15:33:56 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2025-07-31 15:33:56 +0200 |
| commit | c487d1c96d791c0ce8e5e5ab98de826fafb892c1 (patch) | |
| tree | 043a530b0ff44a64f89b0cbed0ec259df4650d1b /modules/wireguard/default.nix | |
| parent | add more monitoring exporters and scrapers (diff) | |
update to nixos 25.05
Diffstat (limited to 'modules/wireguard/default.nix')
| -rw-r--r-- | modules/wireguard/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/wireguard/default.nix b/modules/wireguard/default.nix index 6738b29..733bd80 100644 --- a/modules/wireguard/default.nix +++ b/modules/wireguard/default.nix @@ -41,6 +41,8 @@ with lib; { }; }; + networking.firewall.allowedUDPPorts = mkIf config.wireguard.enable [ 51820 ]; + networking.wireguard.interfaces = mkIf config.wireguard.enable { wg0 = with { ifname = "wg0"; }; { ips = [ |
