---
title: "CentOS关闭防火墙"
author: "paninxb"
date: "2011-04-09T23:23:39Z"
tags: []
categories: ["非技术"]
slug: "centos"
draft: false
lastmod: "2011-04-09T23:23:39Z"
id: 994958
url: "https://paninxb.iteye.com/blog/994958"
---

```
[root@localhost vsftpd]# service vsftpd restart
Shutting down vsftpd: [  OK  ]
Starting vsftpd for vsftpd: [  OK  ]
[root@localhost vsftpd]# ps -ef | grep iptables
root     25745 23250  0 08:20 pts/2    00:00:00 grep iptables
[root@localhost vsftpd]# /etc/init.d/iptables stop
Flushing firewall rules: [  OK  ]
Setting chains to policy ACCEPT: filter [  OK  ]
Unloading iptables modules: [  OK  ]
```

 

```
[root@localhost vsftpd]# chkconfig --level 35 iptables off 
```