Blocking URL's in Pfsense firewall for specifi range of IP
wedz last edited by
Hi, pls anyone help me, i'm trying to block websites URL for specific IP using Alias and firewall rules, but nothing works.
i create 2 alias
Network or FQDN : 192.168.0.10/24
Address Family: IPv4
Source: Single host or alias : unauthorize
ports : any any
Destination: Single host or alias : blocksites
Port: any any
Pls check my configuration if anything i forgot or mistaken.
Thanks and advance!
You can't use a host alias like that for a site like facebook. That will be resolved to a single IP when the ruleset is created but facebook is actually a vast number of IPs.
You can try to use an AS number either manually:
Or using pfBlocker to auto update it.
Or you could block that using the DNS instead which can be more effective.