OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: guest17399 on January 03, 2019, 11:47:39 pm

Title: How to block access to url?
Post by: guest17399 on January 03, 2019, 11:47:39 pm
I have a list of url that need to be blocked and a list of ip addresses.
How to do it?
Title: Re: How to block access to url?
Post by: mimugmail on January 04, 2019, 07:46:23 am
Using Squid Proxy or you write custom rules for Suricata IPS like in the App detection rules.
Title: Re: How to block access to url?
Post by: chemlud on January 04, 2019, 10:34:00 am
Block rule(s) with Alias(es) won't work?
Title: Re: How to block access to url?
Post by: mimugmail on January 04, 2019, 11:02:31 am
Not for URL
Title: Re: How to block access to url?
Post by: chemlud on January 04, 2019, 12:42:23 pm
Problem? Because I'm using such setups for some years now....
Title: Re: How to block access to url?
Post by: guest17399 on January 18, 2019, 12:13:10 pm
https://github.com/StevenBlack/hosts

That's what I plan to block.
Title: Re: How to block access to url?
Post by: guest17399 on January 20, 2019, 10:32:11 am
I did not find a convenient way to add the entire list at once.
Who else has used?
Title: Re: How to block access to url?
Post by: mimugmail on January 20, 2019, 01:56:37 pm
You probably need to parse it with external Script so it fits the URL table format