How to set up a ftp server with your broad router ? - PCZONE 討論區

返回   PCZONE 討論區 > ▲ ADSL_CABLE_FTTH 寬 頻 上 網 討 論 > -- 網 路 技 術 版


PCZONE 討論區



通知

-- 網 路 技 術 版 較深入的網路方面技術問題,請來此這版討論

會員
How to set up a ftp server with your broadband router ?
After more test about ftp server, I have following conclusion:

1. if you are behind a NAT server(for you,it is your broadband router), then you should use passive mode to connect to a ftp server.

2. if you set up a ftp server with a port 2101, then you should map a private port 2101 to public port 2101,
then other people try to connect to you ftp server(port 2101) will work only when he is not behind a NAT server(he has a real internet IP, not 192.168.x.x private IP)

3. How could we set up a ftp server to support a ftp client behind a NAT server(they don't have a real internet IP) ? the answer is that you have to set up your ftp server to support PASV mode. if you use Serv-U, then you have to check "Domains"->"Settings"->"Advanced"->"Allow passive mode data transfers, use IP_____",( you can enter your static internet IP here or leave it blank for dynamic IP)

if you leave "Local Server"-->"Settings" ->"Advanced"->"PASV port range" to blank, the server will acquire a new listening socket with a random port number between 1024 and 65535 for every passive mode transfer. because you are behind broadband router, you could set a range, for example, 32000--32005, and you MUST map these private ports to public ports, but this will also require your client to use a special ftp client software, you could suggest them to use ,for example, FlashFXP, and they need to check "Site uses IP Masq/NAT/Non-Routable IP" in "Site Options".(Other ftp client software maybe not work.)

Hope above explaination will help you to set up a ftp server successfully.

Note:
====
I don't suggest you to use DMZ function.

Virtual DMZ Host – If you have a client PC that cannot run an
Internet application properly from behind the firewall or after
configuring the Special Applications function, then you can open
the client up to unrestricted two-way Internet access. Enter the IP
address of a DMZ host to this screen. Adding a client to the DMZ
(Demilitarized Zone) may expose your local network to a variety
of security risks, so only use this option as a last resort


PLEASE FORGIVE MY POOR ENGLISH.

-max

回覆


類似的主題
主題 主題作者 討論版 回覆 最後發表
【下載】Baby FTP Server, Quick 'n Easy FTP Server Lite FYI -- 軟 體 分 享 版 0 2009-01-19 06:23 PM
一臺電腦中同時架設WEB Server, FTP Server, Mail Server可以嗎?? yupingchiu ☉ -- 架 站 DIY 討 論 版 7 2003-08-11 10:43 AM
【教學】原來可以用 pure-ftp 建置 Web Ftp Server ADJ -- FreeBSD & Linux 討 論 版 1 2002-11-29 09:24 AM
BP Ftp Server (G6 ftp) 為什麼不能續傳 ps ☉ -- 架 站 DIY 討 論 版 0 2002-02-04 11:08 AM






 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。