How to block all traffic from a collection of Internet address

Started by baqwas, August 01, 2020, 09:00:40 PM

Previous topic - Next topic
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.

I use Type = Hosts and then in Content I enter each IP adress (press enter in between each IP).

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.