Pangolin: Ingress Option for your Homelab (or Small Biz or !)

huge thanks to MICROCENTER for sponsoring this project!

Micro Center is THE AI Destination: https://micro.center/c07d51
Sign up for a FREE 128 gig flash drive at Micro Center Austin: https://micro.center/e1ae53
Shop Micro Center Ubiquiti Products: https://micro.center/60a478
Visit Micro Center News: https://micro.center/be3f27

Your Homelab, Accessible Anywhere: Proxmox, Pangolin, and Jellyfin

You’ve installed Proxmox, perhaps tried a few of the excellent Proxmox Community Scripts, and now have a handful of useful services running on your home network.

Maybe you have Jellyfin for media, Immich for photos, or Home Assistant for automation.

Everything works great on the LAN. But what happens when you leave home?

You could forward ports through your router, expose the applications to the internet, install a traditional VPN, or spend a weekend figuring out reverse proxies and TLS certificates.

There’s an easier approach.

We’re going to use Pangolin to provide secure remote access to our homelab, using one connector for all our services. We’ll demonstrate this with Jellyfin, but the approach also works with many other services running in Proxmox LXCs, VMs, or Docker containers.

Pangolin has two things I’ve been tinkering with for the context of “unwashed masses” ingress to your internal network:

  • Public HTTPS resources , which you can access from any browser, with Pangolin enforcing authentication before allowing access.
  • Private resources , which behave more like Tailscale or a VPN. You connect a client and gain access only to the systems you’ve been authorized to use.

Pangolin can also handle the HTTPS certificates, so we won’t need to distribute certificates to individual containers or configure Certbot just to get started. Note I plan to cover certbot automation in another howto very shortly… you can get *.yourdomain.tld as a “real” TLS encryption cert without exposing say jellyfin.lab.yourdomain.tld to the internet…

What I used in the video

  • A working Proxmox VE installation (not convered in this video).
  • A Pangolin account or self-hosted Pangolin server (quickly showed in the video).
  • A domain name (optional for basic testing, recommended for enthusiasts).
  • A small Linux VM or LXC to run the Pangolin Site connector.
  • A Jellyfin LXC, which we’ll install using Community Scripts.

I’m using wendell.tech , with DNS already configured through Cloudflare. If you’re starting from scratch, I’d recommend considering Pangolin-managed DNS for simplicity. You don’t need to duplicate my Cloudflare setup.

For this example, imagine our local network looks like this:

Machine Example address
Proxmox host 192.168.1.10
Pangolin connector 192.168.1.20
Jellyfin LXC 192.168.1.51

These are examples. Substitute your own addresses…

Step 1: Install Jellyfin using Proxmox Community Scripts

Start with the Jellyfin Community Script.

If you aren’t familiar with Proxmox, community scripts, and some cautions that go with that, then check out our other content and posts on the forum about Proxmox. This is not meant as a full how-to for either the Proxmox install and config, or a full introduction to the community scripts.

In your Proxmox host’s shell, run:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct

As always, inspect community installation scripts before executing them as root.

Follow the prompts and create the Jellyfin container. Default settings should be sufficient for an initial test, though you may want advanced settings for storage, hardware transcoding, or networking.

Once installation finishes, find the container’s IP address and open:

http://192.168.1.51:8096

Complete Jellyfin’s initial configuration. Create your administrator account, add a media library if you have one, and verify that playback works locally.

For now, Jellyfin is using ordinary HTTP on the home network. That’s fine for our initial configuration.

Don’t forward port 8096 through your router.

We also don’t need to install Pangolin, a VPN, or certificates inside the Jellyfin container.

Step 2: Connect the homelab to Pangolin

Pangolin works by connecting our private network to a public Pangolin endpoint through an outbound tunnel.

That means our home router doesn’t need to accept incoming connections from the internet.

In Pangolin, create a new Site for the homelab.

We’ll call ours Homelab .

A Site is essentially a network location containing resources we want to make accessible. Pangolin’s Site connector establishes the tunnel and provides access to the private systems behind it.

For this walkthrough, we’ll run the connector on a small dedicated Linux machine with access to the Proxmox containers.

You can run the connector on a Docker host, Linux VM, or appropriately configured LXC. I prefer a dedicated VM for the initial demonstration because it avoids nested-container networking and TUN-device complications.

Install the Site connector

Pangolin’s current documentation recommends using the Pangolin CLI for new Site installations. Newt remains available as a smaller standalone connector.

You can run the commands inside the container you created for Pangolin

Alternative

For a straightforward Docker deployment, here’s the Newt option.

Create a directory on your connector machine:

mkdir -p ~/pangolin-site
cd ~/pangolin-site

Create compose.yaml :

services:
  newt:
    image: fosrl/newt:latest
    container_name: newt
    restart: unless-stopped
    network_mode: host

    env_file:
      - .env

Create .env :

NEWT_ID=YOUR_SITE_ID
NEWT_SECRET=YOUR_SITE_SECRET
PANGOLIN_ENDPOINT=https://app.pangolin.net

Use the actual Site credentials and endpoint from your Pangolin dashboard, not these placeholders. If you’re self-hosting Pangolin, use your own endpoint.

Protect the credentials:

chmod 600 .env

Then start the connector:

docker compose up -d
docker compose logs -f newt

Check the Pangolin dashboard. Your Site should eventually show as connected.

If you’ve followed our other Proxmox guides, you already had a VM running docker and you can run these commands in that VM that has all your docker containers. We generally don’t recommend docker on the Proxmox host. If you are ONLY using community scripts and LXC containers, you can connect your Pangolin via LXC or (not recommended) directly on the Proxmox host by running the example “linux” commands that Pangolin provides when you’re creating the site. See above, and the video, for a bit more nuance and context.

Host networking is intentional here. It allows the connector to participate directly in the local network and supports Pangolin’s local-network detection.

Step 3: Create an authenticated public resource

Let’s start with the simplest demonstration: opening Jellyfin from a browser without installing a VPN client.

In Pangolin, navigate to Public Resources and add a new HTTP/HTTPS resource.

Configure it approximately as follows:

Setting Value
Name Jellyfin
Site Homelab
Public hostname jellyfin.wendell.tech
Upstream address 192.168.1.51
Upstream port 8096
Upstream protocol HTTP
Public HTTPS Enabled
Authentication Required

Depending on your Pangolin edition and configuration, you can choose an authentication method such as Pangolin SSO, email verification, password, or another supported policy.

For a personal homelab, I’d start with identity-based authentication and MFA.

The hostname must belong to a domain configured in Pangolin. If using external DNS such as Cloudflare, add the CNAME Pangolin specifies for this resource. If Pangolin is authoritative for your domain, use its DNS configuration instead.

Once DNS and certificate provisioning are complete, open:

https://jellyfin.wendell.tech

Test using a browser where you are not already authenticated to Pangolin.

You should encounter Pangolin’s authentication flow before reaching Jellyfin.

After authenticating, Pangolin forwards requests over the Site tunnel to Jellyfin’s local HTTP port.

The browser sees a real HTTPS certificate managed by Pangolin. Jellyfin itself doesn’t need one for this example.

What this accomplishes

Our Jellyfin container is still listening on 192.168.1.51:8096 .

We haven’t exposed its port through our home router. We haven’t installed Certbot. And we haven’t modified Jellyfin to understand Pangolin authentication.

Pangolin is acting as an authenticated reverse proxy.

That’s quite useful for browser-based applications, dashboards, administration tools, and services we want to share with selected users.

Important: Authentication at Pangolin does not replace Jellyfin’s own account management. Keep Jellyfin accounts properly secured, and verify that a resource cannot be accessed anonymously unless you explicitly intend that behavior.

Step 4: The Jellyfin native-client problem

There’s one catch.

Jellyfin isn’t only a website. It has Android, iOS, smart TV, and other native applications.

Many native applications don’t know how to handle an external reverse proxy that asks the user to complete a separate browser-based login.

So while our public HTTPS resource is convenient in a browser, it may not be the best configuration for everyday media streaming.

For that, we’re going to use Pangolin’s private resources .

This is closer to the Tailscale experience: authenticate a device once, connect to the private network, and access permitted applications directly.

Step 5: Create a private HTTPS resource

Back in Pangolin, navigate to Private Resources and add a private HTTP/HTTPS resource.

Use the same Jellyfin backend:

Setting Value
Name Jellyfin Private
Site Homelab
Type Private HTTP/HTTPS
Hostname jellyfin.lab.wendell.tech
Target 192.168.1.51:8096
Upstream protocol HTTP
Site-edge HTTPS Enabled
Access Your authorized users/roles

Grant access only to the users who should be able to connect.

Pangolin’s private HTTPS resources offer an interesting feature: TLS termination at the Site edge .

The service is reached through an authenticated private tunnel, while Pangolin can present a publicly trusted TLS certificate for the configured hostname.

The hostname belongs to a real domain managed in Pangolin. Pangolin’s public DNS and certificate provisioning still need to be configured correctly, even though the actual application is accessible only through an authorized Pangolin client.

This avoids requiring Jellyfin to manage its own HTTPS certificate.

Step 6: Install the Pangolin client

Install Pangolin’s desktop or mobile client on a device you want to use remotely.

Log in, select your organization, and connect.

Make sure the client has its DNS override / aliases functionality enabled so it can resolve private resource hostnames.

While connected, visit:

https://jellyfin.lab.wendell.tech

The client should resolve the private resource through Pangolin and route the connection through the authorized tunnel.

Pangolin terminates HTTPS at the Site edge and forwards the request to Jellyfin’s local HTTP endpoint.

Disconnect the client and try again.

You should no longer be able to reach the private Jellyfin application.

Depending on Pangolin’s DNS and placeholder configuration, you may see a placeholder page or a failed connection instead.

What about the Jellyfin app?

If you have a Jellyfin mobile or desktop client running on a device with Pangolin connectivity, try entering:

https://jellyfin.lab.wendell.tech

Because we’re no longer using a browser-interactive public authentication page, native clients have a better chance of working normally. If you’ve already used Tailscale and a tailnet, this is akin to what you experience when you do LAN routing on your Tailnet. I prefer this setup except when sharing resources out to other folks.

In the case of Jellyfin, it still requires its own user authentication, and Pangolin controls which devices or users can reach the service. I would like to see more open source projects like immich or Jellyfin support bearer-token or host-authorization headers where I can configure it to accept tokens from proxies to go ahead and authenticate users. This would mean that once the auth system authenticates a user, I can map the user’s role in that auth system to a role within the specific app and avoid having to double authenticate.

Native client compatibility should be tested, but generally, it should work. I can “cast” from my mobile phone with the pangolin client to an unmodified TV like as if the remote media server were on the same LAN.

Step 7: Access Proxmox and other applications

Now that the Site connector works, we can add other services without installing another tunnel for every container.

For example:

Resource Example Recommended access
Proxmox proxmox.lab.wendell.tech Private
Jellyfin jellyfin.lab.wendell.tech Private
Immich immich.lab.wendell.tech Private, especially for mobile clients
Homarr home.wendell.tech Authenticated public
Uptime Kuma status.wendell.tech Authenticated public

https://homarr.dev/ is an excellent homepage dashboard builder… thingie. “Dashboard” they call it but that’s not the most apt description. The goal is to make it easy to get to whatever you’ve setup for yourself.

For Proxmox, remember that its native management interface normally uses port 8006 and HTTPS with its own certificate. Configure the Pangolin upstream TLS behavior appropriately rather than assuming a plain HTTP backend.

I would keep sensitive management services private, even if Pangolin can protect publicly reachable applications with authentication.

For services requiring direct connections to an IP address or non-HTTP protocols, Pangolin also supports private Host and CIDR resources.

This is where the next part of our homelab project begins.

We’ve now got a repeatable foundation: Proxmox runs the applications, Pangolin handles connectivity and access control, and routine certificate management is handled by the infrastructure.

Instead of manually configuring every additional application, we can ask a local AI assistant to help us.

For example:

“Deploy an Immich container on my Proxmox server. Give it persistent storage, configure a Pangolin private HTTPS resource, and test that it’s reachable from an authorized client. Show me the proposed changes before applying them.”

An AI assistant with appropriately constrained tools could generate deployment instructions, install packages, configure services, communicate with the Pangolin API, and validate the result.

But there’s an important engineering principle here.

Once we’ve successfully deployed something, we want it to keep working without the AI.

Pangolin reconnects its tunnel. Systemd or Docker restarts failed processes. Pangolin handles certificates for its HTTPS resources. Monitoring tells us when something is wrong.

The AI might help us investigate an unusual failure, review an update, or add a new application. But it shouldn’t need to make recurring decisions just to keep the lights on.

What about wildcard certificates?

You may still want a wildcard certificate for services that require TLS termination inside the application itself, or for direct LAN HTTPS that doesn’t depend on Pangolin.

A certificate for *.lab.wendell.tech , issued through Let’s Encrypt’s DNS-01 challenge, can handle that. I’ll cover that in a future video in the homelab series, and related to our “Devember” event.

For now, though, we’re deliberately avoiding that additional complexity. Pangolin can provide HTTPS for our demonstration resources, and it manages the associated certificates.

Wrapping up

We now have a Jellyfin server running inside Proxmox, with remote access provided by Pangolin.

No home-router port forwarding, no public exposure of the NAS itself, and no need to maintain certificates inside Jellyfin.

More importantly, the same setup can be reused for additional applications…

If it feels too much like you’re starting to cosplay as a system administrator.. I hear your concern. We’re working toward showing you an AI assistant in this environment to see how much of the actual homelab deployment and configuration we can automate…

AI is not intended to run the day-to-day, but it can make building and understanding your own infrastructure substantially more approachable. The Homarr project is leaning into that idea almost as

You can just do things.

References

2 Likes

I recently looked in to setting up valid https in my self-hosting environment along with private and public remote access. Pleas correct me if I got anything wrong. My understanding of the current competition is as follows.

Tailscale has no official self-hosting path for the server part. Which has made it less popular in self-hosting communities. Works great for accessing the home network remotely by using Exit nodes.

Pangolin does offer the a self-hosting path and cloud path. But if you use Pangolin, their cloud managed software can not do public TCP/UDP proxy. So if one wants to host a game server everyone playing needs to have a Pangolin account and there is a user limit to the free tier.

NetBird supports exposing public TCP, UDP, and TLS without needing to self-host. They say the feature is in beta, but so far people have got it working. Other than that is can also do almost anything Pangolin and Tailscale can do. I will personally try and replace Tailscale, Cloudflare and port-forwarding with Netbird. Local TLS and HTTPS will remain solved with Traefik wildcard certificate and DNS entry on the router. Traefik also works great with docker networks.

I am very much looking forward to seeing how you would approach automation to self-host deployments. When I have looked in to doing it for myself I always stop at my inability to create constrains. It seem to me like the AI agents needs privileges similar to root. Otherwise I become a meat proxy running sudo commands.

It’s turnstone, but with guardrails as to the operations the judge allows it to do, basically. That’s how we’re approaching “AI Assistant helping you homelab…”

1 Like

I hadn’t heard of Pangolin before, and it looks like a nice all-in-one solution for managing ingress for local services.

It’s funny because the public resources part is really similar to what I’m DIYing for Devember. :rofl:

I’ll probably give it a try once I’m done with my project.

I’ve been interested in Pangolin for a while. Thanks for making the video. Currently I use Wireguard on my Ubiquiti router, Split DNS with Pihole, and Traefik for reverse proxy. I’d like to simplify and have a log in for some services on any device not just my phone that has the VPN cert on it. I’ve just never had a service worth sharing with people to the point I wanted to pay for a VPS to make it safe to host on the open web.

I’m also really glad you mentioned minecraft. I have been trying to figure that one out for a while now with reasonable safety. I’ve been toying with port forwarding to it in a dedicated VM but It’s hard to trust and there may be management portals involved that I’d like users to access which I can’t really trust hosting without a solid user authentication system. I also was using crafty controller and I can’t think of a simple way to back up the worlds to my NAS without poking a pinhole port through the VLAN for NFS. With a dedicated share blast radius should be reasonable but still asking my users to install the pangolin client is a fair trade for me to not lose sleep about 0days and keeping everything updated all the time.

Now for what the video didn’t cover (unless I missed it, I’m almost all the way through it)… Whois a good VPS for a tiny pangolin instance? lol

It’s hard to beat linode for quality, and the ingress/egress traffic is fairly generous.

1 Like

I just so happen to be in the process of setting up my proxmox server for jellyfin, my webserver, and some other random services. Most of the hardware was purchased through Micro Center as well! They had a great deal on an Arc 570 that I want to use for transcode and maybe some Unifi Protect AI recognition

shoutout to micro center!

ngl, strata looks like lmstudio, but is better?

1 Like

I’ve been running Pangolin for our public and private resources for over a year now and can attest that it has worked great.

Never had any issues with upgrading versions and new features have rolled in every few months. Runs fine on a tiny VPS with 2GB of RAM and 1 vCPU.

Just a few notes for the interested self-hoster:

Disable telemetry sending to the devs (on by default!) in config.yml:

app:
    telemetry:
        anonymous_usage: false

Hide features that need a license from the UI, it gets annoying fast:

flags:
    disable_enterprise_features: true
2 Likes

So I can cosplay as a sys admin from work… Signed me up Scotty.

So can Pangolin act as identity server? Something like Okta, but for free.
If I can’t “Log in with Pangolin” into my GitLab instance, for example, then I don’t really need additional login page in front of GitLab, right? I can either expose my GitLab instance to the internet or connect to it via any VPN (no need for Pangolin).

Yes but consider the gitlab 0 days where you would get hacked unless you patch immediately. Pangolin would prevent that since gitlab isn’t on the internet proper. Also works behind cgnat

currently I have been using plain wireguard for accessing immich and jellyfin and others remotely on my phone and my wife’s phone.
but it seems like that would be too much friction for getting my dad or in-laws to be able to use things.
i am a little paranoid about letting things i don’t control (like a cloud based tailscale, netbird, or pangolin) be in the path of my immich.
if i ran it on my vps i could maybe accept it.
but so far i haven’t been terribly impressed with netbird on my vps, and same for headscale.
i have a decent number of services on my home network, and they all have valid certs from lets encrypt held by caddy with a wildcard.
my machines all currently run NixOS, but i have been considering switching my gaming PC to CachyOS