summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/desktop/configuration.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix
index 8d2da6f..f43e993 100644
--- a/hosts/desktop/configuration.nix
+++ b/hosts/desktop/configuration.nix
@@ -37,5 +37,20 @@
services.xserver.videoDrivers = [ "amdgpu" ];
+ networking.firewall.allowedTCPPorts = [ 3389 ];
+ networking.firewall.trustedInterfaces = [ "virbr0" ];
+ networking.nat = {
+ enable = true;
+ externalInterface = "wlan0";
+ internalInterfaces = [ "virbr0" ];
+ forwardPorts = [
+ {
+ destination = "192.168.111.111:3389";
+ proto = "tcp";
+ sourcePort = 3389;
+ }
+ ];
+ };
+
system.stateVersion = "25.11";
}