Forumi Rinor
Instalimi i FirewallD ne RHEL/CentOS - Version i Printuar

+- Forumi Rinor (https://rinia.info)
+-- Forum: IT & Internet (https://rinia.info/forumdisplay.php?fid=8)
+--- Forum: OS How to (https://rinia.info/forumdisplay.php?fid=69)
+--- Tema: Instalimi i FirewallD ne RHEL/CentOS (/showthread.php?tid=56)



Instalimi i FirewallD ne RHEL/CentOS - UKI - 20.12.2024

Esht e rendesishme te perdorim firewallD ne vend te iptables sepse ka me shum avantazhe. Gjithsesi iptables dhe Firewalld nuk funksionojne se bashku kshuqe duhet te zgjidhni njeren..

[size=1]Code:[/size]
Kodi:
yum install firewalld -y


Ndalojme funksionimin e iptables..

[size=1]Code:[/size]
Kodi:
# systemctl status iptables
# systemctl stop iptables
# systemctl mask iptables

[Foto: Disable-Iptables-Service.png]


Shikojme zonat:
[size=1]Code:[/size]
Kodi:
# firewall-cmd --get-zones

[Foto: Find-Available-Zones.png]


Marrim konfigurimet qe perdoren me se shumti nga te gjithe..
[size=1]Code:[/size]
Kodi:
# firewall-cmd --get-default-zone

[Foto: Firewalld-Default-Zone.png]

Shikojme te gjitha zonat:
[size=1]Code:[/size]
Kodi:
# firewall-cmd --list-all-zones