add correct ssh port to firewall

This commit is contained in:
Alex 2021-11-18 16:13:28 +01:00
parent 9eab23db4c
commit 777896a434
No known key found for this signature in database
GPG Key ID: EDABF9711E244EB1
2 changed files with 2 additions and 1 deletions

View File

@ -259,7 +259,7 @@ in
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [
22 # SSH
(builtins.head ({ openssh.ports = [22]; } // node_config.services).openssh.ports)
3900 3901 # Garage (internal RPC traffic)
4646 4647 4648 # Nomad
8500 8300 8301 8302 # Consul

View File

@ -11,3 +11,4 @@ Host cariacou
Host spoutnik
HostName 10.42.0.2
Port 220