add several IP to IP Manager

ludolugo

Verified User
Joined
Jul 24, 2019
Messages
9
Hi,
I need to add more than 150 IP to directadmin IP manager so i can assign then to the differents accounts, is it possible to do it like a bulk add from CLI?
 
It's even possible to do this in interface :) For example, if you need to add 127.0.0.1 - 127.0.0.150 range, you'd just enter:
127.0.0.1-150

That's it.
 
All IPs are stored in /usr/local/directadmin/data/admin/ips/IP (where IP is your real IP address, check existing files or newly created IP file for an example of the content) and /usr/local/directadmin/data/admin/ips/ip.list file, so, they can be added easily using a script too.
 
Back
Top