- 论坛徽章:
- 1
|
为什么安装了LINUX(redhat)后不能telnet上去?
原帖由 "我爱钓鱼" 发表:
netstat -anp |grep 23
iptables -L
贴出结果. /home/zhaoxq$ cat netstat
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 1996/xinetd
unix 2 [ ] DGRAM 2387 783/udevd @udevd
unix 3 [ ] STREAM CONNECTED 6919 2300/hald-addon-sto /home/zhaoxq$ cat iptables
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:5353
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited |
|