I have transmission and docker-wireguard-pia set up. I can access the transmission webui on lan, but when i try to access it through a vpn(pivpn wireguard), I can access the other services but am unable to access the transmission webui. I have tried to add the docker subnet in the allowed ips section.
docker-compose.yml
version: "2.1"
# network_mode: host
vpn:
container_name:vpn
image: thrnz/docker-wireguard-pia
volumes:
# Auth token is stored here
- pia:/pia
# If enabled, the forwarded port is dumped to /pia-shared/port.dat for p otential use in other containers
- pia-shared:/pia-shared
cap_add:
- NET_ADMIN
# SYS_MODULE might not be needed with a 5.6+ kernel?
- SYS_MODULE
# Mounting the tun device may be necessary for userspace implementations
#devices:
# - /dev/net/tun:/dev/net/tun
ports:
- 9091:9091
environment:
# The following env vars are required:
- LOC=<REDACTED>
- USER=<REDACTED>
- PASS=<REDACTED>
# The rest are optional:
- LOCAL_NETWORK=192.168.1.0/24
#- KEEPALIVE=25
#- VPNDNS=8.8.8.8,8.8.4.4
- PORT_FORWARDING=1
#- WG_USERSPACE=1
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv6.conf.default.disable_ipv6=1
- net.ipv6.conf.all.disable_ipv6=1
- net.ipv6.conf.lo.disable_ipv6=1
healthcheck:
test: ping -c 1 www.google.com || exit 1
interval: 30s
timeout: 10s
retries: 3
transmission:
depends_on:
- vpn
network_mode: "service:vpn"
image: lscr.io/linuxserver/transmission:latest
container_name: transmission
environment:
- PUID=1000
- PGID=1000
- TZ=<REDACTED>
- TRANSMISSION_WEB_HOME=/combustion-release/ #optional
- USER=<REDACTED> #optional
- PASS=<REDACTED> #optional
#- WHITELIST=iplist #optional
#- PEERPORT=peerport #optional
- HOST_WHITELIST=dnsname list #optional
- TRANSMISSION_WEB_HOME=/transmissionic
wg0.conf
[Interface]
PrivateKey = <redacted>
Address = 10.39.131.1/24
MTU = 1420
ListenPort = 58820
[Peer]
PublicKey = <redacted>
PresharedKey = <redacted>
AllowedIPs = 10.39.131.3/32, 0.0.0.0/32, 192.168.1.125/32, 172.23.0.0/32
pls help