applepiefly 0 Posted ... (edited) This is my docker compose file below. I had it working earlier just fine, but as of a recent system restart everything seems to be working properly except for port forwarding. services: gluetun: image: qmcgaw/gluetun:latest container_name: gluetun devices: - /dev/net/tun:/dev/net/tun restart: unless-stopped cap_add: - NET_ADMIN ports: - 8888:8888/tcp # HTTP proxy - 8388:8388/tcp # Shadowsocks - 8388:8388/udp # Shadowsocks - 8080:8080 # qbit - 50231:50231 #firewall port - 80:80 volumes: - /docker/gluetun:/gluetun environment: - VPN_SERVICE_PROVIDER=airvpn - VPN_TYPE=wireguard - WIREGUARD_PRIVATE_KEY=redacted - WIREGUARD_ADDRESSES=redacted - WIREGUARD_PRESHARED_KEY=redacted - FIREWALL_VPN_INPUT_PORTS=50231 - SERVER_NAMES=Meridiana # Timezone for accurate log times - TZ=America/Chicago - UPDATER_PERIOD=24h qbittorrent: image: lscr.io/linuxserver/qbittorrent:latest container_name: qbittorrent network_mode: "service:gluetun" depends_on: - gluetun environment: - TZ=America/Chicago - WEBUI_PORT=8080 - TORRENTING_PORT=50231 - PGID=1000 - PUID=1000 volumes: - /docker/gluetun/qbittorrent/config:/config - /box/plex/downloads:/downloads - /box/plex/downloads:/box/plex/downloads restart: unless-stopped Edited ... by Tech Jedi Alex Apply LOG format to docker-compose.yml Quote Share this post Link to post
Hypertext1071 11 Posted ... Were you able to get your port forwarding fixed? In addition to specifying your WireGuard variables you need to add: FIREWALL_VPN_INPUT_PORTS=# (replace # with your port from AirVPN client area). Here is a template config: services: gluetun: cap_add: - NET_ADMIN container_name: gluetun devices: - /dev/net/tun:/dev/net/tun environment: - VPN_SERVICE_PROVIDER=custom - VPN_TYPE=wireguard - WIREGUARD_ENDPOINT_IP=# - WIREGUARD_ENDPOINT_PORT=# - WIREGUARD_PUBLIC_KEY=# - WIREGUARD_PRIVATE_KEY=# - WIREGUARD_PRESHARED_KEY=# - WIREGUARD_ADDRESSES=# - FIREWALL_VPN_INPUT_PORTS=# image: qmcgaw/gluetun:latest ports: - 8888:8888/tcp - 8388:8388/tcp restart: unless-stopped you can fill in # with values from your WireGuard configuration file. More info can be found here: https://github.com/qdm12/gluetun-wiki/blob/main/setup/options/wireguard.md. Hope that helps! Quote Share this post Link to post