Allow nftabless db
This commit is contained in:
@@ -11,12 +11,6 @@ let
|
||||
in
|
||||
{
|
||||
config = lib.mkIf ( enabledConfigs != {} ) {
|
||||
virtualisation.containers.containersConf.settings = {
|
||||
containers = {
|
||||
host_containers_internal = true;
|
||||
additional_hosts = [ "host.internal:host-gateway" ];
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.oci-containers = {
|
||||
backend = "podman";
|
||||
|
||||
@@ -9,6 +9,12 @@
|
||||
|
||||
networking.nftables.enable = true;
|
||||
networking.nftables.ruleset = ''
|
||||
table inet filter {
|
||||
chain input {
|
||||
type filter hook input priority filter; policy accept;
|
||||
tcp dport 5432 ip saddr { 10.0.0.0/8 } accept
|
||||
}
|
||||
}
|
||||
table inet nat {
|
||||
chain prerouting {
|
||||
type nat hook prerouting priority dstnat; policy accept;
|
||||
|
||||
Reference in New Issue
Block a user