krustymeathead

joined 2 years ago
[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)

Hi there!

I wanted to chime in to say that I finally got a nested VPN solution to work in my home lab setup, and wanted to share because it looked like you may be trying something similar. I found a very helpful post that laid out the solution to running a linuxserver.io wireguard container that uses a gluetun container's VPN connection for all of its clients' external-bound traffic.

To help make this more accessible for others, I created a single docker-compose.yml file that pulls all of this together.

In addition to bringing over the config from the helpful post, I added:

  • Wireguard-UI to simplify client setup and PostUp & PostDown modifications
  • Auto-restart capability for Wireguard & Wireguard-UI containers if Gluetun goes down

If anyone tries to use this and has any questions, let me know. Thanks!