Reply To: RE: Help needed to understand Iptables white list

VitalPBX Community Support General Discussion Help needed to understand Iptables white list Reply To: RE: Help needed to understand Iptables white list

    oromero31
    Participant
    Up
    0
    Down

    Yes, you can uses this commands:

    Ver comando de fail2ban
    [root@vitalpbx ~]# man fail2ban-client

    Ver clientes baneas por ssh:
    [root@vitalpbx ~]# fail2ban-client status sshd

    Ver clientes baneas por asterisk:
    [root@vitalpbx ~]# fail2ban-client status asterisk

    Desbanear un IP
    [root@vitalpbx ~]# fail2ban-client set sshd unbanip 192.168.31.29

    Banear un IP
    [root@vitalpbx ~]# fail2ban-client set sshd banip 192.168.31.29

    Bloquear IP con el Iptables:
    iptables -I INPUT 1 -s IP -j DROP

    Desbloquear IP del Iptables:
    iptables -D INPUT -s IP -j DROP

    0