Board logo

标题: [求助] 老大帮忙!开启了ssh 53端口 但putty 无法连接 [打印本页]

作者: okhwyy    时间: 2012-11-8 15:18     标题: 老大帮忙!开启了ssh 53端口 但putty 无法连接

老大帮忙!开启了ssh 53端口  但putty 无法连接

[root@vps11312679 ~]# lsof -i :53
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
sshd    9846 root    3u  IPv4 107270      0t0  TCP vps11312679.diahosting.com:domain (LISTEN)



iptables 开增加了53端口,可就是连接不上

[root@vps11312679 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:5213
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ddi-tcp-1
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:webcache
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:http
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpts:dnp:20500

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
TCPMSS     tcp  --  172.16.36.0/24       anywhere            tcp flags:FIN,SYN,RST,ACK/SYN TCPMSS set 1356

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         


求救!!!!!!
作者: admin    时间: 2012-11-8 17:30

没看明白你的意思
作者: okhwyy    时间: 2012-11-8 17:46

开启了ssh 53端口     但用putty 连接 服务器53端口被拒绝,你可以自己测试下
作者: okhwyy    时间: 2012-11-8 17:49

本帖最后由 okhwyy 于 2012-11-8 18:00 编辑

回复 2# admin

vi /etc/ssh/sshd_config

ListenAddress *****:53

开启了ssh 53端口     iptables 添加了tcp udp 53端口    但用putty 连接 服务器53端口被拒绝, 你可以自己测试下

没有安装wdcp的服务器都可以正常开启连接
作者: admin    时间: 2012-11-8 19:02

wdcp不会用到53端口(除非装了wddns),也不会限制53端口,这是可以明确和肯定的




欢迎光临 WDlinux官方论坛 (http://www.wdlinux.cn/bbs/) Powered by Discuz! 7.2