Wednesday, May 31st, 2023 | Server
Last Modified: 2024-11-08
sudo dnf install firewalld
sudo systemctl enable firewalld
sudo systemctl disable firewalld
sudo systemctl status firewalld
sudo systemctl start firewalld
sudo systemctl stop firewalld
sudo firewall-cmd --get-default-zone
sudo firewall-cmd --set-default-zone=<desired_zone>
sudo firewall-cmd --reload
sudo firewall-cmd --list-all
sudo firewall-cmd --zone=public --list-ports
sudo firewall-cmd --list-services
sudo firewall-cmd --get-services
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo firewall-cmd --permanent --add-port=8500/tcp # Optional: For ColdFusion Administrator
sudo firewall-cmd --permanent --remove-service=http
sudo firewall-cmd --permanent --remove-service=https
sudo firewall-cmd --permanent --add-port=3306/tcp
sudo firewall-cmd --permanent --add-port=5005/tcp
sudo firewall-cmd --zone=public --add-port=8500/tcp --permanent
sudo firewall-cmd --zone=public --remove-port=3306/tcp --permanent
sudo firewall-cmd --zone=public --remove-port=8500/tcp --permanent
sudo firewall-cmd --permanent --add-port=5000-6000/tcp
Input Action Output
A collection of snippets and links that have proven useful for development and programming in ColdFusion, JavaScript, jQuery, PHP, Python, Dell, Minecraft, Apple, Mac, Windows, LINUX, Raspberry Pi, Adobe, CSS, and HTML.
©2024 Input Action Output