Update ssh ports
This commit is contained in:
parent
b912ae8e11
commit
70e6a38ca7
2 changed files with 2 additions and 2 deletions
|
@ -11,5 +11,5 @@
|
||||||
"--advertise-routes=192.168.1.13/32,192.168.1.14/32,192.168.1.15/32,192.168.1.100/32,192.168.1.31/32,192.168.1.101/32,192.168.1.99/32,192.168.1.0/24"
|
"--advertise-routes=192.168.1.13/32,192.168.1.14/32,192.168.1.15/32,192.168.1.100/32,192.168.1.31/32,192.168.1.101/32,192.168.1.99/32,192.168.1.0/24"
|
||||||
];
|
];
|
||||||
boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; };
|
boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; };
|
||||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
# networking.firewall.allowedTCPPorts = [ 22 ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
# Set the networking hostname:
|
# Set the networking hostname:
|
||||||
networking.hostName = "nuc-server";
|
networking.hostName = "nuc-server";
|
||||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
# networking.firewall.allowedTCPPorts = [ 22 ];
|
||||||
|
|
||||||
services.tailscale.extraUpFlags = [
|
services.tailscale.extraUpFlags = [
|
||||||
"--advertise-exit-node"
|
"--advertise-exit-node"
|
||||||
|
|
Loading…
Reference in a new issue