s0mePC-nix -> ada: rename
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
b877c80e25
commit
aae7900229
86 changed files with 696 additions and 262 deletions
30
ada/networking/firewall.nix
Normal file
30
ada/networking/firewall.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{...}: {
|
||||
networking = {
|
||||
firewall = {
|
||||
allowPing = true;
|
||||
enable = true;
|
||||
checkReversePath = false;
|
||||
|
||||
interfaces = {
|
||||
eno1 = rec {
|
||||
allowedTCPPortRanges = [
|
||||
{
|
||||
from = 1714;
|
||||
to = 1764;
|
||||
}
|
||||
];
|
||||
|
||||
allowedUDPPortRanges = allowedTCPPortRanges;
|
||||
};
|
||||
|
||||
salt-hand7s-pc = rec {
|
||||
allowedTCPPorts = [
|
||||
6567
|
||||
];
|
||||
|
||||
allowedUDPPorts = allowedTCPPorts;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue