• How add blocked ip on iptables automatically on Ubuntu server

    From Nicola Mettimano@2:335/601 to All on Wed Aug 17 00:08:49 2022
    Hello guys, just to:
    sudo visudo
    append this: user ALL=NOPASSWD:/usr/sbin/iptables
    (just change user with the user that run mis)
    On Event editor add:
    Active:yes
    Event Type: Blocked IP
    Shell command to execute: sudo iptables -A INPUT -s @IP@ -j DROP

    Enjoy ;-)

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)