« Pihole firewall » : différence entre les versions
Page créée avec « == ufw_rules_backup.sh == <syntaxhighlight lang="bash" line> #!/bin/bash ufw allow from 192.168.1.0/24 to any port 22 proto tcp ufw allow 53/tcp ufw allow 53/udp ufw allow 5335/tcp ufw allow 5335/udp ufw allow 67/udp ufw allow 68/udp ufw allow 51820/udp ufw allow from 192.168.1.0/24 to any port 80 proto tcp ufw allow from 192.168.1.0/24 to any port 443 proto tcp ufw allow from 192.168.1.0/24 to any port 8082 proto tcp ufw allow from 10.131.215.0/24 to any port 80... » |
Aucun résumé des modifications |
||
| (7 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 8 : | Ligne 8 : | ||
ufw allow 5335/udp | ufw allow 5335/udp | ||
ufw allow 67/udp | ufw allow 67/udp | ||
ufw allow 51820/udp | ufw allow 51820/udp | ||
ufw allow from 192.168.1.0/24 to any port 80 proto tcp | ufw allow from 192.168.1.0/24 to any port 80 proto tcp | ||
ufw allow from 192.168.1.0/24 to any port 443 proto tcp | ufw allow from 192.168.1.0/24 to any port 443 proto tcp | ||
ufw allow from 192.168.1.0/24 to any port 8082 proto tcp | ufw allow from 192.168.1.0/24 to any port 8082 proto tcp | ||
ufw allow from | ufw allow from 12.12.12.0/24 to any port 80 proto tcp | ||
ufw allow from | ufw allow from 12.12.12.0/24 to any port 443 proto tcp | ||
ufw allow from | ufw allow from 12.12.12.0/24 to any port 8082 proto tcp | ||
# autoriser le trafic entre l'interface WireGuard (wg0) et l'interface Ethernet (eth0) | # autoriser le trafic entre l'interface WireGuard (wg0) et l'interface Ethernet (eth0) | ||