Repository navigation
Replies: 1 comment 2 replies
|
Heads-up: the compose file in this post contains a For the routing error itself, the full startup log of the gluetun container (from its first line) and the output of |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This is the first time I've installed and tried to use Docker and gluetun.
Reason for this attempt is to get my plexmediaserver to run via gluetun while keeping the surfshark VPN for all other activities on my Ubuntu 26.04 LTS. I got my key after logging into surfshark
My media is located on an ntfs-g external hard drive at these paths:
/media/WD4TB-Dell/Movies and /media/WD4TB-Dell/TV
ip routedefault via 192.168.1.1 dev enp2s0 proto dhcp src 192.168.1.71 metric 100
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
172.18.0.0/16 dev br-d92e2a93b346 proto kernel scope link src 172.18.0.1 linkdown
192.168.1.0/24 dev enp2s0 proto kernel scope link src 192.168.1.71 metric 100
My compose.yml file:
services:
gluetun:
image: qmcgaw/gluetun:latest
container_name: gluetun
restart: unless-stopped
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
environment:
- VPN_SERVICE_PROVIDER=surfshark
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=***************************
- WIREGUARD_ADDRESSES=10.14.0.2/16
- SERVER_COUNTRIES=United States
- FIREWALL_OUTBOUND_SUBNETS=172.17.0.1/32 # allow reaching the Docker host
- TZ=America/New_York
ports:
# --- Plex ports (moved here from plex) ---
- 32400:32400/tcp # Main Plex port (required)
- 8324:8324/tcp # GDM (device discovery)
- 32469:32469/tcp # GDM (device discovery)
- 1900:1900/udp # DLNA/SSDP discovery
- 1901:1901/udp
- 32410:32410/udp # Plex discovery
- 32412:32412/udp
- 32413:32413/udp
- 32414:32414/udp
volumes:
- ./gluetun:/gluetun
healthcheck:
test: ["CMD", "/gluetun/gluetun", "-health-check"]
interval: 1m
timeout: 10s
retries: 3
plex:
image: lscr.io/linuxserver/plex:latest
container_name: plex
restart: unless-stopped
network_mode: "service:gluetun"
environment:
- PUID=1000
- PGID=1000
- VERSION=docker
- TZ=America/New_York
volumes:
- ./plex:/config
- /media/WD4TB-Dell/Movies
- /media/WD4TB-Dell/TV
depends_on:
gluetun:
condition: service_healthy
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
restart: unless-stopped
network_mode: "service:gluetun"
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
- WEBUI_PORT=8080
volumes:
- ./qbittorrent:/config
- /mnt/downloads:/data
depends_on:
gluetun:
condition: service_healthy
ERRORS:
ERROR default route not found: in 4 route(s)
All reactions