Your company here, and a link to your site. Click to find out more.

fail2ban-server - Man Page

start the server


fail2ban-server [Options]


Fail2Ban v1.0.2 reads log file that contains password failure report and bans the corresponding IP addresses using firewall rules.


-c,  --conf <DIR>

configuration directory

-s,  --socket <FILE>

socket path

-p,  --pidfile <FILE>

pidfile path

--pname <NAME>

name of the process (main thread) to identify instance (default fail2ban-server)

--loglevel <LEVEL>

logging level

--logtarget <TARGET>

logging target, use file-name or stdout, stderr, syslog or sysout.


dump configuration. For debugging

--dp,  --dump-pretty

dump the configuration using more human readable representation

-t,  --test

test configuration (can be also specified with start parameters)


interactive mode


increase verbosity


decrease verbosity


force execution of the server (remove socket file)


start server in background (default)


start server in foreground


start server in async mode (for internal usage only, don't read configuration)


timeout to wait for the server (for internal usage only, don't read configuration)

--str2sec <STRING>

convert time abbreviation format to seconds

-h,  --help

display this help message

-V,  --version

print the version (-V returns machine-readable short format)

Reporting Bugs

Report bugs to https://github.com/fail2ban/fail2ban/issues

See Also


Referenced By

fail2ban(1), fail2ban-client(1), fail2ban-regex(1), fail2ban-testcases(1), jail.conf(5).

November 2022 Fail2Ban v1.0.2