Art-of-WiFi / UniFi-API-client

A PHP API client class to interact with Ubiquiti's UniFi Controller API
MIT License
1.13k stars 223 forks source link

Block a list of IP in Firewall Group #113

Closed bncbnc83 closed 3 years ago

bncbnc83 commented 3 years ago

I want to block a big list og ip's in on of my firewall. i really dont understant why i dont just can import it without using other software :-)

But i cant find examples in the examples folder how to do so.

i just have a big txt file with ips i want blocked

can someone helt me in the right direktion ?

i never worked with php

But i got other things working from the examples folder

found this in another post

https://github.com/Art-of-WiFi/UniFi-API-client/blob/master/src/Client.php#L1274

but i really dont understant it

Please help :-)

bncbnc83 commented 3 years ago

Found another solution that works i close this

jojeju9428 commented 3 months ago

Hello, what working solution have you found?

THANKS