« Pihole firewall » : différence entre les versions

Aucun résumé des modifications
Aucun résumé des modifications
Ligne 20 : Ligne 20 :
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 10.131.215.0/24 to any port 80 proto tcp
 
ufw allow from 10.131.215.0/24 to any port 443 proto tcp
#12.12.12.0/24 = vpn
ufw allow from 10.131.215.0/24 to any port 8082 proto tcp
ufw allow from 12.12.12.0/24 to any port 80 proto tcp
ufw allow from 12.12.12.0/24 to any port 443 proto tcp
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)