23 lines
311 B
Nix
23 lines
311 B
Nix
{...}: {
|
|
networking.firewall.allowedTCPPortRanges = [
|
|
{
|
|
from = 6881;
|
|
to = 6999;
|
|
}
|
|
{
|
|
from = 50101;
|
|
to = 50109;
|
|
}
|
|
];
|
|
networking.firewall.allowedUDPPortRanges = [
|
|
{
|
|
from = 6881;
|
|
to = 6999;
|
|
}
|
|
{
|
|
from = 50101;
|
|
to = 50109;
|
|
}
|
|
];
|
|
}
|