Can I whitelist multiple IPs as a list?


#1

Hi,

I can see that I can whitelist IPs but I have about 40 IPs for each of my domains on there. So, I’m hoping there’s a way to whitelist other than the write them in there one by one? Is uploading a list, or something like that, possible?

Thank you!


#2

On the Firewall?
Possibly via the API but i am not the best programmer :sweat_smile:

Try something like

(ip.src ne 123.456.789.0 and ip.src ne 123.456.789.1 and ip.src ne 123.456.789.2 and http.host eq "https://your-domain.com")

Action -> Block

Maybe you can do some magic foo to extend this rule ‘automatically’ on your command line by adding those ip from a txt file. IDK.


#3

That looks more like a “block everybody else” list.

I am curious as to why the OP needs to Whitelist so many addresses. What’s going on that’s blocking those 40 IP addresses? You also don’t need to do it for each domain. You can Whitelist IP address for All Websites in Account.


#4

Just an example for expressions. Yes it’s a block everything else rule but thats what i see when someone want to whitelist IPs.

With the new firewall? :thinking:


#5

@eric11 I have the same question as sdayman

are those IP’s triggering a Firewall rule or just avoiding that possibility? The reason, I ask is that if there are no issues, should one of those become compromised, not much stopping the rest from being compromised.

Either way, you can also Whitelist a range of IP’s e.g. 192.168.1.0 /24, or an Autonomous System (AS) Numbers for something like an entire ISP.


#6

No, the old one. On the same page. It’s not like it’s confusing, or anything. :stuck_out_tongue_winking_eye:


#7

Well, I forgot that this thing is still there because i never scrolled that far down the past weeks. :joy:
Now that you mentioned it… i need to delete some rules there…


#8

I know I new around here but Mark, Firewall Rules are at the top! :stuck_out_tongue:


#9

This topic was automatically closed after 30 days. New replies are no longer allowed.