If this document does not correspond to your current software version, you can go to Download Center to find other available document versions.

QNAP

QTS 5.0.x

Download (PDF)

Configuring Reverse Proxy Rule Settings

Reverse proxy settings allow users to configure a control point closer to web resources, enabling efficient and secure data distribution between users and websites.

Note:

You can add up to 64 reverse proxy rules.

  1. Go to Control Panel > Network & File Services > Network Access.
  2. Click the Reverse Proxy tab.
  3. Click Add.

    The Add Reverse Proxy Rule window appears.

  4. Configure the rule settings.

    Setting

    User Action

    Rule name

    Specify a name for the reverse proxy rule.

    Source

    Protocol

    Select a connection protocol from the following:

    • HTTP: Select to establish an unencrypted connection with the website.

    • HTTPS: Select to establish an encrypted connection with the website.

      Select Enable HTTP Strict Transport Security (HSTS) to advertise to clients that the device accepts only HTTPS requests.

    Domain name

    Specify the domain name of the website. Example: www.example.com

    Note:

    You can only specify one domain name for a reverse proxy rule.

    Port number

    Specify a port number for the reverse proxy port for recording the HTTP or HTTPS traffic.

    Access control profile

    Select from the following:

    • Allow all connections

    • Use existing profile: Select from configured access control profile

    • Create a new profile: Select to create a new access control rule.

      1. Specify the access control permission.

      2. Click Add.

        The Add Access Control Rule window appears.

      3. Select the IP address type.

        • Single IP address

        • CIDR: Specify an IP address with the subnet mask. Example: 192.0. 1.0/24

      4. Click Add.

    Destination

    Protocol

    Select the destination protocol.

    • HTTP

    • HTTPS

    • WebSocket

    • WebSocket Secure

    Hostname

    Specify the destination hostname.

    Port number

    Specify the destination port number.

  5. Configure the advanced settings.
    1. Click Edit.
    2. Specify the proxy connection timeout in seconds.
    3. Specify a custom header name containing a custom response to generated server responses.
      Warning:

      You cannot repeat header names.

    4. Specify the custom header macro value to define the custom response.
  6. Click Apply.

Network & File Services saves the reverse proxy settings.