Disable loft firewall for dev
This commit is contained in:
parent
3cae084995
commit
c1576716ec
@ -47,16 +47,7 @@
|
|||||||
networking.interfaces.wlp5s0.useDHCP = true;
|
networking.interfaces.wlp5s0.useDHCP = true;
|
||||||
|
|
||||||
networking.hostName = "loft"; # Define your hostname.
|
networking.hostName = "loft"; # Define your hostname.
|
||||||
networking.firewall = {
|
networking.firewall.enable = false;
|
||||||
enable = true;
|
|
||||||
allowedTCPPorts = [ 80 8080 8000 443 8888 ];
|
|
||||||
allowedTCPPortRanges = [
|
|
||||||
{ from = 1714; to = 1764; }
|
|
||||||
];
|
|
||||||
allowedUDPPortRanges = [
|
|
||||||
{ from = 1714; to = 1764; }
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
@ -125,4 +116,4 @@
|
|||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "20.09"; # Did you read the comment?
|
system.stateVersion = "20.09"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user