› VitalPBX Community Support › General Discussion › Help needed to understand Iptables white list › Reply To: RE: Help needed to understand Iptables white list
-
- October 29, 2018 at 6:34 pm
Yes, you can uses this commands:
Ver comando de fail2ban
[root@vitalpbx ~]# man fail2ban-clientVer clientes baneas por ssh:
[root@vitalpbx ~]# fail2ban-client status sshdVer clientes baneas por asterisk:
[root@vitalpbx ~]# fail2ban-client status asteriskDesbanear un IP
[root@vitalpbx ~]# fail2ban-client set sshd unbanip 192.168.31.29Banear un IP
[root@vitalpbx ~]# fail2ban-client set sshd banip 192.168.31.29Bloquear IP con el Iptables:
iptables -I INPUT 1 -s IP -j DROPDesbloquear IP del Iptables:
iptables -D INPUT -s IP -j DROP0