centos7 iptables替换firewall
2016-07-28 11:33
351 查看
Disable Firewalld Service.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl mask firewalld
Stop Firewalld Service.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl stop firewalld
Install iptables service related packages.
[root@rhel-centos7-tejas-barot-linux ~]# yum -y install iptables-services
Make sure service starts at boot:
[root@rhel-centos7-tejas-barot-linux ~]# systemctl enable iptables
Now, Finally Let’s start the iptables services.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl start iptables
相关文章推荐
- 管道(PIPE)
- 设置 Linux 的 LD_LIBRARY_PATH 变量
- linux 查看并发
- Linux命令收录
- errno在LINUX下是线程安全的
- 基础的 Linux 命令使用方法实例
- Linux 的shadow文件解释
- Linux 设备树(Device Tree)简介
- Linux的线程同步对象:互斥量Mutex,读写锁,条件变量
- Linux的线程同步对象:互斥量Mutex,读写锁,条件变量
- Linux下的定时器
- RHEL7/Centos 7/Fedora 22/23/24 安装谷歌chrome浏览器
- (总结)CentOS Linux下VNC Server远程桌面配置详解
- OpenCV linux cmake添加使用
- Linux 的发展基本知识及哲学思想
- linux连接mysql命令
- [置顶] Linux的常用经典命令(持续更新)
- Linux--su和sudo用法
- linux vsftpd 创建虚拟用户
- 进程间通信之管道