Correct firewall command
This commit is contained in:
parent
aade913309
commit
48429d5d87
|
@ -10,6 +10,4 @@
|
|||
docker-compose
|
||||
lazydocker
|
||||
];
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue