fail2ban & iptables

Bonjour,

Je suis un newbie dans l’utilisation de fail2ban et iptables, mais je comprends parfaitement les tables de routages :slightly_smiling:

Voilà la config que j’ai sur mon serveur :

[code]iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-nginx-badbots tcp – anywhere anywhere multiport dports http,https
fail2ban-nginx-auth tcp – anywhere anywhere multiport dports http,https
fail2ban-vsftpd tcp – anywhere anywhere multiport dports ftp
fail2ban-ssh tcp – anywhere anywhere multiport dports ssh

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain fail2ban-nginx-auth (1 references)
target prot opt source destination
RETURN all – anywhere anywhere

Chain fail2ban-nginx-badbots (1 references)
target prot opt source destination
RETURN all – anywhere anywhere

Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN all – anywhere anywhere

Chain fail2ban-vsftpd (1 references)
target prot opt source destination
RETURN all – anywhere anywhere
[/code]

Je souhaite ouvrir un port supplémentaire mais je n’y arrive pas, fail2ban me casse les pieds …

je suis sous debian 8

Merci

Qu’entend-tu par “ouvrir un port supplémentaire” et en quoi fail2ban gêne ?
Avec ces règles iptables ne bloque rien, tout est à ACCEPT.