# VPN server under traefik

**URL:** <https://community.traefik.io/t/vpn-server-under-traefik/17748>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [March 2, 2023, 1:38pm UTC](https://community.traefik.io/t/vpn-server-under-traefik/17748 "2023-03-02T13:38:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![EvandroMaddes](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/evandromaddes/32/6735_2.png) [@EvandroMaddes](https://community.traefik.io/u/EvandroMaddes)\
**Post date:** [March 2, 2023, 1:38pm UTC](https://community.traefik.io/t/vpn-server-under-traefik/17748/1 "2023-03-02T13:38:48Z")

</div>

Hi,  
I want to host a vpn server. The desired result is to connect to my vpn server and navigate in the internet using the ip of my server in order to get also content that are not avaible, depending on my position. The actual structure of my server is based on multiple docker containers. All of them are after a traefik container. My DNS provider is [name.com](https://name.com), are there some issues related to my provider I saw that maybe [docker-openvpn](https://github.com/kylemanna/docker-openvpn) is suitable for my purpose. Is it possible to achieve the desired behaviour?  
Are there more suitable alternatives than [docker-openvpn](https://github.com/kylemanna/docker-openvpn)?

I'm evaluating alternatives so, feel free to leave comments and advises

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [March 3, 2023, 10:21am UTC](https://community.traefik.io/t/vpn-server-under-traefik/17748/2 "2023-03-03T10:21:01Z")

</div>

Personally I would not place a VPN behind a reverse proxy. You can just have the VPN use different ports than the default 80+443.

I think OpenVPN is seen as old-school, everyone is talking about WireGuard. We use [wg-easy](https://github.com/WeeJeWel/wg-easy) to setup and run WireGuard.

---

<div class="post-metadata">

**Author:** ![EvandroMaddes](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/evandromaddes/32/6735_2.png) [@EvandroMaddes](https://community.traefik.io/u/EvandroMaddes)\
**Post date:** [March 4, 2023, 6:08pm UTC](https://community.traefik.io/t/vpn-server-under-traefik/17748/3 "2023-03-04T18:08:54Z")

</div>

thank you, I will look at wg-easy
