Previous Article

Turning off your CentOS Firewall

Next Article

If you are having issues connecting to your CentOS machine and think that the firewall could be causing the issue then here is how to disable it.

# service iptables save
# service iptables stop
# chkconfig iptables off

When you've finished your testing you can re-enable the firewall with the following.

# service iptables start
# chkconfig iptables on

This helped me a lot when trying to determine whether my machine or router was blocking connection to a certain port.

Avatar of Clive Walkden

Clive Walkden

Posted:

Latest Articles

Linux command line tools, installations etc

Linux

How to Install NordLayer VPN Client on Ubuntu 20.04 and Connect to a Virtual Network

A simple to follow installation guide for NordLayer VPN

MySQL usage, tweaks and learnings

MySQL

Mastering MySQL Database Imports on Linux

Learn efficient ways to import MySQL databases on Linux using the mysql command-line client. Explore the --source option and < operator for seamless data migration. Master MySQL imports on Linux with our comprehensive guide.

DevOps principles and tool usage

DevOps

Mastering SSH Key Conversions for DevOps

A guide to convert SSH keys from one version to another using Linux CLI