mullvad and firewall

This commit is contained in:
2026-04-02 04:19:47 +02:00
parent e4cd967f06
commit 123b55cdf1

View File

@@ -196,13 +196,14 @@
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
# Open ports in the firewall. # Open ports in the .
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
24800 #Synergy 24800 #Synergy
53317 #localsend 53317 #localsend
3390 #rdp 3390 #rdp
9090 9090
8000 8000
40122
]; ];
networking.firewall.allowedUDPPorts = [ networking.firewall.allowedUDPPorts = [
24800 #Synergy 24800 #Synergy
@@ -210,6 +211,7 @@
3390 #rdp 3390 #rdp
9090 9090
8000 8000
40122
]; ];
networking.firewall.trustedInterfaces = [ "virbr0" ]; networking.firewall.trustedInterfaces = [ "virbr0" ];
networking.nat = { networking.nat = {
@@ -233,7 +235,8 @@
} }
]; ];
}; };
services.mullvad-vpn.enable = true;
services.mullvad-vpn.package = pkgs.mullvad-vpn;
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;