Open inspiredearth opened 8 years ago
Hi,
No problem. I've had a very quick look but not overly sure why it won't accept the uptimerobot txt file, I'll try get round to fixing it this weekend. In the meantime, if you just paste the IPs into the array then that works fine.
"69.162.124.226","69.162.124.227","69.162.124.228","69.162.124.229","69.162.124.230","69.162.124.231","69.162.124.232","69.162.124.233","69.162.124.234","69.162.124.235","69.162.124.236","69.162.124.237","69.162.124.238","46.137.190.132","122.248.234.23","188.226.183.141","178.62.52.237","54.79.28.129","54.94.142.218","104.131.107.63","54.67.10.127","54.64.67.106"
Cheers, Ed
Thanks Ed. Much appreciated. Pasting as an array is what I ended up doing, and that worked fine. Very glad you made this script available. When Cloudflare provided zero means to import a large list of IPs into their firewall, except via the API, I thought I was going to be stuck entering them all by hand. I’ve got about 60 more to add. Will use your script for them too.
Cheers, Jonathan
Hi there, Thanks for making this available. I have tried to use it to whitelist the IPs from here:
https://uptimerobot.com/inc/files/ips/IPv4.txt
But it comes back with an error:
etc. It is not clear to me why these valid IPv4 addresses are generating errors.
Any suggestions on how the code can be improved in order to resolve this issue?