docker
This is an old revision of the document!
Docker
Host Firewall
Setting up firewall port forwarding and exposing service to world or specific IP.
firewall-cmd --permanent --zone=public --add-forward-port=port=3030:proto=tcp:toport=3030 firewall-cmd --permanent --zone=public --add-rich-rule="rule family="ipv4" \ source address="192.168.1.5/32" \ port protocol="tcp" port="3030" accept"
docker.1532453054.txt.gz · Last modified: 2020/08/10 02:28 (external edit)