Henry's blog
Tag: iptables

CentOS7关闭firewalld安装iptables

Jan 07, 2019

1. 关闭firewalld

# 关闭服务
systemctl stop firewalld.service
# 移除开机启动
systemctl disable firewalld.service 

2. 安装iptables

# 安装服务
yum install iptables iptables-services
# 启动服务
systemctl start iptables.service
# 添加开机启动
systemctl enable iptables.service