mirror of
https://github.com/Superredstone/nixos.git
synced 2026-06-17 15:24:39 +02:00
feat(bomba): remove docker firewall rules
This commit is contained in:
@@ -1,7 +1,4 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
let
|
|
||||||
dockerNetwork = "172.18.0.0/16";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
networking = {
|
networking = {
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
@@ -22,10 +19,6 @@ in
|
|||||||
80
|
80
|
||||||
443
|
443
|
||||||
];
|
];
|
||||||
extraInputRules = ''
|
|
||||||
ip saddr ${dockerNetwork} tcp dport 5900 accept
|
|
||||||
ip saddr ${dockerNetwork} tcp dport 8001-8005 accept
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user