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

Cool GitHub Projects

1243 readers
1 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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

Do you have a docker compose you can show me?

[–] [email protected] 3 points 1 year ago* (last edited 1 year 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 1 year ago (1 children)

Thanks so much! This will help me a ton.

[–] [email protected] 1 points 1 year ago

Glad i could be to help 🙌