a**y 发帖数: 36 | 1 现在我的机器在一个router的内部网里,外面是用dsl出去的。怎么可以从internet上访
问我
自己的机器呢?用ssh行不行?可以的话怎么操作?我自己机器上装ssh server?有
windows版本么?设置上要注意什么的?或者有什么更简单的方法?多多谢。。。。 |
y*k 发帖数: 90 | 2 你能控制router的话可以设端口转发
访
【在 a**y 的大作中提到】 : 现在我的机器在一个router的内部网里,外面是用dsl出去的。怎么可以从internet上访 : 问我 : 自己的机器呢?用ssh行不行?可以的话怎么操作?我自己机器上装ssh server?有 : windows版本么?设置上要注意什么的?或者有什么更简单的方法?多多谢。。。。
|
a**y 发帖数: 36 | 3 谢谢,我试试看。
【在 y*k 的大作中提到】 : 你能控制router的话可以设端口转发 : : 访
|
a**y 发帖数: 36 | 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的话可以设端口转发 : : 访
|
a*******t 发帖数: 891 | 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版本么?设置上要注意什么的?或者有什么更简单的方法?多多谢。。。。
|
a**y 发帖数: 36 | 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.
|
c**o 发帖数: 166 | 7 Check your firewall settings?
【在 a**y 的大作中提到】
|
b*****o 发帖数: 284 | 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版本么?设置上要注意什么的?或者有什么更简单的方法?多多谢。。。。
|
a**y 发帖数: 36 | 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. : : 访
|
a**y 发帖数: 36 | 10 How? I don't have a firewall.
【在 c**o 的大作中提到】 : Check your firewall settings?
|
|
|
a*******t 发帖数: 891 | 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.
|
l***y 发帖数: 791 | 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.
|
a*******t 发帖数: 891 | 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.
|
l***y 发帖数: 791 | 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)
|
a*******t 发帖数: 891 | 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 : ,
|
a**y 发帖数: 36 | 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)
|
s*******d 发帖数: 109 | 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.
|
a**y 发帖数: 36 | 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.
|