Iptables/ufw for docker published ports

Moki Lv6

Install

https://github.com/chaifeng/ufw-docker

Use

1
2
ufw route allow proto tcp from 111.222.111.222 to any port 3306
ufw route deny proto tcp from any to any port 3306
On this page
Iptables/ufw for docker published ports