Add managewp IPs

#1

This is a repeat of Whitelist a long list of IPs which is locked but not solved.
How do I add a long list without going through the process 50 times. In this case for managewp.

35.162.254.253,52.11.12.231,52.11.29.70,52.11.54.161,52.24.142.159,52.25.191.255,52.27.181.126,52.34.126.117,52.34.254.47,52.35.82.99,52.36.28.80,52.38.106.97,52.39.177.152,52.41.230.148,52.41.237.12,52.42.126.166,52.43.13.71,52.43.76.224,52.88.96.110,52.89.155.51,54.148.73.118,54.186.37.105,54.187.92.57,54.191.32.65,54.191.67.23,54.191.80.119,54.191.135.209,54.191.136.176,54.191.148.85,54.191.149.8,52.26.122.21,52.24.187.29,52.89.85.107,54.186.128.167,54.191.40.136,52.24.62.11,52.88.119.122,54.191.148.225,54.191.151.18,52.89.94.121,52.25.116.116,52.88.215.225,54.186.143.184,52.88.197.180,52.27.171.126

0 Likes

#2

What’s wrong with my answer? It’s copy and paste and takes less than five minutes

1 Like

#3

Hi,

It’s not exactly that it’s not solved. It’s just that the OP didn’t mark it as solved, as applying @MarkMeyer’s answer would have done it.

Another way you can try, that also involves copying and pasting is:

  1. Using Notepad, Notepad++ or any text editor, replace all commas with a space, so that the list of IPs goes like this 111.111.111.111 222.222.222.222 etc
  2. Create a Firewall Rule to block 2 IPs using the operator “is in”
  3. While on the Firewall Rule edit screen, click on “Edit Expression”
  4. Replace the 2 IPs used to create the rule with the list of space-separated IPs you created above. Save it, then open this firewall rule again to see all you IPs added to it.

Make sure all IPs are properly formatted before you start this process.

2 Likes

White list multiple IP addresses
#4

I must not be understanding this answer could you add 2 or 3 ips so I can understand it better?
As it stands your answer does not address pasting in 50ips in a comma-sperated list?

edit > floripares answer looks much clearer.

2 Likes

#5

And improved by using curly braces. :grimacing:

1 Like