mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-07 02:06:34 +05:30
update firewall rules
This commit is contained in:
@ -24,7 +24,7 @@
|
|||||||
};
|
};
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [80 443 3000 6666 8081];
|
allowedTCPPorts = [80 443 22 3000 6666 8081];
|
||||||
allowedTCPPortRanges = [
|
allowedTCPPortRanges = [
|
||||||
{
|
{
|
||||||
from = 1714;
|
from = 1714;
|
||||||
|
@ -47,6 +47,10 @@
|
|||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "controller";
|
hostName = "controller";
|
||||||
|
firewall = {
|
||||||
|
enable = true;
|
||||||
|
allowedTCPPorts = [80 443 22];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
security = {
|
security = {
|
||||||
|
@ -60,6 +60,5 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [80 443];
|
|
||||||
environment.systemPackages = with pkgs; [headscale];
|
environment.systemPackages = with pkgs; [headscale];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user