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/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user