Open anneb opened 3 years ago
I got the same issue.
I just removed the following rules temporarily, then everything all right.
-A ufw-docker-logging-deny -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW DOCKER BLOCK] "
-A ufw-docker-logging-deny -j DROP
It's 172.16.0.0/12 not /16...
Should the following setup work after installing ufw-docker?:
The host is not on a private subnet, but on a public IP. That is why UFW is essential for this host.
After 'ufw disable', access from the container to the host is possible.
After 'ufw enable' I am getting the following lines in syslog when I try to connect from the container to the database on the host:
yy.yy.yy.yy is the (public) IP of my host
I added the following ufw allow rules, but still cannot connect:
Is it possible to somehow prevent the [UFW BLOCK] (see log) from happening?
Thanks,