centos7關閉防火牆

直接命令:service firewalld stoplinux

 

1. Disable Firewalld Service.web

[root-centos7-tejas-barot-linux ~]

2. Stop Firewalld Service.centos

[root-centos7-tejas-barot-linux ~]

3. Install iptables service related packages.ruby

[root-centos7-tejas-barot-linux ~]

4. Make sure service starts at boot:centos7

[root-centos7-tejas-barot-linux ~]

# If you do not want ip6tables, You can skip following command.spa

[root-centos7-tejas-barot-linux ~]

5. Now, Finally Let’s start the iptables services.code

[root-centos7-tejas-barot-linux ~]

# If you do not want ip6tables, You can skip following command.orm

[root-centos7-tejas-barot-linux ~]

Firewalld Service is now disabled and stop, You can use iptables.ip

相關文章
相關標籤/搜索