SpecialistOff.NET / Вопросы / Статьи / Фрагменты кода / Резюме / Метки / Помощь / Файлы

Список вопросов Печать

Включить/отключить межсетевой экран


Метки: безопасность межсетевой экран iptables ipfw firewalld centos arch linux ufw nftables 

Ответы

RemiZOffAlex  Создано: 2017-08-03 17:21:48.609227  Обновлено: 2023-03-22 13:39:01.419678

ufw

Debian/Ubuntu

ufw disable
systemctl stop ufw
systemctl disable ufw

firewalld

CentOS 7

systemctl stop firewalld
systemctl disable firewalld

iptables

CentOS 7

yum install iptables iptables-services
systemctl enable iptables
systemctl start iptables

Arch Linux

pacman -S iptables
systemctl enable iptables
systemctl start iptables

Правила в файле

/etc/iptables/iptables.rules

nftables

Fedora

dnf install nftables
systemctl enable nftables
systemctl start nftables

Возможно будут интересны и другие вопросы