commun:firewall
Ceci est une ancienne révision du document !
Firewall
Pour activer les règles
sudo ufw allow proto tcp from 192.168.1.0/26 to any port 443 sudo ufw allow proto tcp from 192.168.1.0/26 to any port 22 sudo ufw allow proto tcp from 192.168.1.0/26 to any port 2222 sudo ufw allow from 192.168.1.0/26 to any port 3306 sudo ufw allow from 192.168.1.0/26 to any port 3000 sudo ufw allow from 192.168.1.0/26 to any port 2049
les ports:
- 3306: mysql
- 2049: nfs
- 3000: gitea
- 2222: gitea ssh
Pour activer le firewall
sudo ufw enable
commun/firewall.1552813646.txt.gz · Dernière modification : (modification externe)
