# Hide one service, and one only, behind a VPN WHILE accessing it through a reverse proxy — retained record

> Retained reddit record from reddit:selfhosted.

Canonical: https://highsignal.app/data/records/5e878ae6618b5b2d

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:selfhosted)  published 2026-09-14 10:16 ingested 2026-09-15 02:38

[original source ↗](https://www.reddit.com/r/selfhosted/comments/1wfzf1v/hide_one_service_and_one_only_behind_a_vpn_while/)

## retained text



```
Hey !

I have one server that runs a couple of services, among them are Jellyfin, *arr stuff, and Transmission. I access all my services behind a reverse proxy, and this is where my issue comes.

I *need* Transmission to be behind a VPN, just in case I *accidentally* download a movie, as sadly happens so often... So I have a docker compose with two services : transmission, and wireguard ; such that transmission uses wireguard as its network mode, and is then behind a VPN. 

BUT ! When doing this, **all** traffic is put behind wireguard, including the web interface. So now, I can't access transmission through localhost:9091, as this is now going through a VPN. And I can't find a way for wireguard to route all but this port 9091.

Does anyone know of a way that would allow me to have this ? Transmission behind VPN but still with port 9091 accessible ?

Honestly I was kind of expecting this to be a much more documented issue, since let's be honest, self hosting rarely goes without a Plex or Jellyfin, and those rarely go without a fair deal of torrenting.

If anything comes up to you, please share ! I've been at it for too long by now. Thanks !

EDIT : Many recommended gluetun, so I tried and, yeah, it worked flawlessly and so easily ! I'm not 100% that if gluetun looses connection to the VPN my traffic doesn't default back to my real IP, but it's good enough to have the VPN working for now. Thanks to all for the answers.
```



document fetched 2026-09-15 00:31 · canonical https://reddit.com/r/selfhosted/comments/1wfzf1v/hide_one_service_and_one_only_behind_a_vpn_while
