Firewall Linux

Introduction

Это статья про firewall Linux про firewall Windows читайте здесь

Basics

Разберем firewalld из CentOS

To check status

firewall-cmd --state

running

Чтобы проверить настройки выполните

firewall-cmd --list-all

public (active)
target: default
icmp-block-inversion: no
interfaces: enp0s3 enp0s8
sources:
services: dhcpv6-client http https ssh
ports: XXXX/tcp XXYY/tcp YYYY/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:

Check if ntp service is in active zone

sudo firewall-cmd --get-services | grep ntp

Contacts and cooperation:
I recommend our hosting beget.ru
Write to info@urn.su, info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: