this post was submitted on 27 Oct 2023
38 points (95.2% liked)

Cool GitHub Projects

1213 readers
2 users here now

Wormhole

[email protected]

Icon base by Caro Asercion under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

This project has saved me so many headaches, I highly encourage people to go and check it out if you need a VPN in a docker container, its written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 10 months ago (1 children)

I could never get this to work properly with AirVPN and qbittorrent.

[–] [email protected] 1 points 10 months ago (1 children)

He has the full guide of all that needs to be filled out + docker-compose file here; https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/airvpn.md

[–] [email protected] 1 points 10 months ago (1 children)

That's the guide I used. I kept losing connection to the web UI of qbittorrent. I'm using the hotio.dev image now.

[–] [email protected] 1 points 10 months ago (1 children)

I used to use hotio, but after I saw that Tailscale docker mods are only supported by Linuxserver.io images, I have switched to the across the board. I also think it's good to use images that are better/longer supported.

[–] [email protected] 1 points 10 months ago (1 children)

Do you have a docker compose you can show me?

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (1 children)

I am assuming you meant the setup of what was discussed in this thread a d not how to change just were the image is pulled from?

Gluetun /w Wireguard and Tailscale

***
version: '3'
services:
  gluetun:
   image: qmcgaw/gluetun
   container_name: gleutun-exitnode
   restart: unless-stopped
   cap_add:
    - NET_ADMIN
   environment:
      - UPDATER_PERIOD=24h
      - TZ=Europe/Stockholm
      - VPN_SERVICE_PROVIDER=custom
      - VPN_TYPE=wireguard
      - VPN_ENDPOINT_IP=
      - VPN_ENDPOINT_PORT=
      - WIREGUARD_PUBLIC_KEY=
      - WIREGUARD_PRIVATE_KEY=
      - WIREGUARD_ADDRESSES=
   devices:
    - /dev/net/tun:/dev/net/tun
   volumes:
    - /docker/appdata/gluetun:/gluetun
  tailscale:
   container_name: tailscale-exitnode
   cap_add:
      - NET_ADMIN
      - NET_RAW
   volumes:
      - /docker/appdata/tailscale/var/lib:/var/lib
      - /dev/net/tun:/dev/net/tun
   network_mode: "service:gluetun"
   restart: unless-stopped
   environment:
      - TS_HOSTNAME=exitnode
      - TS_AUTHKEY=
      - TS_EXTRA_ARGS=--advertise-exit-node --ssh
      - TS_NO_LOGS_NO_SUPPORT=true
      - TS_STATE_DIR=/var/lib
   image: tailscale/tailscale
[–] [email protected] 2 points 10 months ago (1 children)

Thanks so much! This will help me a ton.

[–] [email protected] 1 points 10 months ago

Glad i could be to help 🙌