First create a conf file /etc/fail2ban/filter.d/xtream.conf or whatever you want to call the configuration,
then in jail.local create a conf file with data on the duration of ban ip etc.
bantime = -1 permanent ban
Remember in /home/xtreamcodes/iptv_xtream_codes/nginx/conf/nginx.conf you must grant access.log
Tested on ubuntu 16 04 and works great !!!
then in jail.local create a conf file with data on the duration of ban ip etc.
bantime = -1 permanent ban
Remember in /home/xtreamcodes/iptv_xtream_codes/nginx/conf/nginx.conf you must grant access.log
Tested on ubuntu 16 04 and works great !!!
Last edited: