feat(OVHCloud -> hw-config): Added simple firewall config
Using nftables
This commit is contained in:
parent
b8345d5e06
commit
9600f18ada
1 changed files with 7 additions and 0 deletions
|
@ -8,4 +8,11 @@
|
||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
efiInstallAsRemovable = true;
|
efiInstallAsRemovable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Firewall
|
||||||
|
networking.nftables.enable = true;
|
||||||
|
networking.firewall = {
|
||||||
|
enable = true;
|
||||||
|
allowedTCPPorts = [22 80 443];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue