Do bazy wiedzy

Accessing storage (NAS) over the internet via FTP

When using the storage function (NAS), you can allow FTP clients such as Cyberduck, FileZilla, or WinSCP to access certain contents of storage connected to the FRITZ!Box. This way you can give friends and relatives access to your pictures and videos from your last vacation over the internet, for example.

Note:You can also use just a web browser instead of an FTP client to access FRITZ!NAS contents over the internet safely and conveniently.

Requirements / Restrictions

  • The FRITZ!Box must either obtain a public IPv4 address or an IPv6 address from the internet service provider.

Note:All instructions on configuration and settings given in this guide refer to the latest FRITZ!OS for the FRITZ!Box.

1 Preparations

Configuring a USB storage device for use as storage (NAS)

Setting up MyFRITZ!

Register the FRITZ!Box with MyFRITZ! so that it can be reached on the internet at any time at a fixed MyFRITZ! address:

Maintaining a permanent internet connection

  1. Click "Internet" in the FRITZ!Box user interface.
  2. Click "Account Information" in the "Internet" menu.
  3. Click "Change connection settings".
  4. Enable the option "Maintain permanently (recommended for flat rates)". If the option is not shown, the FRITZ!Box is already permanently connected to the internet.
  5. Click "Apply" to save the settings.

2 Setting up FRITZ!Box users

To access the FRITZ!Box over the internet, you must set up users in the FRITZ!Box and allow them to access storage (NAS) contents from the internet:

  1. Click "System" in the FRITZ!Box user interface.
  2. Click "FRITZ!Box Users" in the "System" menu.
  3. Click the (Edit) button for the user who should be allowed to access the storage (NAS) over the internet or set up a new user for internet access:
    1. Click the "Add User" button.
    2. Enter a name and password for the user in the corresponding fields.
  4. Enable the option "Access from the internet allowed".
  5. Enable the option "Access to NAS contents".
  6. Click the "Add Directory" button.
  7. If the user should be allowed to access all storage available on the FRITZ!Box, enable the option "All storage available on the FRITZ!Box".
    • If the user should only be allowed to access a particular storage or folder, enable the option "Select folder".
      • ATTENTION!If you are using an IP telephone with the FRITZ!Box, the user will also have access to all of the messages recorded by the FRITZ!Box answering machine if you grant access to all folders.

  8. In the section "Directory", assign the user read and write permission to the storage.
  9. Click "OK".
  10. Click "Apply" to save the settings.

3 Setting up internet access to storage (NAS)

  1. Click "Internet" in the FRITZ!Box user interface.
  2. Click "Permit Access" in the "Internet" menu.
  3. Click on the "FRITZ!Box Services" tab.
  4. Enable the option "Internet access to your storage media via FTP/FTPS enabled".
  5. Enter the desired port in the field "TCP port for HTTPS".
  6. If access from the internet should be encrypted, enable the option "Allow only secure FTP connections (FTPS)".

    Important:The software used to access the storage (for example a web browser, FTP client) must also support FTPS.

  7. Click "Apply" to save the settings.

4 Accessing storage (NAS) over the internet

  1. Call up the address ftp://[MyFRITZ! address of the FRITZ!Box] in the FTP client. If the FRITZ!Box does not use the default FTP port 21, add the port used by the FRITZ!Box to the MyFRITZ! address.

    Example:
    ftp://pi80ewgfi72d2os42.myfritz.net:47891

  2. Enter the name and password of a FRITZ!Box user who is authorized to access NAS contents from the internet.