Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

 

This example allows a UDP port through the firewall, for all network interfaces in the "public" zone:

firewall-cmd --zone=public --add-port=20202/udp --permanent

...