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 = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
allowedTCPPorts = [
|
||||||
|
22 # SSH
|
||||||
|
80
|
||||||
|
443
|
||||||
|
];
|
||||||
|
|
||||||
# dont respond to icmpv4 pings.
|
# dont respond to icmpv4 pings.
|
||||||
allowPing = false;
|
allowPing = false;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue