Iptables/ufw for docker published ports
Install
https://github.com/chaifeng/ufw-docker
Use
1 | ufw route allow proto tcp from 111.222.111.222 to any port 3306 |
Recommendations
Recommendations
https://github.com/chaifeng/ufw-docker
1 | ufw route allow proto tcp from 111.222.111.222 to any port 3306 |