打印

[硬件] 有野請教 - NAS

引用:
原帖由 cainester 於 2012-7-31 14:08 發表
搵到呢篇野, 其實講得七七八八
http://www.synology.com/tutorials/how_to_internet2.php?lang=enu

不過係 port forwarding 果度好似仲係唔係咁明
番去試下 NAS 自行 set....唔得就買買一個個手動 ...
very simple, for the sake of simplification:
- each computer in your network is identified by its own IP (assigned by router)
- each computer has "ports" that lets outside connections interact with your computer for specific purposes, these ports are numbered
- your router functions as a "gate" and blocks all special connections unless you tell the router specifically to let certain things through
- outsiders only know your external IP (the one assigned by ISP), and the port that they want to use to connect to your computers
- so you tell the router to forward the connection to different computers when different ports are requested

here is a sample network:
modem -> router -> computer 1 (192.168.0.2)
                -> computer 2 (192.168.0.3)

if you want to run a ftp server on computer 2, first you need to set up the right software on it, then set it to "listen" to port 21 for incoming connections (like waiting for someone to knock your door).

then you tell your friends your external IP and the port number you are using, which is 21 for most standard ftp servers

however the router is still blocking this, therefore no one can get through the gate to knock the door
so you tell the router "if a connection is requesting to connect to port 21, then forward it to 192.168.0.3"

in your screenshot, here is how you fill in:

"name" - can be anything you want
"public port" / "private port" - usually i use the same number.  
"IP address" - the internal IP of the target computer

TOP