How to block access to url?

Started by guest17399, January 03, 2019, 11:47:39 PM

Previous topic - Next topic
I have a list of url that need to be blocked and a list of ip addresses.
How to do it?

Using Squid Proxy or you write custom rules for Suricata IPS like in the App detection rules.
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Block rule(s) with Alias(es) won't work?
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Not for URL
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Problem? Because I'm using such setups for some years now....
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

https://github.com/StevenBlack/hosts

That's what I plan to block.

I did not find a convenient way to add the entire list at once.
Who else has used?

You probably need to parse it with external Script so it fits the URL table format
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/