# Docker services behind VPN and Traefik

**URL:** <https://community.traefik.io/t/docker-services-behind-vpn-and-traefik/8705>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [November 23, 2020, 11:17am UTC](https://community.traefik.io/t/docker-services-behind-vpn-and-traefik/8705 "2020-11-23T11:17:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DJSpicyWiener](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/djspicywiener/32/2927_2.png) [@DJSpicyWiener](https://community.traefik.io/u/DJSpicyWiener)\
**Post date:** [November 23, 2020, 11:17am UTC](https://community.traefik.io/t/docker-services-behind-vpn-and-traefik/8705/1 "2020-11-23T11:17:10Z")

</div>

Hi,

I want to run a torrent client behind VPN and Traefik using docker.  
I currently have this working by using the haugene/docker-transmission-openvpn image.

However, I don't really like that the VPN client is bundled in the torrent image, since I like the customizability of having things separated. E.g. I would like to instead use the [linuxserver.io](http://linuxserver.io) Deluge image for torrent, and in the future I would probably switch to WireGuard for the VPN.

[Here is a pastebin](https://pastebin.com/VxVqR6mV) of my docker-compose file. In it I have docker-transmission-openvpn running correctly behind Traefik AND I have Deluge running behind an OpenVPN client image using network mode.

I have forwarded deluges web interface port on the OpenVPN image, which means that I can access it on my home network. However, I cannot seem to get it to run behind Traefik.

While this question in my case is about a torrent client, a solution would mean that you could run any docker service behind a VPN and Traefik.

I hope that someone can help with a solution.

Thank you
