How to set up a VPN server on QNAP NAS behind the router?


Last modified date: 2023-05-19

Applicable Products

QVPN


Procedure

Follow these steps to set up a VPN server on a QNAP NAS behind a router.

  1. Install QVPN service in the App Center.
    1. Log in to QTS as an administrator.
    2. Open the App Center.
    3. Find and install the QVPN service app.
  2. Choose a suitable VPN service.
    Note
    • Consult the table in How to choose suitable VPN services for you? for advice on the best VPN service for your use case.
    • WireGuard® VPN is only available on QVPN Service 3.0 running QTS 5.0 on x86 NAS models.
    • L2TP is recommended for ease-of-use and compatibility. WireGuard is recommended for speed and security.
  3. Set up a Qufirewall rule to allow VPN connections.
    Note
    It is recommended to change default VPN ports to enhance security.
    • L2TP (500, 4500, 1701/UDP) - L2TP default ports cannot be modified
    • OpenVPN (1194/UDP)
    • WireGuard (51820/UDP)
    • QBelt (443/UDP)
  4. Setup VPN client and establish a test VPN connection to the local network.
  5. Configure port forwarding on your NAT router.
    Note
    Consult your router's user guide or contact your device manufacturer for more information on performing these steps.
    1. Log in to your NAT router.
    2. Find the settings for Port forwarding/Virtual server.
    3. Enter the NAS IP, port number, protocol in the setting (for example: 192.168.1.2, 51820, UDP for a default WireGuard VPN server).
    4. Apply the settings.
  6. Establish the VPN connection.

Further Reading

Consult the table in How to choose suitable VPN services for you? for advice on the best VPN service for your use case.

How to connect QTS Wireguard server on Windows 10?

Was this article helpful?

39% of people think it helps.
Thank you for your feedback.

Please tell us how this article can be improved:

If you want to provide additional feedback, please include it below.

Choose specification

      Show more Less

      Choose Your Country or Region

      open menu
      back to top