mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore: firewall tweaks
This commit is contained in:
parent
1daeddb40e
commit
ee53c89e40
3 changed files with 12 additions and 13 deletions
|
|
@ -146,8 +146,13 @@ in {
|
|||
])
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
389 636
|
||||
networking.firewall = {
|
||||
interfaces.local.allowedTCPPorts = [
|
||||
389
|
||||
];
|
||||
allowedTCPPorts = [
|
||||
636
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,16 +9,10 @@
|
|||
# * 32469 - Plex DLNA Server
|
||||
# UDP:
|
||||
# * 1900 - DLNA
|
||||
# * 5353 - Bonjour / Avahi
|
||||
# * 32410, 32412, 32413, 32414 - GDM Network Discovery
|
||||
|
||||
# Tautulli and Ombi will also be reverse proxied, presumably
|
||||
|
||||
networking.firewall = {
|
||||
interfaces.local.allowedTCPPorts = [
|
||||
32400
|
||||
];
|
||||
allowedTCPPorts = [8324 32469 8181 5000];
|
||||
allowedUDPPorts = [1900 5353 32410 32412 32413 32414];
|
||||
networking.firewall.interfaces.local = {
|
||||
allowedTCPPorts = [32400 8324 32469];
|
||||
allowedUDPPorts = [1900 32410 32412 32413 32414];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ in {
|
|||
};
|
||||
users.groups.${cfg.group} = {};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [cfg.port];
|
||||
networking.firewall.interfaces.local.allowedTCPPorts = [cfg.port];
|
||||
|
||||
services.syncplay = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue