Hello ,
I have many black list ip , but if i can only one by one to add the ip address i will add very long time.
How about can easy to add my text file list ?
Thank
Hello ,
I have many black list ip , but if i can only one by one to add the ip address i will add very long time.
How about can easy to add my text file list ?
Thank
I don't think ufw can "read" a list of Ips.txt.
How are you adding a single IP?
Each line in file is single IP?
Simple "for i" loop in terminal can do the job.
something like
Please have a gander at https://help.ubuntu.com/community/UFW andCode:for i in `cat file`; do ufw deny from $i ; done
https://help.ubuntu.com/community/Ip...aving_iptables for reference.
Good luck
Windows assumes the user is an idiot.
Linux demands proof.
Bookmarks