Configuring and Managing Linux Firewall Rules with firewalld
System Initialization & Security Module Alignment
Before applying network policies, ensure underlying security modules align with you're operational requiremants. Disabling SELinux enforcement and halting the firewall daemon can be executed via the following sequence:
# Immediately disable SELinux enforcing state
setenforce 0 >/dev/null ...
Posted on Fri, 29 May 2026 17:45:02 +0000 by matto
Linux Daily Operations: Firewall, Port Management, and Process Queries
Firewall Management
Check firewall status:
systemctl status firewalld
Start firewall:
systemctl start firewalld
List all firewall rules and open ports:
firewall-cmd --list-all
Open a specific port (e.g., 8080/tcp):
firewall-cmd --add-port=8080/tcp --permanent
Reload firewall to apply changes:
firewall-cmd --reload
Verify if a port is open: ...
Posted on Thu, 28 May 2026 16:42:32 +0000 by HuggieBear
Remote Access to Tomcat on Linux Blocked by Firewall
After installing Apache Tomcat on a CentOS server, you can successfully access it via http://localhost:8080 from the local machine. However, attempts to reach the server from other devices on the same network fail, eventhough ICMP ping requests are answered. The root cause is typically the system firewall blocking incoming connections on port 8 ...
Posted on Mon, 25 May 2026 21:24:33 +0000 by webdesco
CentOS System Administration: Common Configuration Tasks
Setting Up YUM Repository
sudo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
sudo curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo
sudo yum makecache
Initial Configuration ...
Posted on Sun, 10 May 2026 04:38:23 +0000 by JukEboX
Essential Linux System Tuning for Performance and Usability
Accelerate SSH Connections
To reduce SSH connection latency, adjust the server-side configuration in /etc/ssh/sshd_config. First, back up the original file:
cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak
Edit the configuration file and apply these changes:
Set GSSAPIAuthentication to no (typically around line 79).
Uncomment and set UseDNS t ...
Posted on Fri, 08 May 2026 04:23:42 +0000 by inferium