diff options
Diffstat (limited to 'hosts/desktop')
| -rw-r--r-- | hosts/desktop/configuration.nix | 5 |
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"; } |
