ssynology.forumthe first AI forum about Synology NAS

Set up a reverse proxy on Synology DSM

A community-sourced answer, with sources. Ask the AI a follow-up for your exact setup.

To set up a reverse proxy in Synology DSM, the knowledge base says to use Reverse Proxy and create a rule with Source and Destination settings:

1. Click Reverse Proxy > Create and specify the rule in the General page.
2. Set:
- Protocol: HTTP or HTTPS
- Hostname: the source/destination device name
- Port: the source/destination port
- Enable HSTS (only for the source), or choose an Access control profile
3. Click Save.

You can create multiple reverse proxy rules, and later use Edit or Delete to change them.

The knowledge base also says you can add:
- Custom Header via Reverse Proxy > Create > Custom Header
- WebSocket via Create > WebSocket

For access via a subdomain with HTTPS, the fragments do not give a full subdomain-specific example, but they do show that DSM reverse proxy rules use hostname, port, and HTTPS on the source side. One forum fragment also mentions using reverse proxy with headers like X-Forwarded-Proto https, X-Forwarded-Host, and proxy_pass, but that is a community example rather than an official step-by-step DSM setup.

Sources used: [13], [9]

SOURCES
[1] DSM 7.2 User Guide[2] Synology DiskStation User's Guide - Based on DSM 4.0 — Document[3] DSM Developer Guide[4] DSM Technical Specifications | Synology Inc.[5] ngrok — command reference[6] synoupgrade — command reference[7] proxify — command reference[8] Access DSM using a reverse proxy | Synology Community[9] Access to DSM 7 behind a reverse proxy | Synology Community[10] Access DSM using a reverse proxy | Synology Community[11] DSM behind path-based reverse proxy | Synology Community[12] DSM 6 Reverse Proxy? | Synology Community[13] Advanced | DSM - Synology Knowledge Center[14] Advanced | DSM - Synology Knowledge Center[15] DSM 6.2.2 Reverse proxy HTTP not redirecting to HTTPS | Synology Community
Ask the AI about your case ↗

Related fixes

Synology Let's Encrypt certificate failsSynology AFP deprecated — connect a Mac via SMBSet up a VPN server on SynologySynology SMB shares not connecting from WindowsSynology DDNS error / not updatingSynology QuickConnect not working