Skip to content

WEBPROXY_BIND_ADDRESS not working #2974

@davehope

Description

@davehope

Is there a pinned issue for this?

  • I have read the pinned issues and could not find my issue

Is there an existing or similar issue/discussion for this?

  • I have searched the existing issues
  • I have searched the existing discussions

Is there any comment in the documentation for this?

  • I have read the documentation, especially the FAQ and Troubleshooting parts

Is this related to a provider?

  • I have checked the provider repo for issues
  • My issue is NOT related to a provider

Are you using the latest release?

  • I am using the latest release

Have you tried using the dev branch latest?

  • I have tried using dev branch

Docker run config used

version: '3.7'
services:
transmission-openvpn:
image: haugene/transmission-openvpn
environment:
... removed config bits
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 300
- LOCAL_NETWORK=10.99.99.0/25
- CREATE_TUN_DEVICE=false
- DROP_DEFAULT_ROUTE=true
- WEBPROXY_ENABLED=true
- WEBPROXY_USERNAME=x
- WEBPROXY_PASSWORD=x
- WEBPROXY_PORT=3128
- PUID=x
- PGID=x
- TZ=Europe/London
- TRANSMISSION_SPEED_LIMIT_UP=x
- TRANSMISSION_RATIO_LIMIT=0
- TRANSMISSION_RATIO_LIMIT_ENABLED=true
- TRANSMISSION_DOWNLOAD_DIR=x
- TRANSMISSION_INCOMPLETE_DIR=x
- TRANSMISSION_WATCH_DIR=x
- TRANSMISSION_HOME=/config/transmission-home
- WEBPROXY_BIND_ADDRESS=0.0.0.0

volumes:
- x
- x:/data
- /etc/localtime:/etc/localtime:ro
- /dev/net/tun:/dev/net/tun
ports:
  - '9091:9091'
  - '3128:3128'
cap_add:
  - NET_ADMIN
logging:
  driver: json-file
  options:
    max-size: 10m
deploy:
  resources:
    limits:
      cpus: '1.0'
      memory: 1G
  restart_policy:
    condition: any
    delay: 600s
    max_attempts: 3
    window: 120s
#entrypoint: dumb-init /bin/bash -i
#stdin_open: true
#tty: true
dns:
- 1.1.1.1

Current Behavior

listen-address does not get set to 0.0.0.0

root@72296ea7041e:/# grep ^listen-address /etc/privoxy/config
listen-address 10.0.0.12:3128
root@72296ea7041e:/# 

netstat -na shows it listening on the default address.

Expected Behavior

listen-address gets set to 0.0.0.0

How have you tried to solve the problem?

Verified privoxy config is not getting updated with WEBPROXY_BIND_ADDRESS value

Log output

Modification: Change ca certificate path
Modification: Change ping options
Modification: Update/set resolv-retry to 15 seconds
Modification: Change tls-crypt keyfile path
Modification: Set output verbosity to 3
Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop
Modification: Updating status for config failure detection
Setting OpenVPN credentials...
xxx removed xxx
Up script executed with device=tun0 ifconfig_local=10.100.0.2
Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.100.0.2
Enforcing ownership on transmission directories
Applying permissions to transmission directories
Setting owner for transmission paths to xxxx:xxxx
Setting permissions for download and incomplete directories
umask: 2
Directories: 775
Files: 664
Setting permission for watch directory (775) and its files (664)
-------------------------------------
Transmission will run as
-------------------------------------
User name:   abc
User uid:    xxxx
User gid:    xxxx
-------------------------------------
Updating Transmission settings.json with values from env variables
Attempting to use existing settings.json for Transmission
Successfully used existing settings.json /data/transmission-home/settings.json
Overriding bind-address-ipv4 because TRANSMISSION_BIND_ADDRESS_IPV4 is set to 10.100.0.2
Overriding download-dir because TRANSMISSION_DOWNLOAD_DIR is set to xxx
Overriding incomplete-dir because TRANSMISSION_INCOMPLETE_DIR is set to xxx
Overriding ratio-limit because TRANSMISSION_RATIO_LIMIT is set to 0
Overriding ratio-limit-enabled because TRANSMISSION_RATIO_LIMIT_ENABLED is set to true
Overriding rpc-password because TRANSMISSION_RPC_PASSWORD is set to [REDACTED]
Overriding rpc-port because TRANSMISSION_RPC_PORT is set to 9091
Overriding rpc-username because TRANSMISSION_RPC_USERNAME is set to 
Overriding speed-limit-up because TRANSMISSION_SPEED_LIMIT_UP is set to 10
Overriding watch-dir because TRANSMISSION_WATCH_DIR is set to xxx
sed'ing True to true
DROPPING DEFAULT ROUTE
STARTING TRANSMISSION
Transmission startup script complete.
Privoxy: Starting
Privoxy: Using config file at /etc/privoxy/config
Privoxy: Setting port to 3128
Privoxy: Running as PID 180
2025-10-08 08:36:51 Initialization Sequence Completed

HW/SW Environment

- OS: Debian trixie
- Docker: 28.5.0, build 887030f

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions