Firewalld: Difference between revisions

From wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 3: Line 3:


<code>firewall-cmd --permanent --zone=public --add-port=80/tcp</code>
<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