myedu:serveur:firewalld
Table des matières
Ceci est une ancienne révision du document !
Firewalld
Installation
sudo apt -y install firewalld
sudo firewall-cmd --zone=public --change-interface=eno2
Ouverture des ports
- 22/tcp SSH
- 80/tcp HTTP
- 443/tcp HTTPS
Desactiver IPV6
Append below lines in /etc/sysctl.conf:
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1
Add the AddressFamily line to sshd_config :
# vi /etc/ssh/sshd_config .... AddressFamily inet ....
Restart SSHD
systemctl restart sshd
/var/www/alternc/e/educode/www/educode.be/dokuwiki/data/attic/myedu/serveur/firewalld.1594909826.txt.gz · Dernière modification : de Andrew SASSOYE
