Firewalld: Difference between revisions
From wiki
Jump to navigationJump to search
Created page with "<code><forward-port to-port="8080" protocol="tcp" port="80"/></code>" |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<code><forward-port to-port="8080" protocol="tcp" port="80"/></code> | <code><forward-port to-port="8080" protocol="tcp" port="80"/></code> | ||
<br> | |||
<code>firewall-cmd --permanent --zone=public --add-port=80/tcp</code> | |||
<br> | |||
<code>firewall-cmd --add-forward-port=port=80:proto=tcp:toport=88</code> |
Latest revision as of 22:01, 3 November 2022
<forward-port to-port="8080" protocol="tcp" port="80"/>
firewall-cmd --permanent --zone=public --add-port=80/tcp
firewall-cmd --add-forward-port=port=80:proto=tcp:toport=88