免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: THEBEST
打印 上一主题 下一主题

为什么安装了LINUX(redhat)后不能telnet上去? [复制链接]

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
21 [报告]
发表于 2005-04-29 12:27 |只看该作者

为什么安装了LINUX(redhat)后不能telnet上去?

原帖由 "我爱钓鱼" 发表:
echo >; /etc/reslov.conf

try it again
没什么效果.一样的.

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
22 [报告]
发表于 2005-04-29 12:27 |只看该作者

为什么安装了LINUX(redhat)后不能telnet上去?

似乎应该是/etc/resolve.conf ?楼上的打错了?

而且echo >;这是输出什么到这个文件呀?我cat一下,就一空行.

论坛徽章:
5
巳蛇
日期:2013-08-28 09:26:15CU十二周年纪念徽章
日期:2013-10-24 15:41:34射手座
日期:2013-10-31 09:13:04射手座
日期:2014-02-11 13:18:34天秤座
日期:2014-03-25 09:22:28
23 [报告]
发表于 2005-04-29 13:03 |只看该作者

为什么安装了LINUX(redhat)后不能telnet上去?

netstat -anp |grep 23
iptables -L
贴出结果.

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
24 [报告]
发表于 2005-04-29 13:15 |只看该作者

为什么安装了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

论坛徽章:
5
巳蛇
日期:2013-08-28 09:26:15CU十二周年纪念徽章
日期:2013-10-24 15:41:34射手座
日期:2013-10-31 09:13:04射手座
日期:2014-02-11 13:18:34天秤座
日期:2014-03-25 09:22:28
25 [报告]
发表于 2005-04-29 13:21 |只看该作者

为什么安装了LINUX(redhat)后不能telnet上去?

service iptables stop;try it again

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
26 [报告]
发表于 2005-04-29 13:24 |只看该作者

为什么安装了LINUX(redhat)后不能telnet上去?

[quote]原帖由 "我爱钓鱼"]service iptables stop;try it again[/quote 发表:
谢谢.但这是什么原因呢?是否把系统服务里的iptables取消掉?

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
27 [报告]
发表于 2005-04-29 13:29 |只看该作者

为什么安装了LINUX(redhat)后不能telnet上去?

重启我去掉了iptables服务,但现在又不能ftp上这个LINUX了...说直接被拒绝..

论坛徽章:
5
巳蛇
日期:2013-08-28 09:26:15CU十二周年纪念徽章
日期:2013-10-24 15:41:34射手座
日期:2013-10-31 09:13:04射手座
日期:2014-02-11 13:18:34天秤座
日期:2014-03-25 09:22:28
28 [报告]
发表于 2005-04-29 13:37 |只看该作者

为什么安装了LINUX(redhat)后不能telnet上去?

[quote]原帖由 "THEBEST"]重启我去掉了iptables服务,但现在又不能ftp上这个LINUX了...说直接被拒绝..[/quote 发表:


netstat -anp|grep 21

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
29 [报告]
发表于 2005-04-29 13:45 |只看该作者

为什么安装了LINUX(redhat)后不能telnet上去?

原帖由 "我爱钓鱼" 发表:


netstat -anp|grep 21
[root@zhaoxq wizard]# netstat -anp|grep 21
unix  2      [ ACC ]     STREAM     LISTENING     5756   2115/xfs            /tmp/.font-unix/fs7100
unix  2      [ ACC ]     STREAM     LISTENING     5796   2135/dbus-daemon    /var/run/dbus/system_bus_socket
unix  9      [ ]         DGRAM                    5219   1858/syslogd        /dev/log
unix  2      [ ]         DGRAM                    5818   2144/hald           @/var/run/hal/hotplug_socket2
unix  3      [ ]         STREAM     CONNECTED     7071   2135/dbus-daemon    /var/run/dbus/system_bus_socket
unix  10     [ ]         STREAM     CONNECTED     7026   2135/dbus-daemon    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     5817   2135/dbus-daemon    /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     5816   2144/hald           
unix  3      [ ]         STREAM     CONNECTED     5799   2135/dbus-daemon   
unix  3      [ ]         STREAM     CONNECTED     5798   2135/dbus-daemon   
unix  2      [ ]         DGRAM                    5759   2115/xfs   

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
30 [报告]
发表于 2005-04-29 13:47 |只看该作者

为什么安装了LINUX(redhat)后不能telnet上去?

我喜欢用CSH,直接修改passwd文件的吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP