Page 1 of 1

[BASH SCRIPT] Ban list for ssh brute force attack

Posted: Thu Jan 19, 2017 2:15 am
by teddybugs
SSH brute force attack can be annoying. Here is the list of ip that doing SSH brute force attack to my server.

Usage:
1) copy following code
2) save it as ban.sh
3) sh ban.sh

you are welcome to add your list of IP and post here, so that it benefits other

Code: Select all

#!/bin/bash
NL=$'\n'
echo -n "${NL}Adding attacker to firewall..${NL}"

v-add-firewall-rule 'DROP' '185.129.148.190' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '220.191.211.167' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '222.187.193.230' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '91.123.83.144' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '93.145.70.180' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '1.223.219.28' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '101.204.211.164' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '103.246.43.68' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '103.7.82.200' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '106.85.58.130' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '109.169.161.233' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '109.203.187.162' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '109.225.51.105' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '111.0.236.94' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '111.172.235.66' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '111.193.166.6' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '111.32.133.22' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '112.11.77.232' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '112.227.118.19' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '112.86.255.100' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '113.104.212.151' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '113.123.243.242' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '113.124.163.248' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '113.146.90.33' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '113.235.241.172' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '113.90.164.56' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '113.91.162.49' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '114.228.74.131' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '114.241.83.109' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '114.84.1.104' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '115.202.136.72' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '115.209.233.14' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '115.209.248.151' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '115.211.2.84' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '115.212.180.28' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '115.215.51.65' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '116.2.203.221' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '116.25.93.47' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '116.31.116.26' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '116.54.192.118' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '117.149.2.42' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '117.149.2.45' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '118.122.94.226' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '118.91.176.107' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '119.193.140.153' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '119.193.140.154' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '119.193.140.169' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '119.193.140.173' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '119.193.140.191' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '119.193.140.201' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '119.193.140.204' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '119.193.140.212' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '119.193.140.221' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '120.32.59.166' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '120.92.50.30' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '121.18.238.104' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '121.18.238.109' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '121.18.238.114' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '121.18.238.98' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '121.32.207.254' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '122.191.219.93' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '122.191.90.184' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '122.194.229.5' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '122.224.152.156' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '122.224.152.157' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '122.226.83.74' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '122.241.10.232' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '122.241.140.19' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '122.241.48.223' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '122.243.169.244' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '122.60.140.121' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '123.168.209.237' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '123.170.88.115' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '123.233.191.192' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '123.31.41.212' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '123.4.223.235' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '125.123.79.177' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '125.212.242.20' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '132.147.104.210' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '134.17.165.161' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '139.219.225.64' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '14.155.113.20' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '14.164.212.193' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '140.250.65.57' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '144.52.76.215' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '146.66.253.172' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '152.204.32.60' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '152.204.5.161' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '163.172.233.72' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '166.130.145.187' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '168.121.12.148' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '168.90.92.41' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '173.255.184.39' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '175.156.114.181' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '176.112.18.85' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '176.24.170.113' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '176.79.24.167' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '177.129.243.247' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '177.200.36.215' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '178.184.2.146' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '178.186.160.91' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '178.46.82.98' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '179.3.140.19' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '179.37.73.248' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '180.157.54.226' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '180.250.18.105' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '181.22.5.95' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '181.26.61.181' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '182.100.67.119' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '182.100.67.129' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '182.33.215.87' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '182.35.251.135' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '182.46.176.42' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '182.68.77.162' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '183.152.77.165' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '186.128.144.90' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '186.129.18.86' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '186.129.31.251' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '186.133.155.74' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '186.61.164.44' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '186.79.17.10' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '188.17.43.102' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '188.233.115.116' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '188.254.200.199' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '189.15.236.203' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '189.90.222.144' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '190.178.137.165' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '190.252.51.6' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '190.42.193.188' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '190.48.104.147' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '190.48.224.51' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '190.49.177.230' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '190.50.112.239' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '190.50.222.187' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '191.82.61.127' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '193.151.129.143' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '195.116.202.110' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '201.176.36.2' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '201.177.131.80' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '201.178.74.16' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '201.179.223.236' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '201.179.8.60' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '201.240.154.15' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '202.157.77.39' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '208.67.1.83' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '211.212.248.234' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '211.33.170.39' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '211.64.0.110' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '212.126.98.141' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '218.0.180.126' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '218.108.163.130' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '218.3.140.74' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '220.188.97.45' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '221.194.44.195' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '221.194.44.219' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '221.194.44.224' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '221.194.44.231' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '221.194.47.208' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '221.194.47.224' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '221.194.47.229' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '221.194.47.249' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '221.204.224.54' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '222.120.242.84' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '222.131.126.71' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '222.131.225.116' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '222.220.99.102' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '222.47.26.18' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '223.179.138.212' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '27.102.192.6' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '27.206.68.7' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '31.135.112.11' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '31.162.244.56' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '31.181.95.94' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '31.210.179.71' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '36.230.20.216' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '36.36.121.195' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '36.75.193.201' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '41.59.225.158' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '42.234.37.114' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '43.241.224.115' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '46.148.17.18' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '46.39.80.129' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '46.44.51.212' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '49.67.112.116' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '49.73.37.161' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '5.141.52.243' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '5.154.32.130' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '51.15.5.175' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '58.19.144.175' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '59.124.26.70' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '59.148.40.198' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '59.190.17.30' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '60.51.192.50' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '60.7.70.94' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '61.51.198.226' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '64.121.180.77' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '69.207.7.33' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '71.37.231.115' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '73.54.89.128' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '77.163.232.190' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '77.46.131.190' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '78.129.171.131' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '81.1.147.23' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '82.127.48.77' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '82.240.246.81' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '84.46.219.237' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '86.246.163.159' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '86.29.60.30' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '86.98.30.34' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '88.147.236.101' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '89.122.213.98' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '90.150.242.202' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '91.11.195.76' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '91.205.164.189' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '91.92.70.29' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '92.126.2.226' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '92.127.163.254' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '93.123.92.46' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '93.173.17.206' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '94.241.255.225' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '94.36.153.103' '1,65535' 'TCP' 'attacker'
v-add-firewall-rule 'DROP' '95.215.102.3' '1,65535' 'TCP' 'attacker'
echo -n "${NL}Done Added${NL}"

Re: [BASH SCRIPT] Ban list for ssh brute force attack

Posted: Thu Jan 19, 2017 12:38 pm
by demian
bad way
most powerful and right, used dynamic blocklist

Re: [BASH SCRIPT] Ban list for ssh brute force attack

Posted: Wed Feb 15, 2017 9:21 pm
by skamasle
Fail2ban do it!

Re: [BASH SCRIPT] Ban list for ssh brute force attack

Posted: Tue Feb 21, 2017 11:14 am
by skurudo
teddybugs wrote:SSH brute force attack can be annoying. Here is the list of ip that doing SSH brute force attack to my server.
A lot iptables rules it's not good.
Static rules is bad, ips changes and owners too.

Re: [BASH SCRIPT] Ban list for ssh brute force attack

Posted: Sat Jul 15, 2017 2:22 pm
by ohioiproject
Why not just use Fail2Ban with a low number of attack points? (removing root login, changing the port number, etc.)