« Pihole firewall » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 11 : | Ligne 11 : | ||
#VPN | #VPN | ||
#12.12.12.0/24 = vpn | |||
#autorise seulement le prefix alloué par la box | #autorise seulement le prefix alloué par la box | ||
ufw allow from 2001:db8:abcd:1111::/64 to any port 51820 proto udp | ufw allow from 2001:db8:abcd:1111::/64 to any port 51820 proto udp | ||
#autorise seulement la plage ipv4 alloué par wireguard | #autorise seulement la plage ipv4 alloué par wireguard | ||
ufw allow from 12.12.12.0/24 to any port 51820 proto udp | ufw allow from 12.12.12.0/24 to any port 51820 proto 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 12.12.12.0/24 to any port 80 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 443 proto tcp | ||