Để tắt tường lửa, hãy làm như sau với tư cách là người dùng "root".
• Với Linux 6:
[root@dbn01 ~]# service iptables stop
[root@dbn01 ~]# chkconfig iptables off
[root@dbn01 ~]# service iptables status
iptables: Firewall is not running.
• Với Linux 7:
[root@dbn01 ~]# systemctl stop firewalld
[root@dbn01 ~]# systemctl disable firewalld