mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-22 01:19:45 +01:00
21 lines
350 B
Nix
21 lines
350 B
Nix
{
|
|
# for security reasons, only open the following ports to the network by default.
|
|
networking.firewall.allowedTCPPorts = [
|
|
# localsend
|
|
53317
|
|
|
|
# tcp ports for testing & sharing
|
|
63080
|
|
63081
|
|
63082
|
|
63083
|
|
63084
|
|
63085
|
|
63086
|
|
63087
|
|
63088
|
|
63089
|
|
];
|
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
|
}
|