Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[Solved] How can a url be blocked? Not block a domain, subdomain, DNS - a URL
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] How can a url be blocked? Not block a domain, subdomain, DNS - a URL (Read 1768 times)
errored out
Full Member
Posts: 171
Karma: 3
[Solved] How can a url be blocked? Not block a domain, subdomain, DNS - a URL
«
on:
February 07, 2021, 04:17:18 am »
I am trying to find a way to specifically block URLs. The forum has various ways to block by IP, DNS, list, etc. But I am looking for a way to block a URL.
Why? I want to have access to the domain, and most of the content on that site. However, I don't want certain content from specific directories / files from that domain/site.
Example: My browser is on
https://www.instructables.com
but I also want to block
https://www.instructables.com/assets/img/pixel.png
This is just 1 example, there are different domains, file types, and names I will be adding.
How can this be setup without having to use scripts (modifying through console), external downloads, just using the existing tools / functionality through the GUI.
Thank you
«
Last Edit: May 15, 2021, 08:17:41 am by errored out
»
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: How can a url be blocked? Not block a domain, subdomain, DNS - a URL
«
Reply #1 on:
February 07, 2021, 08:45:50 am »
can try squid + regex blacklist
Logged
errored out
Full Member
Posts: 171
Karma: 3
Re: How can a url be blocked? Not block a domain, subdomain, DNS - a URL
«
Reply #2 on:
February 17, 2021, 03:07:59 am »
Thanks
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[Solved] How can a url be blocked? Not block a domain, subdomain, DNS - a URL