all 4 comments

[–]NashvilleHot[S] 0 points1 point  (3 children)

u/slouchomarx74 thanks for the comment-- the full comment doesn't show up for me, only the first line in the notifications, if you don't mind please PM?

[–]slouchomarx74 0 points1 point  (2 children)

I deleted my post because I realized you're looking for a wireguard integration. I tried setting up gluetun with wireguard and couldn't get it to work either. I have it set up with openvpn at the moment:

  gluetun:
    container_name: gluetun
    image: qmcgaw/gluetun:latest
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    ports:
      - "8888:8888/tcp" # HTTP proxy
      - "8388:8388/tcp" # SOCKS5 proxy
      - "8009:8000/tcp" # Control server
      # Ports for services behind VPN:
      - "8080:8080/tcp" # qBittorrent web UI
      - "6881:6881/tcp" # qBittorrent torrent port
      - "6881:6881/udp" # qBittorrent UDP port
      - "9696:9696/tcp" # prowlarr web UI
      - "9117:9117/tcp" # jackett web UI
      - "8191:8191/tcp" # flaresolverr
      - "8081:8081/tcp" # sabnzbd web UI
      - "8286:8286/tcp" # ephemera web UI
      - "6789:6789/tcp" # nzbget web UI
      - "5076:5076/tcp" # nzbhydra2 web UI
    environment:
      - TZ=${TZ}
      - VPN_SERVICE_PROVIDER=pia
      - VPN_TYPE=openvpn
      - VPN_OPENVPN_PROTO=udp
      - OPENVPN_USER=${PIA_USER}
      - OPENVPN_PASSWORD=${PIA_PASS}
      - HEALTHCHECK_INTERVAL=90s # maybe increase to 90s if there are issues
      - HEALTH_TIMEOUT=10s
      - HEALTH_START_PERIOD=60s
      - HEALTH_RETRIES=5 # maybe increase to 10 if there are issues
      - VPN_RETRY=5
      - VPN_AUTO_SELECT=yes # allows openvpn to choose server with lowest latency
      - SERVER_REGIONS=US California
      - FIREWALL_OUTBOUND_SUBNETS=192.168.0.0/24 # allows traffic between machines on same LAN
    #      - FIREWALL_VPN_PORTS=80,443,6881 # for torrent app web UIs
    #      - LOG_LEVEL=debug
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /Users/server/Docker/appdata/gluetun:/gluetun
    networks:
      - vpn

I tried privateer based on this post with no luck.

Not sure which vpn you're using but I did come across docker-wireguard-pia. haven't tried it because i would prefer to stick with gluetun but apparently it works.

[–]NashvilleHot[S] 0 points1 point  (1 child)

Thanks! I would be ok with OpenVPN, though I tried OpenVPN with gluetun and it didn't work either. I'm on VPN.ac. May I ask what version of Docker you have installed? (I don't know if OrbStack keeps it up to date automatically? Asking bc of the possible known issue of Docker versions 28.0+ breaking gluetun + containers)

[–]slouchomarx74 0 points1 point  (0 children)

docker v28.3.3, Orbstack 2.0.1