This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docker [2018/07/24 17:27] k2patel |
docker [2020/08/10 02:35] (current) |
||
---|---|---|---|
Line 19: | Line 19: | ||
<code bash> | <code bash> | ||
+ | # Forwarding port traffic | ||
firewall-cmd --permanent --zone=public --add-forward-port=port=3030:proto=tcp:toport=3030 | firewall-cmd --permanent --zone=public --add-forward-port=port=3030:proto=tcp:toport=3030 | ||
+ | # Allowing access from specific host | ||
firewall-cmd --permanent --zone=public --add-rich-rule="rule | firewall-cmd --permanent --zone=public --add-rich-rule="rule | ||
family="ipv4" \ | family="ipv4" \ |