CentOS 6.5
По 23 не работает
telnet 127.0.0.1
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused А по 25 работает
[root@bear bear]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'Я пробовал
iptables -I INPUT -p tcp --dport 23 -m state --state NEW -j ACCEPTВсё равно нифига
netstat -npl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:10026 0.0.0.0:* LISTEN 1264/master
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1134/mysqld
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 1164/dovecot
tcp 0 0 127.0.0.1:3310 0.0.0.0:* LISTEN 977/clamd
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1164/dovecot
tcp 0 0 194.44.31.236:53 0.0.0.0:* LISTEN 917/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 917/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 969/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1264/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 917/named
tcp 0 0 :::80 :::* LISTEN 1274/httpd
tcp 0 0 ::1:53 :::* LISTEN 917/named
tcp 0 0 :::22 :::* LISTEN 969/sshd
tcp 0 0 ::1:953 :::* LISTEN 917/named
tcp 0 0 :::443 :::* LISTEN 1274/httpd
udp 0 0 194.44.31.236:53 0.0.0.0:* 917/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 917/named
udp 0 0 ::1:53 :::* 917/namediptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-SSH tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:mysql
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:telnet
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain fail2ban-SSH (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere