Knowledge Base

How to make Synology NAS accessible via the Internet (DSM 4)

Overview

Your Synology DiskStation is designed to be accessible over the Internet, allowing you to access files and services anywhere. Traditionally, setting up remote access required a lot of technical knowledge. However, Synology DiskStation Manager comes with tools that simplify this process, allowing you to start accessing your data over the Internet quickly and easily.

DiskStation Manager comes with EZ-Internet, a setup wizard that walks you through the steps of configuring network settings, such as port forwarding, firewall, and DDNS hostname registration. When finished, you'll be able to access your DiskStation over the Internet by simply entering its domain name or IP address in your web browser.

Manual setup:

If you prefer doing things manually or your router cannot be automatically set up using EZ-Internet, Synology DSM also allows you to configure router, firewall, and DDNS settings manually. For more information, you can skip to the section Setting up manually.

Contents

  1. Before you start
  2. Making DiskStation accessible over the Internet with EZ-Internet
  3. Setting up manually
  4. Reference: List of ports used by Synology products

1. Before you start

Before getting started, please check the following:

  • Your Synology DiskStation is connected to the Internet and is running DSM 3.2 or later.
  • To ensure automatic router setup is successful, make sure your router supports UPnP and appears on Synology's router support list. For other routers, manual port forwarding might be required.

1.1 Your network environment

To make your DiskStation accessible via the Internet, your network environment should be one of the following types:

  • Direct connection -- If your DiskStation connects directly to the Internet, it will have a public, static IP address assigned by your Internet service provider. Once setup is complete, you'll be able to directly access the Synology DiskStation using this IP address.
  • Broadband (PPPoE) connection -- If your DiskStation connects to the Internet via PPPoE, it will be connected to an ADSL modem over Ethernet. Your ADSL modem will assign a public IP address to your DiskStation once connected.
  • Router connection -- If your Synology DiskStation is connected to the Internet through a router, it will be using a private IP address. In order to make your DiskStation accessible over the Internet, you will need to change settings so the DiskStation uses a static IP address. This can be done by going to Control Panel > Network > Network Interface. In addition, to ensure automatic router setup is successful, make sure your router supports UPnP and appears on Synology's router support list. For other routers, manual port forwarding might be required.
  • Port forwarding

    Ports are access points for a computer to connect to another device in order to use its service. Much like forwarding a phone call, when local network receives a "call" (e.g. a request for a service on your DiskStation from the Internet), the router will forward the call to the right receiver (e.g. the DiskStation).

Return to top

2. Making DiskStation accessible over the Internet with EZ-Internet

Synology DiskStation comes with EZ-Internet to help you make your DiskStation accessible over the Internet. EZ-Internet is recommended for beginner users who are unfamiliar with network settings.

2.1 Getting started with EZ-Internet

  1. Log into your Synology DiskStation with an account belonging to the administrators group.
  2. Go to Main Menu > EZ-Internet.

2.2 Choosing your network environment

Depending on your network environment, EZ-Internet will walk you through different steps. In the sections below, we'll take a look at setting up the following network environments.

2.2.1 For direct connections

If your DiskStation is connected directly to the Internet, choose Directly connect to the Internet. You will be able to directly access the Synology DiskStation with its public IP. The wizard will then continue with Firewall and DDNS settings.

2.2.2 For broadband (PPPoE) connections

If your DiskStation connects to the Internet via PPPoE, choose Broadband (PPPoE). Enter the username and password provided by your ISP. The wizard will then continue with Firewall and DDNS settings.

2.2.3 For router connections

If your DiskStation connects to the Internet through a router, choose the Through a router option. The DiskStation then reads your system configurations and searches for your router within the local network.

Before you start:
  • For automatic router configuration, we suggest you use a router included on our router support list.
  • For non-UPnP routers, you might need to obtain the correct username and password of the router.
  • Log out from your router's configuration system.
  • Set the DiskStation to use a static IP address. This can be done by going to Control Panel > Network > Network Interface.

If your router is UPnP-enabled and appears on our router support list, you'll see a summary regarding the router as below. You can click Next and continue to DDNS settings.

If your router is UPnP-enabled, but does not appear on our router support list, you'll see the following screen.

In this case, choose one of the following options:

  • Quick: The system will try to automatically configure router settings. If successful, you will be taken to the port forwarding page.
  • Advanced: Choose this option if you want to manually set up connection to the router. You'll be able to choose your router from the router drop-down menu, customize protocol and port, and enter custom account details if necessary.
    Note: If you cannot find your router on the list, click Update List to retrieve the latest router model list. You can also check out the router support list online. If your router is not on the list, you have to configure the settings without EZ-Internet wizard.

Next, EZ-Internet will prompt you to configure port forwarding. Please note this action will overwrite the existing port forwarding rules on your router. When you are done, click Next.

Note: If you receive the error message “The maximum number of rules allowed for the router has been exceeded. Please remove some rules and try again,” that means your router has a port forwarding limit. You will have to reduce the applications before continuing.

The EZ-Internet Wizard will then guide you to Firewall and DDNS settings. You can skip these steps if you want and apply the settings above to finish.

2.3 Firewall setup

A firewall is like a safety net between the Internet and your local network. It blocks off unauthorized access while permitting authorized communications. You'll be protected against online threats, such as hackers and unwanted access attempts.

By default, the Enable firewall to block incoming connections checkbox is checked. This means all incoming connections will be blocked. However, you can specify the application you'd like to allow to connect. Find the services/applications you want and check the checkboxes. Note that this will overwrite the current firewall rules that you may have configured before in Main Menu > Control Panel > Firewall. When you are done, click Next to continue with the DDNS section.

2.4 DDNS setup

At this point, your DiskStation will be accessible by entering its IP address in your web browser. However, IP addresses are hard to remember, so we recommend you register a domain name to make accessing your DiskStation easier. For example, registering a domain name will let you access your DiskStation with an easy-to-remember address like www.patrick.synology.me.

With EZ-Internet, you can quickly and easily register for a free DDNS hostname provided by Synology, or use an existing hostname.

2.5 Confirming settings

When finished, you'll be taken to the confirmation page. You can return and modify the settings by clicking Back, or proceed and apply the settings by clicking Apply.

2.6 Connecting to your DiskStation

After EZ-Internet has finished applying settings, you should be able to access your DiskStation over the Internet using its public IP address or DDNS hostname.

Return to top

3. Setting up manually

If you prefer to set up remote access without using EZ-Internet, or you want to adjust the PPPoE/router/Firewall or DDNS settings, please see the sections below:

3.1 For direct connections

If your DiskStation is connected directly to the Internet, it will have a public, fixed IP address. You can directly access the Synology DiskStation using this IP address. After you know the public IP address of you DiskStation, you can register for a free DDNS hostname by going to Main Menu > Control Panel > DDNS. You can also go to Main Menu > Control Panel > Firewall to configure the firewall settings for security.

3.2 For broadband (PPPoE) connections

If your DiskStation is connected to the Internet via PPPoE, this means it is connected to an ADSL modem. Follow the steps below to configure PPPoE settings:

  1. Go to Main Menu > Control Panel > Network > Network Interface > PPPoE.
  2. Click PPPoE Setting, fill in your username and password, and enter the password once again for confirmation. Click OK to save the settings.
  3. Now you can access your Synology DiskStation via the Internet using its public IP address. You can registere for a free DDNS hostname by going to Main Menu > Control Panel > DDNS. You can also go to Main Menu > Control Panel > Firewall to configure the firewall settings for security.

3.3 For router connections

There are two ways to configure your router. You can modify router settings in DiskStation Manager, or you can configure port forwarding on your router directly. Please note, when manually configuring router's port forwarding rules, your Internet connection should use a static IP address.

3.3.1 Configuring your router with DSM

In the section below, we'll look at setting up a router in DiskStation Manager.

Before you start, please check the following:

  • For automatic router configuration, we suggest you use a router included on our router support list.
  • For non-UPnP routers, you might need to obtain the correct username and password of the router.
  • Log out from your router's configuration system.
  • Set the DiskStation so it uses a static IP address. This can be done by going to Control Panel > Network > Network Interface.
  1. Go to Main Menu > Control Panel > Router Configuration.
  2. Click Set up router.
  3. Your DiskStation will search for your router within the local network. If your router is UPnP-enabled and appears on our router support list, you'll see a summary of the router's information, as below. You can click Next and continue to DDNS settings.

    If your router is UPnP-enabled, but does not appear on our router support list, you'll see the following screen.

    Choose one of the following options:
    • Quick: The system will try to automatically configure router settings. If successful, you will be taken to the port forwarding page.
    • Advanced: Choose this option if you want to manually set up connection to the router. You'll be able to choose your router from the Router drop-down menu, customize protocol and port, and enter custom account details if necessary.
    • Note: If you cannot find your router on the list, click Update List to retrieve the latest router model list. You can also check out the router support list online. If your router is not on the list, you have to configure the settings without EZ-Internet wizard.
  4. Now, go back to the Router Configuration page. Click Create to open the Port Forwarding wizard. This wizard will walk you through the steps of creating port forwarding rules.
  5. After you know the public IP of your DiskStation, you can apply a registered DDNS hostname by going to Main Menu > Control Panel >DDNS. You can also go to Main Menu > Control Panel > Firewall to configure the firewall settings for security.

3.3.2 Configuring your router manually

If none of the above methods work, you will need to log into your router's management interface. To do so, please consult the instruction manual provided by your router's manufacturer.

Once you've found the router port forwarding configuration page, please refer to this article for a complete list of port numbers used by Synology products' applications and services. Depending on the application or service you want to access from the Internet, forward the corresponding port number of the router IP to the service port number of the Synology Product IP. For more information on how to set up port forwarding on your router, please refer to http://portforward.com/.

Note: Please make sure the default gateway of your Synology DiskStation is set to the IP of the router. To check out the gateway of your Synology DiskStation, please go to Main Menu > Control Panel > Network > LAN.

After you know the public IP of you DiskStation, you can apply a registered DDNS hostname by going to Main Menu > Control Panel > DDNS. You can also go to Main Menu > Control Panel > Firewall to configure the firewall settings for security.

Return to top

4. Reference: List of ports used by Synology products

For the list of ports which the Synology server can use, please refer to here.

Return to top

Is this information useful for you? Yes No

Need technical support? Submit Support Form