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

View file

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