CentOS 7: отключить Firewalld

В CentOS 7 по умолчанию установлен Firewalld который блочит некоторые порты, а мне нравится стандартный iptables. займемся возвратом всего на свои метса

1. Отключаем Firewalld сервис

[root@mongo12 ~]# systemctl mask firewalld

2. Останавливаем.

[root@mongo12 ~]# systemctl stop firewalld

3. Установим iptables

[root@mongo12 ~]# yum -y install iptables-services

4. Добавляем в автозагрузку:

[root@mongo12 ~]# systemctl enable iptables

# Кому нада тот добавит ip6tables )

[root@mongo12 ~]# systemctl enable ip6tables

5. Стартуем iptables services.

[root@mongo12 ~]# systemctl start iptables

# стартуем ip6tables

[root@mongo12 ~]# systemctl start ip6tables

Тепрь можно наслаждаться жизню

  1. No comments yet.

  1. No trackbacks yet.

You must be logged in to post a comment.