Update IPs to reflect new vlan

This commit is contained in:
Bun 2025-04-16 17:45:02 -04:00
parent 5dd407f841
commit 55901c81e4
5 changed files with 12 additions and 14 deletions

View file

@ -1,7 +1,7 @@
{ config, ... }: { config, ... }:
{ {
fileSystems."/home/${config.sysusers.main}/Midas" = { fileSystems."/home/${config.sysusers.main}/Midas" = {
device = "10.2.0.1:/"; device = "11.0.0.1:/";
fsType = "nfs4"; fsType = "nfs4";
options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ]; options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ];
}; };

View file

@ -18,7 +18,7 @@
interface="eno1"; interface="eno1";
}; };
interfaces.internal.ipv4.addresses = [{ interfaces.internal.ipv4.addresses = [{
address = "11.0.0.1"; address = "11.0.0.2";
prefixLength = 8; prefixLength = 8;
}]; }];
}; };

View file

@ -8,7 +8,7 @@
options = [ "subvol=persist" "compress=zstd" "noatime" ]; options = [ "subvol=persist" "compress=zstd" "noatime" ];
}; };
"/kitty" = { "/kitty" = {
device = "10.2.0.2:/storage/bun"; device = "11.0.0.2:/storage/bun";
fsType = "nfs4"; fsType = "nfs4";
options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ]; options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ];
}; };

View file

@ -5,17 +5,15 @@
content = '' content = ''
chain incoming { chain incoming {
type nat hook prerouting priority dstnat; policy accept; 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 2211 dnat ip to 11.0.0.100:22 comment "Tower SSH"
tcp dport 2222 dnat ip to 10.2.0.2:22 comment "SSH to Kitty" tcp dport 2222 dnat ip to 11.0.0.2:22 comment "Kitty SSH"
tcp dport 2233 dnat ip to 10.2.0.101:22 comment "SSH to Intuos" tcp dport 2233 dnat ip to 11.0.0.101:22 comment "Envy SSH"
tcp dport 2244 dnat ip to 11.0.0.102:22 comment "Intuos SSH"
udp dport { 27005, 27015 } dnat ip to 10.2.0.100 comment "PC Hosted Games" udp dport { 27005, 27015 } dnat ip to 11.0.0.100 comment "PC Hosted Games"
tcp dport { 48010, 47989, 47984 } dnat ip to 10.2.0.100 comment "PC Sunshine TCP" tcp dport { 48010, 47989, 47984 } dnat ip to 11.0.0.100 comment "PC Sunshine TCP"
udp dport { 47998, 47999, 48000 } dnat ip to 10.2.0.100 comment "PC Sunshine UDP" udp dport { 47998, 47999, 48000 } dnat ip to 11.0.0.100 comment "PC Sunshine UDP"
tcp dport { 38010, 37989, 37984 } dnat ip to 10.3.0.1 comment "VM Sunshine TCP"
udp dport { 37998, 37999, 38000 } dnat ip to 10.3.0.1 comment "VM Sunshine UDP"
} }
chain forward { chain forward {

View file

@ -32,12 +32,12 @@
# Network mounts # Network mounts
"/home/${config.sysusers.main}/Network/Midas" = { "/home/${config.sysusers.main}/Network/Midas" = {
device = "10.2.0.1:/storage"; device = "11.0.0.1:/storage";
fsType = "nfs4"; fsType = "nfs4";
options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ]; options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ];
}; };
"/home/${config.sysusers.main}/Network/Kitty" = { "/home/${config.sysusers.main}/Network/Kitty" = {
device = "10.2.0.2:/storage/bun"; device = "11.0.0.2:/storage/bun";
fsType = "nfs4"; fsType = "nfs4";
options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ]; options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ];
}; };