Added firewall rules
This commit is contained in:
parent
c0a103816f
commit
1ebbd79e6b
|
@ -1,4 +1,4 @@
|
||||||
# NixOps configuration for the Raspberry Pi 3B Rack
|
# NixOps configuration for the Linode VMs
|
||||||
|
|
||||||
{
|
{
|
||||||
network = {
|
network = {
|
||||||
|
@ -18,6 +18,13 @@
|
||||||
config = "x86_64-unknown-linux-gnu";
|
config = "x86_64-unknown-linux-gnu";
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Configure firewall defaults:
|
||||||
|
networking.firewall = {
|
||||||
|
enable = true;
|
||||||
|
allowedTCPPorts = [ 22 ];
|
||||||
|
trustedInterfaces = [ "lo" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
cuallaidh =
|
cuallaidh =
|
||||||
|
|
Loading…
Reference in a new issue