update waydroid.nix & firewall.nix
This commit is contained in:
+16
-11
@@ -1,13 +1,18 @@
|
||||
{
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 4713 ];
|
||||
#allowedUDPPorts = [ 80 443 ];
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 8000; to = 9000; }
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 8000; to = 9000; }
|
||||
];
|
||||
networking = {
|
||||
nftables = {
|
||||
enable = true;
|
||||
};
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 4713 ];
|
||||
#allowedUDPPorts = [ 80 443 ];
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 8000; to = 9000; }
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 8000; to = 9000; }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user