CentOS 7.0 关闭firewalld防火墙指令 及更换Iptables防火墙
2023-09-14 08:59:34 时间
CentOS 7.0 关闭firewalld防火墙指令 及更换Iptables防火墙
时间:2014-10-13 19:03:48 作者:哎丫丫 来源:哎丫丫数码网 查看:11761 评论:2
service firewalld stop
1. Disable Firewalld Service.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl mask firewalld
2. Stop Firewalld Service.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl stop firewalld
3. Install iptables service related packages.
[root@rhel-centos7-tejas-barot-linux ~]# yum -y install iptables-services
4. Make sure service starts at boot:
[root@rhel-centos7-tejas-barot-linux ~]# systemctl enable iptables
# If you do not want ip6tables, You can skip following command.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl enable ip6tables
5. Now, Finally Let’s start the iptables services.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl start iptables
# If you do not want ip6tables, You can skip following command.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl start ip6tables
Firewalld Service is now disabled and stop, You can use iptables.
相关文章
- CentOS 7系统时间与实际时间差8个小时
- centos下完全卸载mysql
- 阿里云centos配置ftp和svn全过程
- Linux_CentOS-服务器搭建 <二>
- CentOS报错:Could not retrieve mirrorlist http://mirrorlist.centos.org
- CentOS报错:Could not retrieve mirrorlist http://mirrorlist.centos.org
- 【网址收藏】win10 VirtualBox安装CentOS 7教程
- Linux centos 6.7防火墙打开MySQL 3306端口
- CentOS 7.3安装GNOME桌面步骤
- centOS 7 -防火墙端口配置详解
- Centos 安装 nacos
- CentOS下yum安装PHP,配置php-fpm服务
- 锁定文件失败,打不开磁盘“D:biehlcentostaotaotaotao-dubbo-registerCentOS-000001.vmdk”或它所依赖的某个快照磁盘。模块“Disk”启动失败。未能启动虚拟机
- Python之——CentOS 6.5安装Python2.7.14
- hadoop分布式安装部署具体视频教程(网盘附配好环境的CentOS虚拟机文件/hadoop配置文件)
- CentOS 7 配置NTP、关闭防火墙、关闭selinux
- CentOS 7 su命令
- 阿里云----阿里云CentOS云服务器的系统盘扩容操作