adds various firewall rules
This commit is contained in:
parent
e3f0493630
commit
9235298118
@ -20,9 +20,14 @@
|
|||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
# SSH
|
400 # SSH
|
||||||
400
|
80 # HTTP
|
||||||
|
443 # HTTPS
|
||||||
|
22 # Git over SSH
|
||||||
|
32400 # Plex
|
||||||
|
];
|
||||||
|
allowedUDPPorts = [
|
||||||
|
51820 # WireGuard
|
||||||
];
|
];
|
||||||
allowedUDPPorts = [ ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user