forked from Deuxfleurs/nixcfg
add correct ssh port to firewall
This commit is contained in:
parent
9eab23db4c
commit
777896a434
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -11,3 +11,4 @@ Host cariacou
|
||||||
|
|
||||||
Host spoutnik
|
Host spoutnik
|
||||||
HostName 10.42.0.2
|
HostName 10.42.0.2
|
||||||
|
Port 220
|
||||||
|
|
Loading…
Reference in a new issue