search for: ipset_whitelist

Displaying 1 result from an estimated 1 matches for "ipset_whitelist".

2016 Sep 21
1
ipset and blacklisting
...uniq > blacklist exit 0 import_blacklist.sh #!/bin/bash ############################################## sed s/,/\\n/g /root/blacklist |while read i; do ipset add blacklist $i /usr/sbin/ipset save blacklist # rm -f /root/blacklist.old done and most importantly so I don't ban myself, ipset_whitelist.sh #!/bin/bash ############################################## ipset del blacklist 192.168.1.102 ipset del blacklist 192.168.1.110 ipset del blacklist 107.161.163.5 ipset del blacklist 24.168.204.125 ipset del blacklist 107.161.163.4 ipset del blacklist 66.87.133.247 ipset del blacklist 107.161.163...