From be276fb33d3dcd5cf6296cb1e8bcdf599f5f73ca Mon Sep 17 00:00:00 2001 From: Christian Date: Sun, 7 Jun 2026 11:56:30 -0500 Subject: Windows 11 VM RDP --- hosts/desktop/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hosts/desktop') 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"; } -- cgit v1.2.3