帮助 - 搜索 - 会员 - 日历
完整版本: FTP server help needed!
英华论坛 > 英华 3 区:电脑 数码 手机 网络 游戏 > 数码时代
bluefire
Dear all:
I am trying to set up a FTP server in my LAN which is behind a router. I tried many times and followed many tutoirials. but it's still not working.
My router is a very basic router which hasn't got IP forward function. What should I do instand? Please help me... I banged my head 20 times on the floor, and jumped off 3 times out of window. Help Help help!

I am running:
WinXP professional on AMDXP 2600
Serve-U and BPFTP server
conexant ADSL ethernet/USB router plus Modem.
Netgear Hub
4 PCS and 1 Laptop in my LAN

Any help will be highly Appreciated and with tones of Music and Movies to share in return!

wub.gif wub.gif wub.gif
purewaterbb
if ur router cant map its port to port to ur lan machine, then u will hv to use one machine in ur lan as a gateway server.

the gateway server installs one network card and the adsl modem. the network card connects to hub.

just use the adsl modem as normal modem. then u can use the gateway server as a ftp server or u can install some proxy server to map the port to ur lan machine.

the only problem is that the gateway machine has to be on when ur lan connect to outside king.gif
Presto
If you are going to run a standard FTP server, you must make the 21 port accessible from the outside of your local network.

First, you need to make sure about your network configuration.
1. do you have a real IP for your firewall/gateway? try to use "tracert" to see how the network flow goes.
2. does your firewall have back-forward function? so that the connection from outside can reach your FTP server?

If 1 is true, but not 2. Then you can try to configure you FTP server as gateway, ie, put them together.
If both 1 and 2 are true, then run FTP on your computer with proper setup of the gateway.
If both 1 and 2 are false, forget about the FTP server, take some rest, and relax ... smile.gif

Good luck, anyway.

PS. i suggest you to setup a Linux server, it's far better than M$ Windows as a server.

bluefire
Thanks for all:

I have a Static ATM IP address and my router's deafult IP is 10.0.0.2( I suppose that's the gateway to WAN).
FTP server is on 10.0.0.3 in the LAN. I checked with the ADSL service provider that they didn't bloke port 21. but some how my port 21 was closed ( checked by http://grc.com/). I turned off my firewall zonealarm and the firewall come with XP. I also openned port 20, 21, 2000-2010 on the router. somehow between the router and the FTP server. the port21 is not connected to each other!

so. Do I have to open port21 on my FTP server computer? if I do. How do I do that? Thanks again!
haomaru
the 21 is only the default port, you can choose any one you like such as (8888, or 888, or ... not include 80 wink.gif).
i think the problem is your route, try to find a newest firmware to refresh your router, it may bring additional funtions.

purewaterbb
it doesnt matter which port u choose for ftp server. i think ur problem is NAT.(network address transport)

check if ur router support NAT? bcos ur ftp is behind the router, as Presto said, outside machine can only reach ur router. ur router need to transfer its ftp port connection to ur ftp server port horse.gif
Presto
10.*.*.* is definitly the internal IP, i.e., not routeable on internet. So you'd better find out it external IP address.

Good luck. smile.gif
bluefire
QUOTE (Presto @ 2 May 2003, 11:08)
10.*.*.* is definitly the internal IP, i.e., not routeable on internet. So you'd better find out it external IP address.

Good luck. smile.gif

yes.. 10.0.0.3 is an internal IP address. I know my external IP address is 212.56.88.**. My FTP server is working in the Lan now.. but.. still not working from out side
xp
well. try to do these:

change your PASV port range: 9005 - 9050
or,
check your router, open your DMZ Host IP address. it should be 10.0.0.0, change to your LAN IP, 10.0.0.3
Presto
QUOTE (bluefire @ 2 May 2003, 12:08)
QUOTE (Presto @ 2 May 2003, 11:08)
10.*.*.* is definitly the internal IP, i.e., not routeable on internet. So you'd better find out it external IP address.

Good luck. smile.gif

yes.. 10.0.0.3 is an internal IP address. I know my external IP address is 212.56.88.**. My FTP server is working in the Lan now.. but.. still not working from out side

What is the model number of your gateway?
bluefire
天, 今天问过几个高手, 都说不行了, 要换 个可以forward IP 的 Router . 我冤, 我冤。 真的就没有救了吗?

To Presto:
I don't know what is my gateway model number. is it 10.0.0.2? which is the router's IP address!

To XP:
you are XP. you should know this, right? coz I am running winXP.
haomaru
i told you go to find newest Firmware, refresh your router. it may help you. if there is no any firmware, i am afraid i cannot help you.
purewaterbb
QUOTE (bluefire @ 3 May 2003, 1:31)
天, 今天问过几个高手, 都说不行了, 要换 个可以forward IP 的 Router . 我冤, 我冤。 真的就没有救了吗?

To Presto:
I don't know what is my gateway model number. is it 10.0.0.2? which is the router's IP address!

To XP:
you are XP. you should know this, right? coz I am running winXP.

你把lan里的一台机子搞成代理服务器就好了。 代理软件的ip forward功能比简单的router强多了 blink.gif
Presto
QUOTE (bluefire @ 3 May 2003, 0:31)
天, 今天问过几个高手, 都说不行了, 要换 个可以forward IP 的 Router . 我冤, 我冤。 真的就没有救了吗?

To Presto:
I don't know what is my gateway model number. is it 10.0.0.2? which is the router's IP address!

To XP:
you are XP. you should know this, right? coz I am running winXP.

我是想知道你的网关是那家公司的什么型号,这样或许我可以知道如何配置它。

另外,如果你现在网关实在不灵光,我建议你把它在eBay上卖了,然后用这份银子买台老PC和PCI内置的ADSL modem。

老PC是Pentium级别有64MB内存即可,(当然486/386 + 32MB也能搓和,不过性能会有折扣)可以不要键盘显示器等外设,安装和管理可以通过串口。这样的机器应该很多,而且不贵。但是要有软驱和硬盘,光驱可选但不必须,系统安装完全可以用软盘+网络进行。

需要在这台机器上安装Linux,推荐Debian版本(据说FreeBSD最适合做服务器,但俺没用过。 blush.gif )。不要用RedHat,那是给懒人预备的, tongue.gif 而且默认配置庞大无比,可以和M$ Windows媲美。

然后你可以在这台PC上设置你想要的几乎任何服务(如果你真的有独立的IP),FTP server, HTTP server, Samba server, Mail server, BBS server (telnet version), Database server, firewall, proxy, ... ...。

PS. 如果信得过在下,给俺个root账号,我可以免费帮你做远程管理。 wink.gif (前提是该服务器仅用于非商业用途。)

Good luck, anway. smile.gif

Presto
另外才发现,如果你的modem有USB接口,应该可以把它直接连到XP上,这样,你的XP既是FTP server又是router(原modem上的router功能费掉不用).

PS. XP做server总觉得不地道。:(
bluefire
Thank you very much presto, XP

After I opened the open the DMZ Host IP address. it was 10.0.0.0, change to LAN IP, 10.0.0.3(XP). And then. The FTPserver on 10.0.0.3 can detected outside login but not acutely log in by use either anonymous or defined account and password. All the log line message is right there that even can show from Which IP address. That means the FTP server is communicating to the out side now. But why it still cannot log in from Outside? It seems that we are very close there now and can we make the miracle happening on my machine?

Thanks
Presto
网络配置虽然能搀和两句,但是没有跟M$ XP的作战经验,XP上的server配置就帮不上多大忙了。:-P
xp
if the user still can`t login, u should check whether u have firewall like norton-anti virus, switch off the auto-protection, have a try.
这是我们论坛页面的一个简化版本.查看包含更多信息的完整版本请您点击这里.
Invision Power Board © 2001-2008 Invision Power Services, Inc.