OPNsense Forum

English Forums => General Discussion => Topic started by: baqwas on August 01, 2020, 09:00:40 PM

Title: How to block all traffic from a collection of Internet address
Post by: baqwas on August 01, 2020, 09:00:40 PM
Hello,

I would like to block all unsolicited inbound traffic from a set of IP addresses. Ideally, I could use GeoIP but owing to my learning challenges (or rather handicap), I would like to use the Firewall: Alias approach first in case I do more inadvertent damage to my setup.

I need help with the Edit Alias page, please.

For the field Type, I selected URL Table (IPs).
For the field Content, presumably I should be able to specify a tabulated custom list? On the preceding page, under the Aliases tab unfortunately I cannot create any entry because when I click the "+" button (on the bottom right), the detail pane is "locked" into displaying Loading... for an extended period of time. After a while, the Edit Alias page appears and I am stuck no personal choice in the Content field.

What is my mistake, please? How can I define an alias for a collection of IP addresses (that I would like to block)? Thanks.

Kind regards.
Title: Re: How to block all traffic from a collection of Internet address
Post by: lar.hed on August 02, 2020, 08:25:43 AM
I use Type = Hosts and then in Content I enter each IP adress (press enter in between each IP).
Title: Re: How to block all traffic from a collection of Internet address
Post by: baqwas on August 03, 2020, 01:40:14 AM
Hello @lar.hed,

I have about 500+ IP addresses. I can see the option for URL table from external sources. I was wondering if there such an option for a local table that I can update on my own. OPNsense would of course refresh per the schedule set by the admin. Thanks.

Kind regards.