OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • How to block access to url?
« previous next »
  • Print
Pages: [1]

Author Topic: How to block access to url?  (Read 1432 times)

JetA

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 3
    • View Profile
How to block access to url?
« 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?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 5032
  • Karma: 345
    • View Profile
Re: How to block access to url?
« Reply #1 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.
Logged
IRC: mimugmail
Twitter: mimu_muc
WWW: www.routerperformance.net

chemlud

  • Hero Member
  • *****
  • Posts: 1241
  • Karma: 54
    • View Profile
Re: How to block access to url?
« Reply #2 on: January 04, 2019, 10:34:00 am »
Block rule(s) with Alias(es) won't work?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

mimugmail

  • Hero Member
  • *****
  • Posts: 5032
  • Karma: 345
    • View Profile
Re: How to block access to url?
« Reply #3 on: January 04, 2019, 11:02:31 am »
Not for URL
Logged
IRC: mimugmail
Twitter: mimu_muc
WWW: www.routerperformance.net

chemlud

  • Hero Member
  • *****
  • Posts: 1241
  • Karma: 54
    • View Profile
Re: How to block access to url?
« Reply #4 on: January 04, 2019, 12:42:23 pm »
Problem? Because I'm using such setups for some years now....
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

JetA

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 3
    • View Profile
Re: How to block access to url?
« Reply #5 on: January 18, 2019, 12:13:10 pm »
https://github.com/StevenBlack/hosts

That's what I plan to block.
Logged

JetA

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 3
    • View Profile
Re: How to block access to url?
« Reply #6 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?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 5032
  • Karma: 345
    • View Profile
Re: How to block access to url?
« Reply #7 on: January 20, 2019, 01:56:37 pm »
You probably need to parse it with external Script so it fits the URL table format
Logged
IRC: mimugmail
Twitter: mimu_muc
WWW: www.routerperformance.net

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • How to block access to url?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2