avatar
远程ssh router的问题# Hardware - 计算机硬件
s*r
1
An older, tired-looking cat wandered into my yard.
I could tell from his collar and well-fed belly that he
had a home and was well taken care of.
He calmly came over to me, I gave him a few pats on his
head; he then followed me into my house, slowly walked
down the hall, curled up in the corner and fell asleep.
An hour later, he went to the door, and I let him out.
The next day he was back, greeted me in my yard, walked
inside and resumed his spot in the hall and again slept
for about an hour.
T
avatar
D*o
2
router是dd-wrt的firmware DD-WRT v24-sp2 (05/21/09) mini
俺用LAN上的电脑可以ssh 登录router。
用router的local ip 192.168.x.x和WAN ip都没有问题。
port forwarding也设好了。
用WAN上的电脑却ssh登录不了
俺的router是Buffalo WHR-HP-G54。router连到westell的router上接外网
大家看看有啥办法么?thx
avatar
s*r
3
没有剧透,这是个不像豆豆一样称职的小保姆

【在 s****r 的大作中提到】
: An older, tired-looking cat wandered into my yard.
: I could tell from his collar and well-fed belly that he
: had a home and was well taken care of.
: He calmly came over to me, I gave him a few pats on his
: head; he then followed me into my house, slowly walked
: down the hall, curled up in the corner and fell asleep.
: An hour later, he went to the door, and I let him out.
: The next day he was back, greeted me in my yard, walked
: inside and resumed his spot in the hall and again slept
: for about an hour.

avatar
m*d
4
ddwrt里面设置允许远程ssh

【在 D***o 的大作中提到】
: router是dd-wrt的firmware DD-WRT v24-sp2 (05/21/09) mini
: 俺用LAN上的电脑可以ssh 登录router。
: 用router的local ip 192.168.x.x和WAN ip都没有问题。
: port forwarding也设好了。
: 用WAN上的电脑却ssh登录不了
: 俺的router是Buffalo WHR-HP-G54。router连到westell的router上接外网
: 大家看看有啥办法么?thx

avatar
b*a
5
太搞笑了,真的假的?

【在 s****r 的大作中提到】
: An older, tired-looking cat wandered into my yard.
: I could tell from his collar and well-fed belly that he
: had a home and was well taken care of.
: He calmly came over to me, I gave him a few pats on his
: head; he then followed me into my house, slowly walked
: down the hall, curled up in the corner and fell asleep.
: An hour later, he went to the door, and I let him out.
: The next day he was back, greeted me in my yard, walked
: inside and resumed his spot in the hall and again slept
: for about an hour.

avatar
D*o
6
yes, I did ...

【在 m*d 的大作中提到】
: ddwrt里面设置允许远程ssh
avatar
s*r
7
不知道啊,有个猫睡觉的照片

【在 b******a 的大作中提到】
: 太搞笑了,真的假的?
avatar
x*m
8
从外网上做个端口扫描,或者登录外网IP的22号端口试试,说不定别的什么地方有防火
墙挡着的。
avatar
C*e
9
太可爱了
可怜的妈妈和胖喵
avatar
a*o
10
maybe your ISP blocked the port.

【在 D***o 的大作中提到】
: router是dd-wrt的firmware DD-WRT v24-sp2 (05/21/09) mini
: 俺用LAN上的电脑可以ssh 登录router。
: 用router的local ip 192.168.x.x和WAN ip都没有问题。
: port forwarding也设好了。
: 用WAN上的电脑却ssh登录不了
: 俺的router是Buffalo WHR-HP-G54。router连到westell的router上接外网
: 大家看看有啥办法么?thx

avatar
i*i
11
实在太可爱了.....ld的老板下个月也要6孩了...这些老外怎么这么能生啊
avatar
D*o
12
俺把杀毒软件的防火墙,windows的防火墙都关了。还是不行
俺用的端口是1022,应该不会被block吧
用的这个网站scan的,所有端口都看不到 。。。
http://www.t1shopper.com/tools/port-scan/#

【在 x**m 的大作中提到】
: 从外网上做个端口扫描,或者登录外网IP的22号端口试试,说不定别的什么地方有防火
: 墙挡着的。

avatar
z*e
13
看了这个更坚定了我维护猫权,少生小孩的宗旨。
avatar
D*o
14
改了好几个端口好,还是不行

【在 a*o 的大作中提到】
: maybe your ISP blocked the port.
avatar
t*u
15
哈哈,太好玩了
avatar
J*n
16
I used to have a similar problem. Because you are going to open the port at
the router itself instead of some ip behind the router, this set-up has
nothing to do with port-forwarding. Instead, you need to use iptable to open
the port. So add the following two lines to the script that you will run
when the router starts:
iptables -I INPUT -p tcp -d 192.168.1.1 --dport 22 -j ACCEPT
iptables -t nat -I PREROUTING -p tcp -d $(nvram get wan_ipaddr) --dport 1022
-j DNAT --to 192.168.1.1:22
The first command tells the router to open the port 22 visible to your LAN.
The second one tells the router the re-direct any WAN traffic destined to
port 1022 to its local port 22.

【在 D***o 的大作中提到】
: router是dd-wrt的firmware DD-WRT v24-sp2 (05/21/09) mini
: 俺用LAN上的电脑可以ssh 登录router。
: 用router的local ip 192.168.x.x和WAN ip都没有问题。
: port forwarding也设好了。
: 用WAN上的电脑却ssh登录不了
: 俺的router是Buffalo WHR-HP-G54。router连到westell的router上接外网
: 大家看看有啥办法么?thx

avatar
a*a
17
lol
猫猫也是不胜其烦啊
avatar
D*o
18
把router设成dmz host后,问题解决了

【在 D***o 的大作中提到】
: router是dd-wrt的firmware DD-WRT v24-sp2 (05/21/09) mini
: 俺用LAN上的电脑可以ssh 登录router。
: 用router的local ip 192.168.x.x和WAN ip都没有问题。
: port forwarding也设好了。
: 用WAN上的电脑却ssh登录不了
: 俺的router是Buffalo WHR-HP-G54。router连到westell的router上接外网
: 大家看看有啥办法么?thx

avatar
b*y
19
哈哈哈,不仅猫受不了,人也受不了了。
avatar
s*r
20
哈哈哈哈哈

【在 s****r 的大作中提到】
: An older, tired-looking cat wandered into my yard.
: I could tell from his collar and well-fed belly that he
: had a home and was well taken care of.
: He calmly came over to me, I gave him a few pats on his
: head; he then followed me into my house, slowly walked
: down the hall, curled up in the corner and fell asleep.
: An hour later, he went to the door, and I let him out.
: The next day he was back, greeted me in my yard, walked
: inside and resumed his spot in the hall and again slept
: for about an hour.

avatar
p*f
21
hahaha, clever cat, humerous owner.
avatar
C*y
22
哈哈好玩,猫猫知道要找个耳根清静的地方补觉

【在 s****r 的大作中提到】
: An older, tired-looking cat wandered into my yard.
: I could tell from his collar and well-fed belly that he
: had a home and was well taken care of.
: He calmly came over to me, I gave him a few pats on his
: head; he then followed me into my house, slowly walked
: down the hall, curled up in the corner and fell asleep.
: An hour later, he went to the door, and I let him out.
: The next day he was back, greeted me in my yard, walked
: inside and resumed his spot in the hall and again slept
: for about an hour.

avatar
B*A
23
这个明显就是抄袭嘛。我看过的版本是一只狗。你们google “tired looking dog”
一大堆。
avatar
c*z
24
sweet

【在 s****r 的大作中提到】
: An older, tired-looking cat wandered into my yard.
: I could tell from his collar and well-fed belly that he
: had a home and was well taken care of.
: He calmly came over to me, I gave him a few pats on his
: head; he then followed me into my house, slowly walked
: down the hall, curled up in the corner and fell asleep.
: An hour later, he went to the door, and I let him out.
: The next day he was back, greeted me in my yard, walked
: inside and resumed his spot in the hall and again slept
: for about an hour.

avatar
m*j
25
太可爱了
avatar
c*w
26
haha
cute...
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。