IP Tables
Added by Rumman Khan over 10 years ago
Hello,
I am using these below mention command to stop unauthorized traffic on Go Autodial 3.0 and its really work.
iptables -I INPUT -s 62.141.45.182 -j DROP
iptables-save
But I have to do daily manually for every IP Adddress because they keep on changing IP Address.
is there any method to automate this process.
regards,
Replies (8)
RE: IP Tables
-
Added by striker 247 over 10 years ago
are they hackers ip?
which port /protocol they are hacking?
RE: IP Tables
-
Added by Rumman Khan over 10 years ago
Yes Hackers IP
They use our Voip minutes .
Please let me know from where I can inform you about port /protocol?
I can upload screen short from asterisk CLI.
regards,
RE: IP Tables
-
Added by Demian Biscocho over 10 years ago
Fail2ban is recommended for automated IP blocking. You can install it via the command below (if it's not yet installed in your GOautodial system):
yum install fail2ban
For more details you can check their website http://fail2ban.com.
RE: IP Tables
-
Added by Rumman Khan over 10 years ago
Hello, I use above command ,Below is the output.
[root@go ~]# yum install fail2ban
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirrors.syringanetworks.net
* extras: mirrors.cat.pdx.edu
* updates: centos-distro.cavecreek.net
base | 1.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 536 kB 00:00
Setting up Install Process
No package fail2ban available.
Nothing to do
regards,
RE: IP Tables
-
Added by Demian Biscocho over 10 years ago
Are you using GOautodial CE 3.0? Do you have the GOautodial repo enabled? Can you post the contents of:
/etc/yum.repos.d/goautodial.repo
RE: IP Tables
-
Added by Rumman Khan over 10 years ago
Yes I am using Go Autodial 3.0.
Below is the contents of goautodial.repo
[goautodial-current]
name=CentOS-$releasever - Goautodial - Current
baseurl=
http://downloads2.goautodial.org/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
[goautodial-updates]
name=CentOS-$releasever - Goautodial - Updates
baseurl=
http://downloads2.goautodial.org/centos/$releasever/updates/$basearch/
enabled=1
gpgcheck=0
RE: IP Tables
-
Added by Levy Ryan Nolasco over 10 years ago
Hi,
Try Adding the command below on your iptables. Please make sure you reload or restart the service after adding rules on your iptables.
-A RH-Firewall-1-INPUT -s IPaddress -j DROP
RE: IP Tables
-
Added by Rumman Khan over 10 years ago
Hello Demian,
I have posted the contents of Repo.
please check.