Firewalld: Difference between revisions

From wiki
Jump to navigationJump to search
No edit summary
No edit summary
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>
<code>firewall-cmd --permanent --zone=public --add-port=80/tcp</code>

Revision as of 00:51, 2 November 2022

<forward-port to-port="8080" protocol="tcp" port="80"/>

firewall-cmd --permanent --zone=public --add-port=80/tcp