r/selfhosted icon

Go to selfhosted

Gluetun (VPN for a few containers) Alternative?

Thumbnail image: You Can Just Do Things with Unraid. Run what you want, how you want. Mix and match drives, use any hardware—no sysadmin skills needed. Try Unraid free for 60 days!

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?

More replies More replies

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.

More replies More replies

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.

More replies More replies