Почему-то fail2ban не создаёт цепочки ip6tables for ipv6, хотя в конфиге есть fail2ban.local:allowipv6 = on
Код: Выделить всё
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
f2b-sshd tcp -- anywhere anywhere multiport dports 12345
f2b-recidive tcp -- anywhere anywhere
DROP all -- anywhere anywhere ctstate INVALID
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain f2b-recidive (1 references)
target prot opt source destination
REJECT all -- 178.62.47.206 anywhere reject-with icmp-port-unreachable
REJECT all -- 170.205.29.20 anywhere reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere
Chain f2b-sshd (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
aspera ~ # ip6tables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere ctstate INVALID
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
aspera ~ #
Код: Выделить всё
# ss -ltpn | grep ssh
LISTEN 0 128 0.0.0.0:12345 0.0.0.0:* users:(("sshd",pid=2669,fd=7))
LISTEN 0 128 [::]:12345 [::]:* users:(("sshd",pid=2669,fd=8))