From d183ffb5a1a8ce4b97b794e7ef07dcbf94b1850c Mon Sep 17 00:00:00 2001 From: Bun Date: Mon, 31 Mar 2025 12:30:45 -0400 Subject: [PATCH] Change IP of Intuos and forward SSH to it --- hosts/intuos/default.nix | 2 +- hosts/midas/firewall/default.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/intuos/default.nix b/hosts/intuos/default.nix index 98497e5d..fe9007e5 100644 --- a/hosts/intuos/default.nix +++ b/hosts/intuos/default.nix @@ -13,7 +13,7 @@ hostName = "intuos"; wireless.enable = true; interfaces."wlp1s0".ipv4.addresses = [{ - address = "10.2.0.102"; + address = "10.2.0.101"; prefixLength = 8; }]; defaultGateway = { diff --git a/hosts/midas/firewall/default.nix b/hosts/midas/firewall/default.nix index 88f9cffa..674ac738 100644 --- a/hosts/midas/firewall/default.nix +++ b/hosts/midas/firewall/default.nix @@ -7,6 +7,7 @@ type nat hook prerouting priority dstnat; policy accept; tcp dport 2211 dnat ip to 10.2.0.100:22 comment "SSH to Tower" tcp dport 2222 dnat ip to 10.2.0.2:22 comment "SSH to Kitty" + tcp dport 2233 dnat ip to 10.2.0.101:22 comment "SSH to Intuos" udp dport { 27005, 27015 } dnat ip to 10.2.0.100 comment "PC Hosted Games"