haugene transmission openvpn no webui access

  • After many hours I still cannot get any WebUI to display. I am using PureVPN. I have tried deafult port and port 8080, still cannot connect. I have tried driver bridge and host mode. Testing connectivity from the container seems to be ok, but connecting via webui doesnt work. Any help and insight is appriciated.

    Its healthy and logs seem to be fine:



    TRANSMISSION_HOME is currently set to: /config/transmission-home

    Creating TUN device /dev/net/tun

    Using OpenVPN provider: CUSTOM

    Running with VPN_CONFIG_SOURCE auto

    CUSTOM provider specified but not using default.ovpn, will try to find a valid config mounted to /etc/openvpn/custom

    Starting OpenVPN using config Australia-Sydney.ovpn

    Modifying /etc/openvpn/custom/Australia-Sydney.ovpn for best behaviour in this container

    Modification: Point auth-user-pass option to the username/password file

    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...

    adding route to local network 192.168.10.0/24 via 172.20.0.1 dev eth0

    2024-10-07 15:22:51 OpenVPN 2.5.9 aarch64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 29 2023

    2024-10-07 15:22:51 library versions: OpenSSL 3.0.2 15 Mar 2022, LZO 2.10

    2024-10-07 15:22:51 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

    2024-10-07 15:22:51 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

    2024-10-07 15:22:51 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

    2024-10-07 15:22:51 TCP/UDP: Preserving recently used remote address: [AF_INET]103.1.215.104:15021

    2024-10-07 15:22:51 Socket Buffers: R=[212992->212992] S=[212992->212992]

    2024-10-07 15:22:51 UDP link local: (not bound)

    2024-10-07 15:22:51 UDP link remote: [AF_INET]103.1.215.104:15021

    2024-10-07 15:22:51 TLS: Initial packet from [AF_INET]103.1.215.104:15021, sid=003e6916 83e4f502

    2024-10-07 15:22:51 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this

    2024-10-07 15:22:51 VERIFY OK: depth=2, C=VG, ST=Tortola, L=Roadtown, O=Secure-ServerQ, OU=IT, CN=Secure-ServerQ, emailAddress=mail@host.domain

    2024-10-07 15:22:51 VERIFY OK: depth=1, C=VG, ST=Tortola, O=Secure-ServerQ, OU=IT, CN=Secure-InterQ, emailAddress=mail@host.domain

    2024-10-07 15:22:51 VERIFY KU OK

    2024-10-07 15:22:51 Validating certificate extended key usage

    2024-10-07 15:22:51 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication

    2024-10-07 15:22:51 VERIFY EKU OK

    2024-10-07 15:22:51 VERIFY OK: depth=0, C=VG, ST=Tortola, L=Roadtown, O=SecureServer-QCA, CN=lux-15-09-01 , emailAddress=me@myhost.mydomain

    2024-10-07 15:22:51 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 4096 bit RSA, signature: RSA-SHA256

    2024-10-07 15:22:51 [lux-15-09-01 ] Peer Connection Initiated with [AF_INET]103.1.215.104:15021

    2024-10-07 15:22:51 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 103.1.215.100,dhcp-option DNS 103.1.215.102,sndbuf 393216,rcvbuf 393216,comp-lzo no,route-gateway 10.15.11.1,topology subnet,ping 10,ping-restart 120,ifconfig 10.15.11.3 255.255.255.0,peer-id 1,cipher AES-256-GCM'

    2024-10-07 15:22:51 Options error: option 'redirect-gateway' cannot be used in this context ([PUSH-OPTIONS])

    2024-10-07 15:22:51 Options error: option 'dhcp-option' cannot be used in this context ([PUSH-OPTIONS])

    2024-10-07 15:22:51 Options error: option 'dhcp-option' cannot be used in this context ([PUSH-OPTIONS])

    2024-10-07 15:22:51 OPTIONS IMPORT: timers and/or timeouts modified

    2024-10-07 15:22:51 OPTIONS IMPORT: compression parms modified

    2024-10-07 15:22:51 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified

    2024-10-07 15:22:51 Socket Buffers: R=[212992->425984] S=[212992->425984]

    2024-10-07 15:22:51 OPTIONS IMPORT: --ifconfig/up options modified

    2024-10-07 15:22:51 OPTIONS IMPORT: route-related options modified

    2024-10-07 15:22:51 OPTIONS IMPORT: peer-id set

    2024-10-07 15:22:51 OPTIONS IMPORT: adjusting link_mtu to 1625

    2024-10-07 15:22:51 OPTIONS IMPORT: data channel crypto options modified

    2024-10-07 15:22:51 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key

    2024-10-07 15:22:51 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key

    2024-10-07 15:22:51 net_route_v4_best_gw query: dst 0.0.0.0

    2024-10-07 15:22:51 net_route_v4_best_gw result: via 172.20.0.1 dev eth0

    2024-10-07 15:22:51 ROUTE_GATEWAY 172.20.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:14:00:02

    2024-10-07 15:22:51 TUN/TAP device tun0 opened

    2024-10-07 15:22:51 net_iface_mtu_set: mtu 1500 for tun0

    2024-10-07 15:22:51 net_iface_up: set tun0 up

    2024-10-07 15:22:51 net_addr_v4_add: 10.15.11.3/24 dev tun0

    2024-10-07 15:22:51 net_route_v4_add: 192.168.10.0/24 via 10.15.11.1 dev [NULL] table 0 metric -1

    Up script executed with device=tun0 ifconfig_local=10.15.11.3

    Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.15.11.3

    Enforcing ownership on transmission directories

    Applying permissions to transmission directories

    Setting owner for transmission paths to 1000:1000

    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: 1000

    User gid: 1000

    -------------------------------------

    Updating Transmission settings.json with values from env variables

    Attempting to use existing settings.json for Transmission

    Successfully used existing settings.json /config/transmission-home/settings.json

    Overriding bind-address-ipv4 because TRANSMISSION_BIND_ADDRESS_IPV4 is set to 10.15.11.3

    Overriding download-dir because TRANSMISSION_DOWNLOAD_DIR is set to /data/completed

    Overriding incomplete-dir because TRANSMISSION_INCOMPLETE_DIR is set to /data/incomplete

    Overriding rpc-password because TRANSMISSION_RPC_PASSWORD is set to [REDACTED]

    Overriding rpc-port because TRANSMISSION_RPC_PORT is set to 8080

    Overriding rpc-username because TRANSMISSION_RPC_USERNAME is set to

    Overriding watch-dir because TRANSMISSION_WATCH_DIR is set to /data/watch

    sed'ing True to true

    STARTING TRANSMISSION

    Transmission startup script complete.

    2024-10-07 15:22:52 Initialization Sequence Completed




    Heres my docker compose

    services:

    transmission:

    image: haugene/transmission-openvpn:latest

    container_name: transmission

    cap_add:

    - NET_ADMIN

    environment:

    - OPENVPN_PROVIDER=CUSTOM

    - OPENVPN_CONFIG=Australia-Sydney

    - OPENVPN_USERNAME=*************

    - OPENVPN_PASSWORD=*************

    - PUID=1000

    - PGID=1000

    - TZ=Australia/Sydney

    - LOCAL_NETWORK=192.168.10.0/24

    - TRANSMISSION_RPC_PORT=8080


    volumes:

    - /home/pi/media-control/transmissionvpn:/config

    - /srv/dev-disk-by-uuid-576abf25-de10-4209-9d7b-5aae609b0ae8/2TB-MEDIA:/downloads

    - /home/pi/media-control/transmissionvpn/Australia-Sydney:/etc/openvpn/custom


    ports:

    - "8080:8080" # Transmission Web UI

    - "51413:51413" # Transmission P2P port

    - "51413:51413/udp" # Transmission UDP port

    restart: unless-stopped

    dns:

    - 1.1.1.1

    - 1.0.0.1


    networks:

    default:

    driver: bridge

  • chente

    Approved the thread.
  • Log is hard to read but looks like all ok.


    Maybe don’t use the custom port for the gui and see if you can access on port 9091.

    OMV 8 (latest) on N100 minipc (16GB) and rpi5 (8GB). OS on SSD/SD. System ext4 on SSD. Data BTRFS on HDDs

  • for reference - here is my working compose for this.


    OMV 8 (latest) on N100 minipc (16GB) and rpi5 (8GB). OS on SSD/SD. System ext4 on SSD. Data BTRFS on HDDs

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!