firewall: add ssh ports
This commit is contained in:
parent
e612a54b00
commit
5e72233400
1 changed files with 6 additions and 0 deletions
|
|
@ -2,6 +2,12 @@
|
|||
networking.firewall = {
|
||||
enable = true;
|
||||
|
||||
allowedTCPPorts = [
|
||||
22 # SSH
|
||||
80
|
||||
443
|
||||
];
|
||||
|
||||
# dont respond to icmpv4 pings.
|
||||
allowPing = false;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue