

A place to share, discuss, discover, assist with, gain assistance for, and critique self-hosted alternatives to our favorite web apps, web services, and online tools.
Gluetun (VPN for a few containers) Alternative?
Gluetun sets out to be exactly what I need, a simple method to route a few docker containers (for which there is not a version of the container that includes a VPN) through a wireguard VPN and still allow local hosts to access. However, I find that with my config (which certainly could be improved), Gluetun bounces at least weekly. When it does, the containers that use it have to be restarted.
So what other relatively easy solutions are there to try that may work more reliably?
Sort by:
Best
Open comment sort options
Best
Top
New
Controversial
Old
Q&A
I just use a Cron job to restart gluetun and other linked containers everyday at midnight. Never had any problems...
Do you mind sharing this cron job?
https://github.com/binhex/arch-privoxyvpn
u/JMOhare, any idea how to route a container through that? I tried adding to the compose for the privoxyvpn container:
environment:
- VPN_INPUT_PORTS=3100,3101
ports:
- 3100:3000
- 3101:3001
And modified a test webtop (linuxserver/webtop) to add a new network_mode and remove its ports.
network_mode: 'container:arch-privoxyvpn'
# ports:
# - 3100:3000
# - 3101:3001
But no access to that container.
I found gluetun (setup with protonvpn via Docker Compose) took quite a lot of memory around 300 MB RAM, and that's why I wish to find a more lightweight solution.
The only reason I used this VPN is to bypass geographic restrictions for one of my docker containers to use the Google Palm API service: https://developers.generativeai.google/available_regions
(Info: My hosting has only 1.5 GB RAM)
So, I hope for more suggestions for my case. e.g., change the docker proxy. Many thanks.
Same thing around here, using Gluetun took ~360MB of RAM, I migrated to arch-privoxyvpn and it took only ~30 MB.