Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
fm_ftp_mac [2013/01/31 10:01]
127.0.0.1 external edit
fm_ftp_mac [2013/11/26 05:52] (current)
Stefan
Line 6: Line 6:
 <note tip>When using FTP, we recommend installing a dedicated [[fm_ftp_mac#​ftp_client|FTP client]]. This is not only more convenient but also makes it easier to manage your accounts and files.</​note>​ <note tip>When using FTP, we recommend installing a dedicated [[fm_ftp_mac#​ftp_client|FTP client]]. This is not only more convenient but also makes it easier to manage your accounts and files.</​note>​
  
-<note important>​If you would like to login remotely ​using FTP, set up port forwarding on your network router first. Redirect the incoming FTP traffic on port 21 to the IP address of your network drive. Otherwise, you can only use FTP when both your computer and the network drive are connected to the same local network. For more information about port forwarding and how to setup your network router, please see the guides at http://​portforward.com or refer to the documentation of your network router.</​note>​+<note important>​If you would like to connect ​remotely ​via FTP, set a port range for passive FTP and set up port forwarding on your network router first. Redirect the incoming FTP traffic on port 21 to the IP address of your network drive and do the same for the passive port range. Otherwise, you can only use FTP when both your computer and the network drive are connected to the same local network. For more information about port forwarding and how to setup your network router, please see the guides at http://​portforward.com or refer to the documentation of your network router.</​note>​
  
 ===== Setup FTP Service ===== ===== Setup FTP Service =====
Line 12: Line 12:
   - Go to [[services_ftp|Preferences > FTP]].   - Go to [[services_ftp|Preferences > FTP]].
   - Make sure the FTP service is up and running.\\ {{:​ftp.jpg?​nolink|}}   - Make sure the FTP service is up and running.\\ {{:​ftp.jpg?​nolink|}}
- +  - If you plan on connecting remotely from outside your home networkit's best to enable the option **Enforce SSL** and to assist port forwarding, it's necessary to set a **passive port range** of about 50-100 ports.\\ {{:​ftp-remote.jpg?​nolink|}}
-<​note>​If you plan on using an SSL encrypted FTP connection, enable the option **Enforce SSL**.</​note>​+
  
 ===== Connect to Server ===== ===== Connect to Server =====
Line 25: Line 24:
 ===== FTP Client ===== ===== FTP Client =====
 A FTP client makes it easier to manage multiple accounts and it is also more convenient to transfer the files. In addition, the FTP client provides functions like pause, resume, error logs, backup and more. If you already have a FTP client, simply use your preferred program. If you are still looking for a client, you could try [[http://​filezilla-project.org/​|FileZilla]] or [[http://​www.cyberduck.ch/​|Cyberduck]] just to name two. A FTP client makes it easier to manage multiple accounts and it is also more convenient to transfer the files. In addition, the FTP client provides functions like pause, resume, error logs, backup and more. If you already have a FTP client, simply use your preferred program. If you are still looking for a client, you could try [[http://​filezilla-project.org/​|FileZilla]] or [[http://​www.cyberduck.ch/​|Cyberduck]] just to name two.
 +
 +==== Home Network (LAN) ====
 +In this environment,​ both the network drive and the computer where the FTP client is installed are connected to the same local network.
  
   - Start up your FTP client. In this example, we are using FileZilla.\\ {{:​fm-ftp-mac05.png?​nolink|}}   - Start up your FTP client. In this example, we are using FileZilla.\\ {{:​fm-ftp-mac05.png?​nolink|}}
   - Open the Site Manager.\\ {{:​fm-ftp-mac05a.png?​nolink|}}   - Open the Site Manager.\\ {{:​fm-ftp-mac05a.png?​nolink|}}
   - Click **New Site** and create a new account for your network drive.\\ {{:​fm-ftp-mac06a.png?​nolink|}}   - Click **New Site** and create a new account for your network drive.\\ {{:​fm-ftp-mac06a.png?​nolink|}}
-  - For the host, enter the **IP address** of your network drive. ​On your home network, use the local IP address. For remote access, use the external IP address.\\ {{:​fm-ftp-mac07a.png?​nolink|}}+  - For the host, enter the **IP address** of your network drive (e.g. 192.168.33.30). Use the local IP address ​as seen under [[system_information_server_info|Preferences > Server Info]] but without ​the port number.\\ {{:​fm-ftp-mac07a.png?​nolink|}}
   - For the protocol, select **FTP - File Transfer Protocol**.\\ {{:​fm-ftp-mac07b.png?​nolink|}}   - For the protocol, select **FTP - File Transfer Protocol**.\\ {{:​fm-ftp-mac07b.png?​nolink|}}
-  - For the encryption, select **Use plain FTP**. If you have setup the FTP server to use SSL encryption, select **Require explicit FTP over TLS** instead.\\ {{:​fm-ftp-mac07c.png?​nolink|}}+  - For the encryption, select **Use plain FTP**. If the FTP server ​is set to use SSL encryption, select **Require explicit FTP over TLS** instead.\\ {{:​fm-ftp-mac07c.png?​nolink|}}
   - For the logon type, select **Normal** and then enter the username and password of your user account on the network drive. As an example, the administrator would enter **admin** for both username and password.\\ {{:​fm-ftp-mac07d.png?​nolink|}}   - For the logon type, select **Normal** and then enter the username and password of your user account on the network drive. As an example, the administrator would enter **admin** for both username and password.\\ {{:​fm-ftp-mac07d.png?​nolink|}}
   - Under normal circumstances,​ these are all the settings you have to configure and the rest can be left at default. However, if you have changed the port number for the FTP server and it's not using the default port 21, remember to enter the correct port number in the FTP client at this point.   - Under normal circumstances,​ these are all the settings you have to configure and the rest can be left at default. However, if you have changed the port number for the FTP server and it's not using the default port 21, remember to enter the correct port number in the FTP client at this point.
Line 39: Line 41:
 <​note>​If there is an option to set the charset that is used to encode the file names, set it to **UTF-8**.</​note>​ <​note>​If there is an option to set the charset that is used to encode the file names, set it to **UTF-8**.</​note>​
  
-<note important>​If you would like to login remotely using FTPset up port forwarding ​on your network router ​firstRedirect ​the incoming FTP traffic ​on port 21 to the IP address of your network drive. ​Otherwise, you can only use FTP when both your computer and the network drive are connected to the same local network. For more information about port forwarding ​and how to setup your network ​routerplease see the guides at http://​portforward.com or refer to the documentation of your network ​router.</​note>​+==== Remote Connection (WAN) ==== 
 +In this environmentthe computer where the FTP client is installed is not on the same network as the network drive. The connection is established over the internet from outside your home. 
 + 
 +=== Network Router === 
 + 
 +  - Write down the port number and the passive port range from your network drive.\\ {{:​ftp-remote.jpg?​nolink|}} 
 +  - Login to your network router. ​This is the device that connects your home network to the internet. In some cases, this device has been provided by your ISP and in some cases it will be your own device, most likely a wireless access point that provides both the wired and the wireless network connection at your home. 
 +  - Find a setting called **Port Forwarding**. This function might be named differently ​on your particular router (e.g. Virtual Server), so it's best to first consult the user manual. You can also find some guides at http://​portforward.com if the documentation doesn'​t include any samples. 
 +  - Setup port forwarding for TCP port 21 or whatever number you have set for the FTP port and redirect it to the IP address of your network drive. ​In most casesthe router will have a pre-set value for FTP traffic, so you can simply select ​FTP from a drop-down list. 
 +  - Setup port forwarding for the passive port range. In this example, you would redirect the traffic from TCP ports 50100-50200 to the local IP of your network drive at the same range 50100-50200. 
 + 
 + 
 +=== FTP Client === 
 + 
 +  - Start up your FTP client. In this example, we are using FileZilla.\\ {{:​fm-ftp-mac05.png?​nolink|}} 
 +  - Open the Site Manager.\\ {{:​fm-ftp-mac05a.png?​nolink|}} 
 +  - Click **New Site** and create a new account for your network ​drive.\\ {{:​fm-ftp-mac06a.png?​nolink|}} 
 +  - For the host, enter the external **IP address** of your home network (e.g. 121.88.23.334). Go to [[system_information_server_info|Preferences > Server Info]] ​and copy the IP address seen under **UPnP Port Forwarding** but without the port number.\\ {{:​fm-ftp-mac09a.png?​nolink|}} 
 +  - For the protocol, select **FTP - File Transfer Protocol**.\\ {{:​fm-ftp-mac09b.png?​nolink|}} 
 +  - For the encryption, select **Use plain FTP**. If the FTP server is set to use SSL encryption, select **Require explicit FTP over TLS** instead.\\ {{:​fm-ftp-mac09c.png?​nolink|}} 
 +  - For the logon type, select **Normal** and then enter the username and password of your user account on the network ​drive. As an example, the administrator would enter **admin** for both username and password.\\ {{:fm-ftp-mac09d.png?​nolink|}} 
 +  - Under normal circumstances,​ these are all the settings you have to configure and the rest can be left at default. However, if you have changed the port number for the FTP server and it's not using the default port 21, remember to enter the correct port number in the FTP client at this point. 
 +  - Double check all your settings and then click **Connect**. If you are using SSL encryption, you will be prompted to accept the certificate at this point.\\ {{:​fm-ftp-mac09e.png?​nolink|}} 
 +  - You can now manage your files on the network ​drive. 
 + 
 + 
 +=== Troubleshooting ===
  
 +  * Some internet service providers block traffic on port 21. If that's the case, please change the port number to something above port 1024.
 +  * If you already have a FTP server on the home network, make sure to use a different port for the FTP server on the network drive.
 +  * When testing the remote FTP connection, your computer cannot be connected to the home network.
 +  * To troubleshoot port forwarding, you can use the command console with a telnet command like "​telnet 121.22.23.334 21". If the connection can be established successfully,​ you should get a greeting from the FTP server (e.g. 220 <vsFTP 2.2.0>).
 +  * To check if the problem is related to the settings on the network router, you can temporarily add the IP address of your network drive to the DMZ zone. This should theoretically forward all traffic to your network drive and skip the firewall.
 +  * Most homes have a dynamic external IP address. This means that when you reboot the network router, it's likely that you will be assigned a new IP address. Make sure that you are using the correct IP in your FTP client.
  

ebook

AKiTiO MyCloud eManual
for iPad, Nook, Sony Reader, etc.

ePub format