OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • 18.7.10 IP blocklist
« previous next »
  • Print
Pages: [1]

Author Topic: 18.7.10 IP blocklist  (Read 2879 times)

MakesSense

  • Newbie
  • *
  • Posts: 17
  • Karma: 2
    • View Profile
18.7.10 IP blocklist
« on: January 13, 2019, 10:23:31 pm »
Hi

I'm wondering if there any way to add a list of IP addresses to the firewall blocklist?
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2036
  • Karma: 93
    • View Profile
Re: 18.7.10 IP blocklist
« Reply #1 on: January 13, 2019, 11:26:13 pm »
Hi!

Create an Alias (Firewall - Settings) and add the IPs. Afterwards create an block rule on the respective interface and use as target the alias (should be in the respective drop-down menu). :-)
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

MakesSense

  • Newbie
  • *
  • Posts: 17
  • Karma: 2
    • View Profile
Re: 18.7.10 IP blocklist
« Reply #2 on: January 14, 2019, 07:16:08 am »
Thanks, I have done that for the most intrusive ones earlier, but I have a list with over 9000 IP addresses.

I tried to add them directly in the config.xml file, but then I can't open that alias in the webb GUI.
Logged

The_Sage

  • Newbie
  • *
  • Posts: 48
  • Karma: 5
    • View Profile
Re: 18.7.10 IP blocklist
« Reply #3 on: January 14, 2019, 08:28:17 am »
I use a URL Table(IP).
Add a file to a webserver - blockIPs.txt

Edit the file and add all the IP addresses, one per line. (may use other delimiter, not sure ??)

then Add alias URL Table (IPs) , then frequency of update, then FQDN of file.

This works for me.
Logged

MakesSense

  • Newbie
  • *
  • Posts: 17
  • Karma: 2
    • View Profile
Re: 18.7.10 IP blocklist
« Reply #4 on: January 14, 2019, 09:18:29 am »
Thanks for the tip! I will try that.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • 18.7.10 IP blocklist
 

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