Correct firewall command

This commit is contained in:
Andreas Zweili 2022-05-31 23:32:45 +02:00
parent aade913309
commit 48429d5d87
2 changed files with 1 additions and 3 deletions

View File

@ -10,6 +10,4 @@
docker-compose
lazydocker
];
}

View File

@ -9,5 +9,5 @@
};
};
};
networking.firewall.interfaces."docker0".allowedTCPPorts = [ 3306 ];
networking.firewall.extraCommands = "iptables -A INPUT -p tcp --destination-port 3306 -s 172.16.0.0/12 -j ACCEPT";
}