Deploy and Manage a VPN for your Docker Containers via Dockge!

preview_player
Показать описание
In this video we're going to take a look at how to run the traffic of Docker containers through a VPN container for better online security and anonymity.

Thanks to YouTube viewer Red Rabbit for leaving a comment asking me to make a video showing how to run the traffic of different Docker containers through a VPN container using Dockge.

I’ve made a video like this in the past, but it was done in Portainer and the process of doing it in Dockge is a bit different.

If you want more details on how to use Dockge for your homelab, you can check out my other video on the topic or do a search for Dockge on YouTube.

Docker & Docker Compose: Quick & Easy Install on Linux!

Resource Links

Timestamps
0:00 Intro
1:22 Install Dockge
3:02 Log into Dockge
3:34 Install Gluetun
6:29 Proxmox Fix
10:33 Installing Other Containers and attaching them to Gluetun
24:56 Some Considerations
25:43 Alternate Install Method

/=========================================/

Get early, ad-free access to new content by becoming a channel member, or a Patron!

All My Social Links:

Join Discord!

/=========================================/

The hardware in my recording studio is:
✔ Custom PC w/ Ryzen 2600, 32GB RAM, RTX 2070, Assorted Storage

/=========================================/

The hardware in my current home servers:

/=========================================/

✨Find all my social accounts here:

✨Ways to support DB Tech:

✨Come chat in Discord:

✨Join this channel to get access to perks:

✨Hardware (Affiliate Links):
Рекомендации по теме
Комментарии
Автор

Really love your vids. Good pace, to the point, no baloney. Appreciate it brother.

fivenine
Автор

Sir, You are a gentleman and a scholar!

tertiusdutoit
Автор

Excellent video well broken down thank you

kevinhughes
Автор

Pretty cool video, never seen dockge in action before, thanks for taking the time to make this guide

nexusasus
Автор

아주 멋진 영상이네요..아주 구체적이면서 또한 열정적으로 설명하는 모습이 인상적입니다. .. 감사합니다.

tonyring
Автор

as usual great vid and explanation. I'd like to see a vid on ampache. thank you

forsaken
Автор

My setup is like your alternate install method. I think I prefer the containers that way. Which way do you think is best?

hbhamilton
Автор

Can the "Stop & Inactive" activity be replaced by "docker stop <container_name> && docker rm <container_name>" in ssh?

MrTepapa
Автор

It's better to add all containers in a single docker compose and let the other containers depend on gluetun. This way you won't be needing to restart other containers everytime you restart or play with gluetun setting.

One thing though and it is important. I don't recommend gluetun if you are going to torrent thinking that you are safe. Gluetun unfortunately had and still leaks your ip from time to time.

A better setup is a WG container and a complete forward of a specefic docker network traffic or a built in vpn + your app in the same container.

AJMandourah
Автор

Similar to how the formatting is different for network mode in dockge, is there a way to add depends_on: gluetun or container: gluetun and then add health checks to the gluetun container to bypass the need of stopping and starting?

drewsweeney
Автор

I was wondering if there is a way to assign a "static" identifier to gluetun container in order to avoid to re-deploy every single container every time you add a new one.

KarbonBlack
Автор

This looks so great but I'm getting an error when installing wallos. My Dockage throws the error: Error response from daemon: No such container: gluetun. Any thoughts? BTW, the Docker Mastery course is great! Thanks.

ross.gaspar
Автор

Suppose your network operates behind a firewall, and you're interested in leveraging multiple containers to employ Gluetun for IP management and Traefik for reverse proxy functionality, all while utilizing a custom domain. Now, typically, when dealing with two containers running on the same port, say 8080, we'd rely on container-specific ports, adjusting them to distinct ports for access. However, when it comes to orchestrating this setup within Gluetun and Traefik using a single Docker compose file, the process may seem intricate. Could you shed some light on how to effectively configure these components to work harmoniously under such circumstances? Specifically, how can Gluetun and Traefik be integrated in a single Docker compose file to manage IP assignments and facilitate reverse proxy functionality, all while accommodating custom domain configurations within a firewall-protected network?

amarsharma
Автор

Great video as always buddy, random question if I need to access a port on a remote machine but don't want to use a VPN. What other options do I have? I tired Googleing but I only get VPN options.

thanoswasright
Автор

Waiting for a gluetun free version...😂

Crystawth
Автор

Nice tutorial! Question, when wanting to run a stack through a Gluetun container, do you have to add

network_mode: container:gluetun

networks:
gluetun_default:
external: true

To all the apps (one by one) within the stack, or is there a more general way to do that? do you know?

redrabbit
Автор

how to enable or use recycle bin in smb Share in OMV..

PawanSagar-wblb
Автор

Hi
This method worked great for adding a “ARR” stack, setting things up was a breeze but when adding sonar to prowlarr I get a timeout error. Any ideas, thanks for this great video

nexusasus
Автор

Hello, when configuring a new container after installing gluetun container i wil get the right public ip in de bash shell of the container but when i go in de application the application does not have connection to the public ip. Can someone help me?

NL-User
Автор

How does this work when you have 2 or more services on the same internal port? Let's say you have 2 services on 80:80 and you normally identify as 80:80 and 81:80. How would gluetun route this traffic? Or would the container even build because you're mapping 2 different external ports to the same internal port?

mashedindaed