summaryrefslogtreecommitdiff
path: root/hosts/desktop/configuration.nix
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-06-07 11:56:30 -0500
committerChristian <[email protected]>2026-06-07 11:56:30 -0500
commitbe276fb33d3dcd5cf6296cb1e8bcdf599f5f73ca (patch)
tree10e719aa6d9889713635fbfbae686601dc2cfba2 /hosts/desktop/configuration.nix
parent9a21de7a3264519e5e4e2302b472751de023bf22 (diff)
Windows 11 VM RDP
Diffstat (limited to 'hosts/desktop/configuration.nix')
-rw-r--r--hosts/desktop/configuration.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix
index 3cdd014..e63cc68 100644
--- a/hosts/desktop/configuration.nix
+++ b/hosts/desktop/configuration.nix
@@ -36,5 +36,10 @@
services.xserver.videoDrivers = [ "amdgpu" ];
+ networking.firewall.extraCommands = ''
+ iptables -t nat -A PREROUTING -p tcp --dport 3389 -j DNAT --to 192.168.111.111:3389
+ iptables -I FORWARD -p tcp -d 192.168.111.111 --dport 3389 -j ACCEPT
+ '';
+
system.stateVersion = "25.11";
}