Hi,
I have been trying to find how to block just some URLs but can't seem to find how. I tried by using Alias > Host (IP) and applied it to Destination in a rule but that was ineffective. The only way I see is by using the Web Filtering and downloading the list file as shown here https://docs.opnsense.org/manual/how-tos/proxywebfilter.html that uses Category based blocking.
Any other way I can block some URL's, by manually entering them, or via some custom txt file that can be uploaded to the firewall ?!
firewall
Thank You
A network layer firewall just sees IP addresses and ports and cannot identify specific URLs. So you would need to use a web proxy to do that.
Quote from: pmhausen on March 17, 2021, 05:16:52 PM
A network layer firewall just sees IP addresses and ports and cannot identify specific URLs. So you would need to use a web proxy to do that.
But with Proxy it doesn't allow Custom URL's to be blocked, or perhaps I wasn't able to find how.
Maybe with Sensei or a real external web proxy
If your Client and the Opnsense are using the same dns (better the OPNsense is the DNS Server for your client).
You can block them via an Alias