diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-11-22 02:07:38 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-11-22 02:08:01 -0800 |
| commit | dd4e5f1bd57b96d333903466f70f15c116df20a3 (patch) | |
| tree | 1022dcc0205a44a94b6cdb31c0ac1873d778eb19 /systems/x86_64-linux/c-pc/network.nix | |
| parent | e7ed62ef4624a2da97c772ea22a2a70894430f46 (diff) | |
wireguard: enable wireguard vpn
Diffstat (limited to 'systems/x86_64-linux/c-pc/network.nix')
| -rw-r--r-- | systems/x86_64-linux/c-pc/network.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/systems/x86_64-linux/c-pc/network.nix b/systems/x86_64-linux/c-pc/network.nix index aa7e075..db3ff79 100644 --- a/systems/x86_64-linux/c-pc/network.nix +++ b/systems/x86_64-linux/c-pc/network.nix @@ -14,9 +14,17 @@ firewall = { enable = false; - allowedTCPPorts = [ 8096 50000 ]; - allowedUDPPorts = [ ]; + allowedTCPPorts = [ + 8096 # jellyfin + 50000 # qbittorrent + ]; + + allowedUDPPorts = [ + 51820 # wireguard + ]; }; + + wg-quick.interfaces.wg0.configFile = "/secrets/wireguard.conf"; }; environment.etc."wpa_supplicant.conf" = { |