<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reverse Proxy Lab: Reverse Proxies and TLS for Home Servers</title><description>Plain guides to reverse proxies and TLS for home servers, built from published official documentation.</description><link>https://reverseproxylab.com/</link><language>en</language><atom:link href="https://reverseproxylab.com/rss.xml" rel="self" type="application/rss+xml"/><item><title>Nginx Proxy Manager WebSocket and Reverse Proxy Fixes</title><link>https://reverseproxylab.com/posts/nginx-proxy-manager-websocket-reverse-proxy-troubleshooting-guide/</link><guid isPermaLink="true">https://reverseproxylab.com/posts/nginx-proxy-manager-websocket-reverse-proxy-troubleshooting-guide/</guid><description>Fix WebSocket failures behind Nginx Proxy Manager. Verify the HTTP upgrade in Chrome, trace a 502 to the upstream, and diagnose idle disconnects.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Enable &lt;strong&gt;Websockets Support&lt;/strong&gt; on the Nginx Proxy Manager host and check the app’s WebSocket request in Chrome DevTools. For an HTTP/1.1 upgrade, look for &lt;code&gt;101 Switching Protocols&lt;/code&gt;. If the request returns a 502, check the upstream destination and the host’s error log. If it opens and drops while idle, check the proxy read timeout. &lt;a href=&quot;https://developer.chrome.com/docs/devtools/network/reference&quot;&gt;Chrome DevTools&lt;/a&gt; · &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/backend/templates/proxy_host.conf&quot;&gt;Nginx Proxy Manager host template&lt;/a&gt; · &lt;a href=&quot;https://nginx.org/en/docs/http/websocket.html&quot;&gt;NGINX WebSocket proxying&lt;/a&gt; · &lt;a href=&quot;https://www.rfc-editor.org/rfc/rfc9110.html#name-502-bad-gateway&quot;&gt;HTTP 502 definition&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Enable Websockets Support for the proxy host&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;In &lt;strong&gt;Proxy Hosts&lt;/strong&gt;, edit the entry for the app’s hostname. Open &lt;strong&gt;Details&lt;/strong&gt;. &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/frontend/src/modals/ProxyHostModal.tsx&quot;&gt;Proxy host editor&lt;/a&gt; · &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/frontend/src/locale/src/en.json&quot;&gt;Interface labels&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Check &lt;strong&gt;Scheme&lt;/strong&gt;, &lt;strong&gt;Forward Hostname / IP&lt;/strong&gt; and &lt;strong&gt;Forward Port&lt;/strong&gt; against the app’s listener. &lt;strong&gt;Scheme&lt;/strong&gt; describes the connection from Nginx Proxy Manager to the app. Select &lt;code&gt;http&lt;/code&gt; for an HTTP listener or &lt;code&gt;https&lt;/code&gt; for an HTTPS listener. &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/frontend/src/modals/ProxyHostModal.tsx&quot;&gt;Proxy host editor&lt;/a&gt; · &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/docker/rootfs/etc/nginx/conf.d/include/proxy.conf&quot;&gt;Default forwarding configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;Options&lt;/strong&gt;, turn on &lt;strong&gt;Websockets Support&lt;/strong&gt; and click &lt;strong&gt;Save&lt;/strong&gt;. In v2.17.1, the toggle adds forwarding for &lt;code&gt;Upgrade&lt;/code&gt; and &lt;code&gt;Connection&lt;/code&gt; and sets the upstream proxy HTTP version to 1.1 in the generated default and custom locations. &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/frontend/src/modals/ProxyHostModal.tsx&quot;&gt;Proxy host editor&lt;/a&gt; · &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/backend/templates/proxy_host.conf&quot;&gt;Proxy host template&lt;/a&gt; · &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/backend/templates/_location.conf&quot;&gt;Custom location template&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Verify the WebSocket request in Chrome&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Open Chrome DevTools and select &lt;strong&gt;Network&lt;/strong&gt;. Reload the app or repeat the action that opens the socket. Select the &lt;strong&gt;WS&lt;/strong&gt; filter. &lt;a href=&quot;https://developer.chrome.com/docs/devtools/network/reference&quot;&gt;Chrome DevTools Network reference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Select the WebSocket request and note its URL. In &lt;strong&gt;Headers&lt;/strong&gt; → &lt;strong&gt;General&lt;/strong&gt;, record its status. For the HTTP/1.1 handshake, look for &lt;code&gt;101 Switching Protocols&lt;/code&gt;. &lt;a href=&quot;https://developer.chrome.com/docs/devtools/network/reference&quot;&gt;Chrome DevTools Network reference&lt;/a&gt; · &lt;a href=&quot;https://www.rfc-editor.org/rfc/rfc6455.html#section-4&quot;&gt;WebSocket opening handshake&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Open &lt;strong&gt;Messages&lt;/strong&gt;, then use the feature that needs the socket. Check for the expected messages from the app. If it disconnects, the &lt;strong&gt;Time&lt;/strong&gt; column can help you identify the last message received. &lt;a href=&quot;https://developer.chrome.com/docs/devtools/network/reference&quot;&gt;Chrome DevTools Network reference&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What you see&lt;/th&gt;
&lt;th&gt;What to check next&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;The socket request returns &lt;code&gt;404&lt;/code&gt;.&lt;/td&gt;
&lt;td&gt;The HTTP/1.1 upgrade did not complete. Compare the path with the app’s WebSocket endpoint. Under &lt;strong&gt;Request Headers&lt;/strong&gt;, check that &lt;code&gt;Upgrade&lt;/code&gt; includes &lt;code&gt;websocket&lt;/code&gt; and &lt;code&gt;Connection&lt;/code&gt; includes the &lt;code&gt;Upgrade&lt;/code&gt; token. &lt;a href=&quot;https://developer.chrome.com/docs/devtools/network/reference&quot;&gt;Chrome DevTools Network reference&lt;/a&gt; · &lt;a href=&quot;https://www.rfc-editor.org/rfc/rfc6455.html#section-4&quot;&gt;WebSocket opening handshake&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The request returns &lt;code&gt;502 Bad Gateway&lt;/code&gt;.&lt;/td&gt;
&lt;td&gt;Read the error log for that proxy host and confirm the upstream scheme, host and port. &lt;a href=&quot;https://www.rfc-editor.org/rfc/rfc9110.html#name-502-bad-gateway&quot;&gt;HTTP 502 definition&lt;/a&gt; · &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/backend/templates/proxy_host.conf&quot;&gt;Proxy host template&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The request returns &lt;code&gt;101&lt;/code&gt;, messages arrive, and the socket drops after a quiet period.&lt;/td&gt;
&lt;td&gt;Compare the interval with the proxy read timeout. &lt;a href=&quot;https://nginx.org/en/docs/http/websocket.html&quot;&gt;NGINX WebSocket proxying&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;For example, if the app requests &lt;code&gt;wss://app.example.com/ws&lt;/code&gt;, compare &lt;code&gt;/ws&lt;/code&gt; with the endpoint the backend serves. The default proxy location forwards the request URI. If a &lt;strong&gt;Custom Locations&lt;/strong&gt; entry matches the path, inspect that entry’s own forward target and any path in it. &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/docker/rootfs/etc/nginx/conf.d/include/proxy.conf&quot;&gt;Default forwarding configuration&lt;/a&gt; · &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/backend/templates/_location.conf&quot;&gt;Custom location template&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Trace a 502 to the upstream&lt;/h2&gt;
&lt;p&gt;Reproduce the failure and note the time and request path. With the official Compose layout, run this from the Nginx Proxy Manager Compose directory. Substitute your Compose service name if it differs from &lt;code&gt;app&lt;/code&gt;. This prints the NGINX configuration, so inspect the output locally. &lt;a href=&quot;https://nginxproxymanager.com/setup/&quot;&gt;Nginx Proxy Manager setup instructions&lt;/a&gt; · &lt;a href=&quot;https://docs.docker.com/reference/cli/docker/compose/exec/&quot;&gt;Docker Compose exec&lt;/a&gt; · &lt;a href=&quot;https://nginx.org/en/docs/switches.html&quot;&gt;NGINX command-line parameters&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;docker compose exec app nginx -T
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Find the server block for the app’s hostname and read its &lt;code&gt;error_log&lt;/code&gt; path. It has the form &lt;code&gt;/data/logs/proxy-host-ID_error.log&lt;/code&gt;, where &lt;code&gt;ID&lt;/code&gt; is the host’s numeric ID. With the official &lt;code&gt;./data:/data&lt;/code&gt; mount, open the corresponding file in &lt;code&gt;./data/logs/&lt;/code&gt;. Look for an entry around the time of the failure. &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/backend/templates/proxy_host.conf&quot;&gt;Proxy host template&lt;/a&gt; · &lt;a href=&quot;https://nginxproxymanager.com/setup/&quot;&gt;Nginx Proxy Manager setup instructions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If there is no matching error entry, look up the same time and path in &lt;code&gt;proxy-host-ID_access.log&lt;/code&gt;. The proxy access log includes the HTTP status and a &lt;code&gt;Sent-to&lt;/code&gt; field. &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/backend/templates/proxy_host.conf&quot;&gt;Proxy host template&lt;/a&gt; · &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/docker/rootfs/etc/nginx/conf.d/include/log-proxy.conf&quot;&gt;Proxy access log format&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If the target is another Docker service on the same host, check that both containers are attached to the intended shared network. Replace &lt;code&gt;scoobydoo&lt;/code&gt; with your network name and look for both containers in the output. &lt;a href=&quot;https://nginxproxymanager.com/advanced-config/&quot;&gt;Nginx Proxy Manager Docker network example&lt;/a&gt; · &lt;a href=&quot;https://docs.docker.com/engine/network/drivers/bridge/&quot;&gt;Docker bridge network inspection&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;docker network inspect scoobydoo
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If either container is missing, use the same shared external network in both Compose configurations. For traffic between the two services, use the service name and container port. The Nginx Proxy Manager documentation uses &lt;code&gt;portainer&lt;/code&gt; and &lt;code&gt;9000&lt;/code&gt; as its example. Once the upstream fields match the app’s listener, reproduce the WebSocket request in Chrome again. &lt;a href=&quot;https://nginxproxymanager.com/advanced-config/&quot;&gt;Nginx Proxy Manager Docker network example&lt;/a&gt; · &lt;a href=&quot;https://docs.docker.com/compose/how-tos/networking/&quot;&gt;Docker Compose networking&lt;/a&gt; · &lt;a href=&quot;https://developer.chrome.com/docs/devtools/network/reference&quot;&gt;Chrome DevTools Network reference&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Fix disconnects after a successful upgrade&lt;/h2&gt;
&lt;p&gt;Nginx Proxy Manager v2.17.1 ships with &lt;code&gt;proxy_read_timeout 90s;&lt;/code&gt; in its base NGINX configuration. The timeout measures the gap between reads from the backend. Use the configuration output above to check for a different value on your host or location. &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/docker/rootfs/etc/nginx/nginx.conf&quot;&gt;Base NGINX configuration&lt;/a&gt; · &lt;a href=&quot;https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout&quot;&gt;NGINX proxy read timeout&lt;/a&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If the app supports server-side WebSocket pings, configure it to send them before the read timeout expires. NGINX documents that periodic pings from the backend reset this timer. &lt;a href=&quot;https://nginx.org/en/docs/http/websocket.html&quot;&gt;NGINX WebSocket proxying&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;To allow a longer idle interval at the proxy, edit the host as an administrator and open the &lt;strong&gt;Settings&lt;/strong&gt; gear. In &lt;strong&gt;Custom Nginx Configuration&lt;/strong&gt;, add or edit &lt;code&gt;proxy_read_timeout time;&lt;/code&gt;. Replace &lt;code&gt;time&lt;/code&gt; with the intended idle limit, then click &lt;strong&gt;Save&lt;/strong&gt;. Check for a location-level timeout on the socket’s path if you use a custom location. &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/frontend/src/modals/ProxyHostModal.tsx&quot;&gt;Proxy host editor&lt;/a&gt; · &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/frontend/src/locale/src/en.json&quot;&gt;Interface labels&lt;/a&gt; · &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/backend/templates/proxy_host.conf&quot;&gt;Proxy host template&lt;/a&gt; · &lt;a href=&quot;https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout&quot;&gt;NGINX proxy read timeout&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Reopen the app, confirm &lt;code&gt;101&lt;/code&gt; for the new HTTP/1.1 WebSocket request, and leave it idle past the point where it previously dropped. Use the feature again and check &lt;strong&gt;Messages&lt;/strong&gt; for the expected reply on that same connection. &lt;a href=&quot;https://developer.chrome.com/docs/devtools/network/reference&quot;&gt;Chrome DevTools Network reference&lt;/a&gt; · &lt;a href=&quot;https://nginx.org/en/docs/http/websocket.html&quot;&gt;NGINX WebSocket proxying&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;em&gt;Evidence and limits.&lt;/em&gt; The interface and configuration were checked against Nginx Proxy Manager v2.17.1 and the linked official documentation on November 26, 2026. The steps were not run on a test system.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/posts/&quot;&gt;Browse Reverse Proxy Lab posts&lt;/a&gt;&lt;/p&gt;
</content:encoded><category>nginx-proxy-manager</category><category>websocket</category><category>reverse-proxy</category><category>docker</category><author>Reverse Proxy Lab Editorial</author></item><item><title>Pangolin Self-Hosted Tunnel Setup Behind CGNAT</title><link>https://reverseproxylab.com/posts/pangolin-self-hosted-tunnel-setup-guide-behind-cgnat/</link><guid isPermaLink="true">https://reverseproxylab.com/posts/pangolin-self-hosted-tunnel-setup-guide-behind-cgnat/</guid><description>Set up Pangolin Community Edition on a VPS, connect your home network behind CGNAT, and publish a web app over HTTPS without port forwarding.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Run Pangolin Community Edition on a public Linux VPS and put the site connector on your home network. The connector opens an outbound WireGuard tunnel, so the setup works behind carrier-grade NAT (CGNAT) without port forwarding on your home router. Visitors reach the VPS over HTTPS, and Pangolin proxies their requests through the tunnel to your app after sign-in. &lt;a href=&quot;https://pangolin.net/homelab&quot;&gt;Pangolin for home labs&lt;/a&gt; · &lt;a href=&quot;https://docs.pangolin.net/manage/resources/public/http-https&quot;&gt;HTTP / HTTPS public resources&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Point DNS at the VPS and open its firewall&lt;/h2&gt;
&lt;p&gt;Start with a Linux VPS with a public IPv4 address and root access, a domain whose DNS you control, and an email address for Let&apos;s Encrypt and the admin login. Have a web app running at an address and port the home connector can reach. &lt;a href=&quot;https://docs.pangolin.net/self-host/quick-install&quot;&gt;Quick Install Guide&lt;/a&gt; · &lt;a href=&quot;https://pangolin.net/news/mtls-client-certificate-authentication#1-create-a-site-and-a-resource&quot;&gt;HTTPS resource walkthrough&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For this example, replace &lt;code&gt;example.com&lt;/code&gt; with your domain. In that DNS zone, add an &lt;strong&gt;A&lt;/strong&gt; record named &lt;code&gt;*&lt;/code&gt; pointing to the VPS&apos;s public IPv4 address. The wildcard covers both example subdomains, &lt;code&gt;pangolin.example.com&lt;/code&gt; for the dashboard and &lt;code&gt;app.example.com&lt;/code&gt; for the app. &lt;a href=&quot;https://docs.pangolin.net/self-host/dns-and-networking#basic-dns-records&quot;&gt;DNS &amp;amp; Networking&lt;/a&gt; · &lt;a href=&quot;https://docs.pangolin.net/self-host/quick-install#installation-process&quot;&gt;Quick Install Guide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Allow the following inbound traffic on the &lt;strong&gt;VPS firewall&lt;/strong&gt;, including the cloud provider&apos;s firewall if you use one. &lt;a href=&quot;https://docs.pangolin.net/self-host/dns-and-networking#port-configuration&quot;&gt;DNS &amp;amp; Networking&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Port&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;TCP 80&lt;/td&gt;
&lt;td&gt;Let&apos;s Encrypt domain validation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;TCP 443&lt;/td&gt;
&lt;td&gt;HTTPS for the dashboard and app&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;UDP 51820&lt;/td&gt;
&lt;td&gt;Default port for site tunnels&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;UDP 21820&lt;/td&gt;
&lt;td&gt;Default relay port for Pangolin clients. Allow it if you use those clients.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Install Pangolin on the VPS&lt;/h2&gt;
&lt;p&gt;Connect to the VPS over SSH. Run the vendor&apos;s installer commands from the directory where you want Pangolin&apos;s files stored. &lt;a href=&quot;https://docs.pangolin.net/self-host/quick-install#installation-process&quot;&gt;Quick Install Guide&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;curl -fsSL https://static.pangolin.net/get-installer.sh | bash
sudo ./installer
&lt;/code&gt;&lt;/pre&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Installer setting&lt;/th&gt;
&lt;th&gt;What to enter&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Edition&lt;/td&gt;
&lt;td&gt;Community Edition&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Base domain&lt;/td&gt;
&lt;td&gt;&lt;code&gt;example.com&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dashboard domain&lt;/td&gt;
&lt;td&gt;Accept &lt;code&gt;pangolin.example.com&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Let&apos;s Encrypt email&lt;/td&gt;
&lt;td&gt;Your email address&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tunneling&lt;/td&gt;
&lt;td&gt;Yes, to install Gerbil&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SMTP&lt;/td&gt;
&lt;td&gt;Skip for the initial setup&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Container startup&lt;/td&gt;
&lt;td&gt;Confirm installation and start the containers&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Open &lt;code&gt;https://pangolin.example.com/auth/initial-setup&lt;/code&gt; using your dashboard hostname. Enter the setup token printed by the installer, supply your admin email, and set a strong, unique password. If you need to retrieve the token, run the command below from the install directory. After signing in, enter an organization name and description and click &lt;strong&gt;Create Organization&lt;/strong&gt;. &lt;a href=&quot;https://docs.pangolin.net/self-host/quick-install#post-installation-setup&quot;&gt;Quick Install Guide&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;sudo docker compose logs pangolin
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Connect the home site&lt;/h2&gt;
&lt;p&gt;In the organization dashboard, open &lt;strong&gt;Sites&lt;/strong&gt; and click &lt;strong&gt;Add Site&lt;/strong&gt;. Name it &lt;code&gt;Home lab&lt;/code&gt; and copy the generated site ID and secret. Use your dashboard URL as the endpoint and store the site secret securely. &lt;a href=&quot;https://pangolin.net/news/mtls-client-certificate-authentication#1-create-a-site-and-a-resource&quot;&gt;HTTPS resource walkthrough&lt;/a&gt; · &lt;a href=&quot;https://docs.pangolin.net/manage/sites/credentials&quot;&gt;Site Credentials&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On the &lt;strong&gt;Linux machine at home&lt;/strong&gt; that can reach the app, install the Pangolin CLI. Substitute your site values in the service command. The service keeps the connector running on the home machine. &lt;a href=&quot;https://docs.pangolin.net/manage/sites/install-site#binary-installation-linux-macos-windows&quot;&gt;Install Sites&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;curl -fsSL https://static.pangolin.net/get-cli.sh | bash

sudo pangolin service install site \
  --id &apos;YOUR_SITE_ID&apos; \
  --secret &apos;YOUR_SITE_SECRET&apos; \
  --endpoint &apos;https://pangolin.example.com&apos;

sudo pangolin service status site
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Check the site in the dashboard. It should show as connected once the connector is up. &lt;a href=&quot;https://pangolin.net/news/mtls-client-certificate-authentication#1-create-a-site-and-a-resource&quot;&gt;HTTPS resource walkthrough&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Publish one web app over HTTPS&lt;/h2&gt;
&lt;p&gt;In &lt;strong&gt;Public Resources&lt;/strong&gt;, click &lt;strong&gt;Add Resource&lt;/strong&gt; and choose &lt;strong&gt;HTTPS&lt;/strong&gt;. Name it &lt;code&gt;Home app&lt;/code&gt;, select &lt;code&gt;example.com&lt;/code&gt;, and use &lt;code&gt;app&lt;/code&gt; as the subdomain. Add a target using the settings below for an app that serves HTTP on the connector machine at port &lt;code&gt;8000&lt;/code&gt;. &lt;a href=&quot;https://pangolin.net/news/mtls-client-certificate-authentication#1-create-a-site-and-a-resource&quot;&gt;HTTPS resource walkthrough&lt;/a&gt; · &lt;a href=&quot;https://docs.pangolin.net/manage/common-api-routes#create-public-http-resource&quot;&gt;Resource and target fields&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Target setting&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Site&lt;/td&gt;
&lt;td&gt;&lt;code&gt;Home lab&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Address&lt;/td&gt;
&lt;td&gt;&lt;code&gt;localhost&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Port&lt;/td&gt;
&lt;td&gt;&lt;code&gt;8000&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Method&lt;/td&gt;
&lt;td&gt;&lt;code&gt;http&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;For an app on a separate home machine, use its address, port, and protocol as seen from the connector. The browser uses &lt;code&gt;https://app.example.com&lt;/code&gt;, and Pangolin makes the backend request using the target method. &lt;a href=&quot;https://docs.pangolin.net/manage/resources/public/http-https&quot;&gt;HTTP / HTTPS public resources&lt;/a&gt; · &lt;a href=&quot;https://docs.pangolin.net/manage/common-api-routes#add-targets-to-the-resource&quot;&gt;Resource and target fields&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the resource&apos;s &lt;strong&gt;Authentication&lt;/strong&gt; tab, leave &lt;strong&gt;Platform SSO&lt;/strong&gt; enabled. Assign access to the intended users. &lt;a href=&quot;https://docs.pangolin.net/manage/resources/public/authentication&quot;&gt;Authentication&lt;/a&gt; · &lt;a href=&quot;https://pangolin.net/news/mtls-client-certificate-authentication#3-enable-client-certificate-mtls-on-the-resource&quot;&gt;Authentication tab walkthrough&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Verify the app from outside your home network&lt;/h2&gt;
&lt;p&gt;Open the app&apos;s HTTPS URL in a private browser window. With the default authentication settings, you should first see the Pangolin login page. Sign in with an account that has access and confirm the app loads. &lt;a href=&quot;https://pangolin.net/news/mtls-client-certificate-authentication#1-create-a-site-and-a-resource&quot;&gt;HTTPS resource walkthrough&lt;/a&gt; · &lt;a href=&quot;https://docs.pangolin.net/manage/resources/public/authentication#user-login&quot;&gt;Authentication&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Where it fails&lt;/th&gt;
&lt;th&gt;What to check&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Dashboard setup page fails to load&lt;/td&gt;
&lt;td&gt;Check that the DNS record for the hostname points to the VPS and that TCP 80 and 443 are reachable. &lt;a href=&quot;https://docs.pangolin.net/self-host/manual/docker-compose#if-something-fails&quot;&gt;Docker Compose troubleshooting&lt;/a&gt; · &lt;a href=&quot;https://docs.pangolin.net/self-host/dns-and-networking&quot;&gt;DNS &amp;amp; Networking&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Home site stays disconnected&lt;/td&gt;
&lt;td&gt;Check the dashboard endpoint, site ID, and secret. Read &lt;code&gt;sudo pangolin service logs site&lt;/code&gt; on the home machine. On the VPS, check UDP 51820 and inspect &lt;code&gt;sudo docker compose logs -f gerbil&lt;/code&gt; from the install directory. &lt;a href=&quot;https://docs.pangolin.net/manage/sites/credentials&quot;&gt;Site Credentials&lt;/a&gt; · &lt;a href=&quot;https://docs.pangolin.net/manage/sites/install-site#run-as-a-service&quot;&gt;Install Sites&lt;/a&gt; · &lt;a href=&quot;https://docs.pangolin.net/self-host/manual/docker-compose#if-something-fails&quot;&gt;Docker Compose troubleshooting&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pangolin denies access after sign-in&lt;/td&gt;
&lt;td&gt;Check that the resource grants access to the account. &lt;a href=&quot;https://docs.pangolin.net/manage/resources/public/authentication#user-login&quot;&gt;Authentication&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pangolin allows access but the app fails to load&lt;/td&gt;
&lt;td&gt;Verify the target site, address, port, and method. Check that the connector can reach the app at that address and port. &lt;a href=&quot;https://docs.pangolin.net/manage/common-api-routes#add-targets-to-the-resource&quot;&gt;Resource and target fields&lt;/a&gt; · &lt;a href=&quot;https://pangolin.net/news/mtls-client-certificate-authentication#1-create-a-site-and-a-resource&quot;&gt;HTTPS resource walkthrough&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; This guide follows Pangolin&apos;s Community Edition Quick Install, Install Sites, and public resource documentation checked on November 26, 2026, when &lt;a href=&quot;https://github.com/fosrl/pangolin/releases/tag/1.27.1&quot;&gt;Pangolin 1.27.1&lt;/a&gt; was marked latest. The setup steps were not run for this guide.&lt;/p&gt;
</content:encoded><category>pangolin</category><category>cgnat</category><category>reverse-proxy</category><category>self-hosting</category><author>Reverse Proxy Lab Editorial</author></item><item><title>Split-Horizon Local DNS With a Home Reverse Proxy</title><link>https://reverseproxylab.com/posts/split-horizon-local-dns-home-reverse-proxy/</link><guid isPermaLink="true">https://reverseproxylab.com/posts/split-horizon-local-dns-home-reverse-proxy/</guid><description>Use pfSense and Caddy to keep one HTTPS hostname at home and away. Set the LAN DNS override and use dig and curl to check both paths.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Point your local DNS override at your reverse proxy’s LAN IP and keep the public DNS record pointed at your WAN IP. With split-horizon DNS, clients on Caddy’s LAN that use the override reach Caddy directly via the HTTPS hostname. Outside clients using public DNS reach Caddy at the same hostname through your existing port forward. &lt;a href=&quot;https://docs.netgate.com/pfsense/en/latest/recipes/port-forwards-from-local-networks.html&quot;&gt;Netgate split DNS recipe&lt;/a&gt; · &lt;a href=&quot;https://caddyserver.com/docs/quick-starts/reverse-proxy&quot;&gt;Caddy reverse proxy guide&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Plan the LAN and public answers&lt;/h2&gt;
&lt;p&gt;This IPv4-only example assumes a running Caddy instance, an active pfSense DNS Resolver, and an existing public A record and WAN port forward to Caddy. Substitute your own hostname and addresses for these example values. &lt;a href=&quot;https://docs.netgate.com/pfsense/en/latest/recipes/port-forwards-from-local-networks.html&quot;&gt;Netgate split DNS recipe&lt;/a&gt; · &lt;a href=&quot;https://caddyserver.com/docs/automatic-https&quot;&gt;Caddy HTTPS requirements&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Item&lt;/th&gt;
&lt;th&gt;Example value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;HTTPS URL on either network&lt;/td&gt;
&lt;td&gt;&lt;code&gt;https://app.example.com&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LAN A answer for &lt;code&gt;app.example.com&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;192.168.1.5&lt;/code&gt;, the Caddy host&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Public A answer for &lt;code&gt;app.example.com&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Your existing WAN IPv4 address&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;pfSense LAN DNS resolver&lt;/td&gt;
&lt;td&gt;&lt;code&gt;192.168.1.1&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HTTP backend on the Caddy host&lt;/td&gt;
&lt;td&gt;&lt;code&gt;127.0.0.1:9000&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;With the client and Caddy on the same LAN, the connection avoids the WAN port forward and needs no NAT reflection. Use the same HTTPS port on both paths. This example uses &lt;code&gt;443&lt;/code&gt;. &lt;a href=&quot;https://docs.netgate.com/pfsense/en/latest/nat/reflection.html&quot;&gt;Netgate split DNS and port requirements&lt;/a&gt; · &lt;a href=&quot;https://caddyserver.com/docs/automatic-https&quot;&gt;Caddy Automatic HTTPS&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Use the public hostname in Caddy&lt;/h2&gt;
&lt;p&gt;Configure Caddy to serve &lt;code&gt;app.example.com&lt;/code&gt; and send requests to the local HTTP app. Add this site block to your active Caddyfile, or edit the existing block for that name. &lt;a href=&quot;https://caddyserver.com/docs/quick-starts/reverse-proxy&quot;&gt;Caddy reverse proxy guide&lt;/a&gt; · &lt;a href=&quot;https://caddyserver.com/docs/caddyfile/directives/reverse_proxy&quot;&gt;Caddy upstream address syntax&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-text&quot;&gt;app.example.com {
    reverse_proxy 127.0.0.1:9000
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If the running instance’s admin endpoint is enabled at its default address, reload from the directory containing the active &lt;code&gt;Caddyfile&lt;/code&gt;. If Caddy cannot provision the new configuration, it keeps the active one running. &lt;a href=&quot;https://caddyserver.com/docs/command-line&quot;&gt;Caddy command-line reference&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;caddy reload --config Caddyfile
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Caddy’s standard public HTTPS setup assumes public DNS points at the server’s public entry point, ports &lt;code&gt;80&lt;/code&gt; and &lt;code&gt;443&lt;/code&gt; are reachable from outside and routed to Caddy, and Caddy’s data directory is writable and persistent. With those prerequisites met, Caddy’s automatic HTTPS serves qualifying hostnames over HTTPS and renews their managed certificates. &lt;a href=&quot;https://caddyserver.com/docs/automatic-https&quot;&gt;Caddy Automatic HTTPS&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Add the pfSense DNS override&lt;/h2&gt;
&lt;p&gt;In pfSense, go to &lt;strong&gt;Services &amp;gt; DNS Resolver&lt;/strong&gt; and open &lt;strong&gt;Host Override Options&lt;/strong&gt; under &lt;strong&gt;Host Overrides&lt;/strong&gt;. Enter the following values, click &lt;strong&gt;Save&lt;/strong&gt;, then click &lt;strong&gt;Apply Changes&lt;/strong&gt;. &lt;a href=&quot;https://docs.netgate.com/pfsense/en/latest/nat/reflection.html&quot;&gt;Netgate split DNS setup&lt;/a&gt; · &lt;a href=&quot;https://docs.netgate.com/pfsense/en/latest/services/dns/resolver-host-overrides.html&quot;&gt;Netgate host override fields&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Host&lt;/td&gt;
&lt;td&gt;&lt;code&gt;app&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Domain&lt;/td&gt;
&lt;td&gt;&lt;code&gt;example.com&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;IP Address&lt;/td&gt;
&lt;td&gt;&lt;code&gt;192.168.1.5&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;If pfSense also provides LAN DHCPv4, open &lt;strong&gt;Services &amp;gt; DHCP Server&lt;/strong&gt;, select the LAN interface, and check &lt;strong&gt;DNS Servers&lt;/strong&gt;. With those fields blank, pfSense supplies itself when it is handling DNS through its built-in resolver. If you use custom DHCP DNS settings, enter the pfSense LAN address in &lt;strong&gt;DNS Servers&lt;/strong&gt;. For a client with manual DNS settings, use that same address. &lt;a href=&quot;https://docs.netgate.com/pfsense/en/latest/services/dhcp/ipv4.html&quot;&gt;Netgate DHCPv4 server options&lt;/a&gt; · &lt;a href=&quot;https://docs.netgate.com/pfsense/en/latest/recipes/port-forwards-from-local-networks.html&quot;&gt;Netgate split DNS recipe&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Verify DNS and HTTPS from both networks&lt;/h2&gt;
&lt;p&gt;On the LAN, query pfSense directly, then run a lookup without specifying a server. The first should return &lt;code&gt;192.168.1.5&lt;/code&gt;, and so should the second if the client uses pfSense for DNS. From a device outside your home network that uses public DNS, run the second command again and expect your WAN IPv4 address. &lt;a href=&quot;https://bind9.readthedocs.io/en/v9.20.18/manpages.html#dig-dns-lookup-utility&quot;&gt;ISC dig manual&lt;/a&gt; · &lt;a href=&quot;https://docs.netgate.com/pfsense/en/latest/recipes/port-forwards-from-local-networks.html&quot;&gt;Netgate split DNS recipe&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;dig @192.168.1.1 app.example.com A +short
dig app.example.com A +short
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Run the HTTPS request from both networks. Use curl’s verbose output to troubleshoot the request, and check that the response is from your app. &lt;a href=&quot;https://curl.se/docs/manpage.html&quot;&gt;curl command-line manual&lt;/a&gt; · &lt;a href=&quot;https://docs.netgate.com/pfsense/en/latest/recipes/port-forwards-from-local-networks.html&quot;&gt;Netgate split DNS recipe&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;curl -v https://app.example.com
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If HTTPS fails on the LAN, make a direct request to Caddy’s LAN address. The &lt;code&gt;--noproxy app.example.com&lt;/code&gt; option bypasses any configured proxy for this hostname. The &lt;code&gt;--resolve&lt;/code&gt; option supplies the address for that hostname and port. Curl verifies the certificate against &lt;code&gt;app.example.com&lt;/code&gt; by default. &lt;a href=&quot;https://curl.se/docs/manpage.html&quot;&gt;curl command-line manual&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;curl -v --noproxy app.example.com --resolve app.example.com:443:192.168.1.5 https://app.example.com
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If the forced request serves your app and the ordinary LAN &lt;code&gt;dig&lt;/code&gt; lookup returns the wrong address, start with the client’s DNS settings. If curl reports a certificate error, check that the certificate matches the hostname and that the signing CA is trusted by curl. If TLS succeeds but the app fails to load, check the backend from the Caddy host. &lt;a href=&quot;https://curl.se/docs/manpage.html&quot;&gt;curl command-line manual&lt;/a&gt; · &lt;a href=&quot;https://caddyserver.com/docs/quick-starts/reverse-proxy&quot;&gt;Caddy reverse proxy guide&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;curl -v http://127.0.0.1:9000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; The examples follow the pfSense latest documentation, Caddy 2 documentation, BIND 9.20.18 manual, and curl manual, checked November 26, 2026. The commands were not run for this article.&lt;/p&gt;
</content:encoded><category>split-dns</category><category>reverse-proxy</category><category>pfsense</category><category>caddy</category><author>Reverse Proxy Lab Editorial</author></item><item><title>Homelab: Traefik vs Caddy vs Nginx Proxy Manager vs Pangolin</title><link>https://reverseproxylab.com/posts/traefik-caddy-nginx-proxy-manager-pangolin-homelabs/</link><guid isPermaLink="true">https://reverseproxylab.com/posts/traefik-caddy-nginx-proxy-manager-pangolin-homelabs/</guid><description>Compare Traefik, Caddy, Nginx Proxy Manager, and Pangolin for your homelab. See how each handles app routing, HTTPS, and remote access.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Choose Traefik if you want routes defined alongside your Docker services. Choose Caddy if you want a Caddyfile with automatic HTTPS. Choose Nginx Proxy Manager if you want to add and edit hosts in a browser. Choose Pangolin if remote users need to reach apps through an outbound tunnel from your homelab.&lt;/p&gt;
&lt;h2&gt;Where traffic enters your homelab&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Your setup&lt;/th&gt;
&lt;th&gt;Pick&lt;/th&gt;
&lt;th&gt;What you configure&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Your Docker services change often&lt;/td&gt;
&lt;td&gt;Traefik&lt;/td&gt;
&lt;td&gt;Hostname, backend port and TLS resolver in Docker labels&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;You want a small text config&lt;/td&gt;
&lt;td&gt;Caddy&lt;/td&gt;
&lt;td&gt;Site address and &lt;code&gt;reverse_proxy&lt;/code&gt; destination in a Caddyfile&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;You prefer a web interface&lt;/td&gt;
&lt;td&gt;Nginx Proxy Manager&lt;/td&gt;
&lt;td&gt;Incoming hostname, upstream address and certificate in the admin UI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;You need remote access without forwarding ports at home&lt;/td&gt;
&lt;td&gt;Pangolin&lt;/td&gt;
&lt;td&gt;Site connector, resource hostname, backend target and user access&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;For a direct public setup, point the app hostname at the public address that leads to your proxy. If the proxy sits behind your home router, the Nginx Proxy Manager guide forwards TCP 80 and 443 to the proxy host. &lt;a href=&quot;https://nginxproxymanager.com/guide/&quot;&gt;Nginx Proxy Manager guide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;With self-hosted Pangolin, point DNS at the public server, such as a VPS. The site connector at home establishes the tunnel outbound. For the documented setup, allow TCP 80 and 443 and UDP 51820 on the VPS. UDP 21820 is the default relay port for Pangolin clients. &lt;a href=&quot;https://docs.pangolin.net/self-host/quick-install&quot;&gt;Pangolin Community Edition quick install&lt;/a&gt;, &lt;a href=&quot;https://docs.pangolin.net/self-host/dns-and-networking&quot;&gt;Pangolin DNS and networking&lt;/a&gt;, &lt;a href=&quot;https://docs.pangolin.net/manage/resources/public/http-https&quot;&gt;Pangolin public HTTP and HTTPS resources&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A self-hosted Pangolin deployment includes Traefik. With Pangolin, you define the tunnel and app access in terms of sites and resources. With the standalone Traefik example below, you define the app route with Docker labels. &lt;a href=&quot;https://docs.pangolin.net/about/pangolin-cloud-vs-self-hosted&quot;&gt;Pangolin self-hosted comparison&lt;/a&gt;, &lt;a href=&quot;https://docs.pangolin.net/manage/resources/understanding-resources&quot;&gt;Pangolin resource types&lt;/a&gt;, &lt;a href=&quot;https://doc.traefik.io/traefik/reference/routing-configuration/other-providers/docker/&quot;&gt;Traefik Docker routing labels&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Add one web app&lt;/h2&gt;
&lt;p&gt;Each example uses &lt;code&gt;app.example.com&lt;/code&gt; for the browser-facing hostname and &lt;code&gt;8080&lt;/code&gt; for the app&apos;s HTTP port. Replace them with your hostname and app port. The examples start with the chosen proxy installed and the app already running.&lt;/p&gt;
&lt;h3&gt;Traefik with Docker labels&lt;/h3&gt;
&lt;p&gt;Enable Traefik&apos;s Docker provider and put the app and Traefik on the same Docker network. Set &lt;code&gt;providers.docker.exposedByDefault&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; so containers need an explicit opt-in. Restrict access to the Docker API because unrestricted access can put the host at risk. &lt;a href=&quot;https://doc.traefik.io/traefik/expose/docker/basic/&quot;&gt;Traefik basic Docker guide&lt;/a&gt;, &lt;a href=&quot;https://doc.traefik.io/traefik/reference/install-configuration/providers/docker/&quot;&gt;Traefik Docker provider&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Add these labels under the app&apos;s service in your Compose file. They assume a TLS entry point called &lt;code&gt;websecure&lt;/code&gt; and a configured Let&apos;s Encrypt resolver called &lt;code&gt;le&lt;/code&gt;. For the guide&apos;s HTTP-01 setup, point public DNS at Traefik and make its HTTP entry point reachable on port 80. &lt;a href=&quot;https://doc.traefik.io/traefik/reference/routing-configuration/other-providers/docker/&quot;&gt;Traefik Docker routing labels&lt;/a&gt;, &lt;a href=&quot;https://doc.traefik.io/traefik/expose/docker/advanced/&quot;&gt;Traefik advanced Docker guide&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;labels:
  - &amp;quot;traefik.enable=true&amp;quot;
  - &amp;quot;traefik.http.routers.app.rule=Host(`app.example.com`)&amp;quot;
  - &amp;quot;traefik.http.routers.app.entrypoints=websecure&amp;quot;
  - &amp;quot;traefik.http.routers.app.tls.certresolver=le&amp;quot;
  - &amp;quot;traefik.http.services.app.loadbalancer.server.port=8080&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Apply the Compose change with &lt;code&gt;docker compose up -d&lt;/code&gt;. &lt;a href=&quot;https://doc.traefik.io/traefik/expose/docker/advanced/&quot;&gt;Traefik advanced Docker guide&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Caddy with a Caddyfile&lt;/h3&gt;
&lt;p&gt;If Caddy and the app run on the same host and Caddy can reach the app over loopback, save this as &lt;code&gt;Caddyfile&lt;/code&gt;. Run &lt;code&gt;caddy run&lt;/code&gt; from that directory. For the public HTTPS quick start, point DNS at Caddy and make ports 80 and 443 reachable from outside. &lt;a href=&quot;https://caddyserver.com/docs/caddyfile/directives/reverse_proxy&quot;&gt;Caddy reverse_proxy directive&lt;/a&gt;, &lt;a href=&quot;https://caddyserver.com/docs/quick-starts/https&quot;&gt;Caddy HTTPS quick start&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-caddyfile&quot;&gt;app.example.com {
    reverse_proxy 127.0.0.1:8080
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Caddy&apos;s automatic HTTPS obtains and renews certificates for qualifying names and redirects HTTP to HTTPS. For local HTTPS using Caddy&apos;s internal CA, each client must trust that CA&apos;s root certificate. &lt;a href=&quot;https://caddyserver.com/docs/automatic-https&quot;&gt;Caddy automatic HTTPS&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Nginx Proxy Manager with a Proxy Host&lt;/h3&gt;
&lt;p&gt;Open the admin UI on port 81 from your local network. For the direct public setup, forward only ports 80 and 443 at the router. In &lt;strong&gt;Proxy Hosts&lt;/strong&gt;, create a host for an app reachable at the example LAN address below. &lt;a href=&quot;https://nginxproxymanager.com/guide/&quot;&gt;Nginx Proxy Manager guide&lt;/a&gt;, &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/frontend/src/locale/src/en.json?plain=1&quot;&gt;Nginx Proxy Manager interface labels&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Domain Names&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;app.example.com&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Scheme&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;http&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Forward Hostname / IP&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;192.168.1.50&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Forward Port&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;8080&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;For browser-facing HTTPS, select a certificate for the Proxy Host and save the host. Nginx Proxy Manager supports Let&apos;s Encrypt and uploaded custom certificates. &lt;a href=&quot;https://nginxproxymanager.com/guide/&quot;&gt;Nginx Proxy Manager guide&lt;/a&gt;, &lt;a href=&quot;https://github.com/NginxProxyManager/nginx-proxy-manager/blob/v2.17.1/frontend/src/locale/src/en.json?plain=1&quot;&gt;Nginx Proxy Manager interface labels&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Pangolin with a site and resource&lt;/h3&gt;
&lt;p&gt;Create a Pangolin Site for your home network. Run its connector on a machine that can reach the app. The current install guide recommends the Pangolin CLI for new sites and supports existing Newt deployments. &lt;a href=&quot;https://docs.pangolin.net/manage/sites/install-site&quot;&gt;Pangolin site installation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Create a public HTTP/HTTPS resource with &lt;code&gt;app.example.com&lt;/code&gt; on a domain managed in Pangolin. Add one target using the home site, HTTP, &lt;code&gt;192.168.1.50&lt;/code&gt; and port &lt;code&gt;8080&lt;/code&gt;. Keep Pangolin authentication enabled and grant access to the intended users or roles. &lt;a href=&quot;https://docs.pangolin.net/manage/resources/public/http-https&quot;&gt;Pangolin public HTTP and HTTPS resources&lt;/a&gt;, &lt;a href=&quot;https://docs.pangolin.net/manage/common-api-routes&quot;&gt;Pangolin target settings&lt;/a&gt;, &lt;a href=&quot;https://docs.pangolin.net/manage/resources/public/authentication&quot;&gt;Pangolin public resource authentication&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For this public resource, users only need a browser. Pangolin issues and renews the TLS certificate and sends authorized traffic through the connector to the app. If the app itself should stay off the public internet, use a private HTTP/HTTPS resource on the Pangolin Site. Authorized users connect with the Pangolin client before opening it. &lt;a href=&quot;https://docs.pangolin.net/manage/resources/public/http-https&quot;&gt;Pangolin public HTTP and HTTPS resources&lt;/a&gt;, &lt;a href=&quot;https://docs.pangolin.net/manage/resources/understanding-resources&quot;&gt;Pangolin resource types&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; The Traefik 3.8 Docker guide, Caddy 2 docs, Nginx Proxy Manager 2.17.1 interface labels, and Pangolin&apos;s rolling Community Edition documentation were checked on November 26, 2026. The examples were adapted from the documentation and were not run.&lt;/p&gt;
</content:encoded><category>homelab</category><category>reverse-proxy</category><category>docker</category><category>https</category><category>remote-access</category><author>Reverse Proxy Lab Editorial</author></item></channel></rss>