avatar
如何访问我自己的机器?# Internet - 有缘千里一线牵
a*y
1
现在我的机器在一个router的内部网里,外面是用dsl出去的。怎么可以从internet上访
问我
自己的机器呢?用ssh行不行?可以的话怎么操作?我自己机器上装ssh server?有
windows版本么?设置上要注意什么的?或者有什么更简单的方法?多多谢。。。。
avatar
y*k
2
你能控制router的话可以设端口转发

访

【在 a**y 的大作中提到】
: 现在我的机器在一个router的内部网里,外面是用dsl出去的。怎么可以从internet上访
: 问我
: 自己的机器呢?用ssh行不行?可以的话怎么操作?我自己机器上装ssh server?有
: windows版本么?设置上要注意什么的?或者有什么更简单的方法?多多谢。。。。

avatar
a*y
3
谢谢,我试试看。

【在 y*k 的大作中提到】
: 你能控制router的话可以设端口转发
:
: 访

avatar
a*y
4
Now I have set up the port forwarding and installed a ftp server.
But I still cannot get it work out.
Here is the result:
ftp my machine's IP or localhost on My machine: OK
ftp my machine's IP or localhost on Other machine: do not work
ftp router's inside IP or outside IP even on My machine: do not work
Who can help me to analyze it? Thanks a lot.

【在 y*k 的大作中提到】
: 你能控制router的话可以设端口转发
:
: 访

avatar
a*t
5
what kind of "访问"? port forwarding maybe the first thing you need to setup
for whatever access.

访

【在 a**y 的大作中提到】
: 现在我的机器在一个router的内部网里,外面是用dsl出去的。怎么可以从internet上访
: 问我
: 自己的机器呢?用ssh行不行?可以的话怎么操作?我自己机器上装ssh server?有
: windows版本么?设置上要注意什么的?或者有什么更简单的方法?多多谢。。。。

avatar
a*y
6


【在 a**y 的大作中提到】
: Now I have set up the port forwarding and installed a ftp server.
: But I still cannot get it work out.
: Here is the result:
: ftp my machine's IP or localhost on My machine: OK
: ftp my machine's IP or localhost on Other machine: do not work
: ftp router's inside IP or outside IP even on My machine: do not work
: Who can help me to analyze it? Thanks a lot.

avatar
c*o
7
Check your firewall settings?

【在 a**y 的大作中提到】

avatar
b*o
8
You might have a wrong router. To tell you the truth, I used to have a wrong
router, whatever I did, it won't work. After I changed to another model, it
works immediately.

访

【在 a**y 的大作中提到】
: 现在我的机器在一个router的内部网里,外面是用dsl出去的。怎么可以从internet上访
: 问我
: 自己的机器呢?用ssh行不行?可以的话怎么操作?我自己机器上装ssh server?有
: windows版本么?设置上要注意什么的?或者有什么更简单的方法?多多谢。。。。

avatar
a*y
9
what do u mean? The model of the router matters??

wrong

【在 b*****o 的大作中提到】
: You might have a wrong router. To tell you the truth, I used to have a wrong
: router, whatever I did, it won't work. After I changed to another model, it
: works immediately.
:
: 访

avatar
a*y
10
How? I don't have a firewall.

【在 c**o 的大作中提到】
: Check your firewall settings?
avatar
a*t
11
usually there is a built-in firewall in the router. check to make sure ftp
ports are allowed to go through.
usually this doesn't matter, but add port address to the end of IP when you
try to access your computer's FTP server.
ftp://123.123.123.123:23 (or whatever port FTP uses. I don't remember now)

【在 a**y 的大作中提到】
: How? I don't have a firewall.
avatar
l*y
12
NAT can break ftp easily. in my home we have a linux server in front of
the router, and run the ftp server on the linux server, which also has
firewall etc to be protected.
{internet - isp net} - modem - linux-server - home router - { home netwrok } -
pc.
^firewall, ssh, web and file server using
public ip and non-standard port.
also unless your router has ftp server running(not true for most SOHO routers)
,
you won't be able to ftp to your router's any ip address.

【在 a**y 的大作中提到】
: Now I have set up the port forwarding and installed a ftp server.
: But I still cannot get it work out.
: Here is the result:
: ftp my machine's IP or localhost on My machine: OK
: ftp my machine's IP or localhost on Other machine: do not work
: ftp router's inside IP or outside IP even on My machine: do not work
: Who can help me to analyze it? Thanks a lot.

avatar
a*t
13
shouldn't be a problem is configured correctly. I setup web and ftp server for
a small office where they have their computers behind cable modom, a router,
and another wireless router, so 3 routers to setup port forwarding on.
but it works.

-
routers)

【在 l***y 的大作中提到】
: NAT can break ftp easily. in my home we have a linux server in front of
: the router, and run the ftp server on the linux server, which also has
: firewall etc to be protected.
: {internet - isp net} - modem - linux-server - home router - { home netwrok } -
: pc.
: ^firewall, ssh, web and file server using
: public ip and non-standard port.
: also unless your router has ftp server running(not true for most SOHO routers)
: ,
: you won't be able to ftp to your router's any ip address.

avatar
l*y
14
you must be joking... there is absolutely no need to use NAT 3 times in that
scenario. only one (the one that has the public IP) needs to run port
forwarding.
the rest can run, simply, routing.
unless there're some other reasons you haven't listed.

for
,

【在 a*******t 的大作中提到】
: shouldn't be a problem is configured correctly. I setup web and ftp server for
: a small office where they have their computers behind cable modom, a router,
: and another wireless router, so 3 routers to setup port forwarding on.
: but it works.
:
: -
: routers)

avatar
a*t
15
it didn't work with only one port fowarding on the cable modem.
only worked after I setup port forwarding on the other 2.

【在 l***y 的大作中提到】
: you must be joking... there is absolutely no need to use NAT 3 times in that
: scenario. only one (the one that has the public IP) needs to run port
: forwarding.
: the rest can run, simply, routing.
: unless there're some other reasons you haven't listed.
:
: for
: ,

avatar
a*y
16
How to make sure my ftp ports can forward? In my router's setting,
I have added the ftp service and my computer IP in the port
forwarding section. I don't know what else I need to do.

【在 a*******t 的大作中提到】
: usually there is a built-in firewall in the router. check to make sure ftp
: ports are allowed to go through.
: usually this doesn't matter, but add port address to the end of IP when you
: try to access your computer's FTP server.
: ftp://123.123.123.123:23 (or whatever port FTP uses. I don't remember now)

avatar
s*d
17
ftp use at least two ports, one for control , one for data. The port for
control is typpically 21 or whatever u set in the ftp server. the port for
data is kind of more complicated. it depends on the mode of server, port mode
or passive mode.
typically for ftp server behind a router(and firewall) to work, it's better to
use passiev mode.The additional port need forwarding for passive mode
depends on ftp server of your choice.

【在 a*******t 的大作中提到】
: it didn't work with only one port fowarding on the cable modem.
: only worked after I setup port forwarding on the other 2.

avatar
a*y
18
Thanks. I use Serv-U, but I don't know where I can
check and update the mode of the server.

mode
to

【在 s*******d 的大作中提到】
: ftp use at least two ports, one for control , one for data. The port for
: control is typpically 21 or whatever u set in the ftp server. the port for
: data is kind of more complicated. it depends on the mode of server, port mode
: or passive mode.
: typically for ftp server behind a router(and firewall) to work, it's better to
: use passiev mode.The additional port need forwarding for passive mode
: depends on ftp server of your choice.

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