Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container routing issues after update #2904

Open
8 tasks done
jmdarr opened this issue Dec 30, 2024 · 4 comments
Open
8 tasks done

Container routing issues after update #2904

jmdarr opened this issue Dec 30, 2024 · 4 comments

Comments

@jmdarr
Copy link

jmdarr commented Dec 30, 2024

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

services:
  transmission-openvpn:
    container_name: transmission-openvpn
    image: haugene/transmission-openvpn:latest
    stdin_open: true
    tty: true
    networks:
      contoso.local:
        ipv4_address: 192.168.0.37
    environment:
      - OPENVPN_PROVIDER=custom
      - LOCAL_NETWORK=192.168.0.0/24
      - PUID=8675309
      - PGUID=8675309
    cap_add:
      - NET_ADMIN
    logging:
      driver: json-file
      options:
        max-size: 10m
    ports:
      - 9091:9091
    volumes:
      - /nas/virtualization/containers/transmission-openvpn/openvpn:/etc/openvpn/custom
      - /nas/virtualization/containers/transmission-openvpn/.creds:/config/openvpn-credentials.txt
      - /nas/downloads:/data
      - /nas/virtualization/containers/transmission-openvpn/transmission:/config/transmission-home
    #restart: unless-stopped

networks:
    contoso.local:
        external: true

Current Behavior

When moving from old version (4.1) to a newer version (latest) the container attempts to come up and fails to stay up due to failing the network ping test.

Expected Behavior

The web interface is available on the expected IP (192.168.0.37) and is stable.

How have you tried to solve the problem?

  1. Tried release tag 5.2 per Container exiting after ping timeout, stuck in a loop #2790.
  2. Tried dev release.
  3. Tried setting DNS specifically to 8.8.8.8 via docker-compose file.
  4. Ensured .ovpn file is good by running with older container.
  5. Ensured valid settings.json file by running with older container.
  6. Attempted to use the provided TORGUARD OVPN_PROVIDER option, as well as the appropriate OVPN_CONFIG line. Additionally, ran with just the OVPN_PROVIDER and no OVPN_CONFIG line, as mentioned as being a fix in the above linked issue.
  7. Removed the networking portion of my config and let the service run with forwarded ports on the host. This allowed the service to be accessible and download files. It appears the network config is the specific issue with the newer image.

Log output

Newer (latest), failing:

[jdarr@docker transmission-openvpn]$ docker-compose -f ./transmission-openvpn.docker-compose up
Creating transmission-openvpn ... done
Attaching to transmission-openvpn
transmission-openvpn    | Starting container with revision: 07f5a2b9aea5028c9bb75438c1552708e91dde71
transmission-openvpn    | TRANSMISSION_HOME is currently set to: /config/transmission-home
transmission-openvpn    | WARNING: Deprecated. Found old default transmission-home folder at /data/transmission-home, setting this as TRANSMISSION_HOME. This might break in future versions.
transmission-openvpn    | We will fallback to this directory as long as the folder exists. Please consider moving it to /config/transmission-home
transmission-openvpn    | Creating TUN device /dev/net/tun
transmission-openvpn    | Using OpenVPN provider: CUSTOM
transmission-openvpn    | Modifying /etc/openvpn/custom/default.ovpn for best behaviour in this container
transmission-openvpn    | Modification: Point auth-user-pass option to the username/password file
transmission-openvpn    | Modification: Change ca certificate path
transmission-openvpn    | Modification: Change ping options
transmission-openvpn    | Modification: Update/set resolv-retry to 15 seconds
transmission-openvpn    | Modification: Change tls-crypt keyfile path
transmission-openvpn    | Modification: Set output verbosity to 3
transmission-openvpn    | Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop
transmission-openvpn    | Modification: Updating status for config failure detection
transmission-openvpn    | Found existing OPENVPN credentials at /config/openvpn-credentials.txt
transmission-openvpn    | adding route to local network 192.168.0.0/24 via 192.168.0.1 dev eth0
transmission-openvpn    | 2024-12-30 00:01:59 DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-128-CBC' to --data-ciphers or change --cipher 'AES-128-CBC' to --data-ciphers-fallback 'AES-128-CBC' to silence this warning.
transmission-openvpn    | 2024-12-30 00:01:59 WARNING: file '/config/openvpn-credentials.txt' is group or others accessible
transmission-openvpn    | 2024-12-30 00:01:59 OpenVPN 2.5.9 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 29 2023
transmission-openvpn    | 2024-12-30 00:01:59 library versions: OpenSSL 3.0.2 15 Mar 2022, LZO 2.10
transmission-openvpn    | 2024-12-30 00:01:59 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
transmission-openvpn    | 2024-12-30 00:01:59 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
transmission-openvpn    | 2024-12-30 00:01:59 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
transmission-openvpn    | 2024-12-30 00:01:59 TCP/UDP: Preserving recently used remote address: [AF_INET]107.181.189.37:1215
transmission-openvpn    | 2024-12-30 00:01:59 Socket Buffers: R=[212992->212992] S=[212992->212992]
transmission-openvpn    | 2024-12-30 00:01:59 UDP link local: (not bound)
transmission-openvpn    | 2024-12-30 00:01:59 UDP link remote: [AF_INET]107.181.189.37:1215
transmission-openvpn    | 2024-12-30 00:01:59 TLS: Initial packet from [AF_INET]107.181.189.37:1215, sid=39a507fd ecdf53c2
transmission-openvpn    | 2024-12-30 00:01:59 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
transmission-openvpn    | 2024-12-30 00:01:59 VERIFY OK: depth=1, CN=TG-VPN-CA
transmission-openvpn    | 2024-12-30 00:01:59 VERIFY KU OK
transmission-openvpn    | 2024-12-30 00:01:59 Validating certificate extended key usage
transmission-openvpn    | 2024-12-30 00:01:59 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
transmission-openvpn    | 2024-12-30 00:01:59 VERIFY EKU OK
transmission-openvpn    | 2024-12-30 00:01:59 VERIFY OK: depth=0, CN=server
transmission-openvpn    | 2024-12-30 00:01:59 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1633', remote='link-mtu 1601'
transmission-openvpn    | 2024-12-30 00:01:59 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
transmission-openvpn    | 2024-12-30 00:01:59 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 2048 bit RSA, signature: RSA-SHA256
transmission-openvpn    | 2024-12-30 00:01:59 [server] Peer Connection Initiated with [AF_INET]107.181.189.37:1215
transmission-openvpn    | 2024-12-30 00:02:00 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
transmission-openvpn    | 2024-12-30 00:02:00 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.9.0.1,dhcp-option DNS 10.8.0.1,sndbuf 524288,rcvbuf 524288,route 10.37.0.1,topology net30,ping 5,ping-restart 30,compress,ifconfig 10.37.0.6 10.37.0.5,peer-id 0,cipher AES-256-GCM'
transmission-openvpn    | 2024-12-30 00:02:00 OPTIONS IMPORT: timers and/or timeouts modified
transmission-openvpn    | 2024-12-30 00:02:00 OPTIONS IMPORT: compression parms modified
transmission-openvpn    | 2024-12-30 00:02:00 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
transmission-openvpn    | 2024-12-30 00:02:00 Socket Buffers: R=[212992->425984] S=[212992->425984]
transmission-openvpn    | 2024-12-30 00:02:00 OPTIONS IMPORT: --ifconfig/up options modified
transmission-openvpn    | 2024-12-30 00:02:00 OPTIONS IMPORT: route options modified
transmission-openvpn    | 2024-12-30 00:02:00 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
transmission-openvpn    | 2024-12-30 00:02:00 OPTIONS IMPORT: peer-id set
transmission-openvpn    | 2024-12-30 00:02:00 OPTIONS IMPORT: adjusting link_mtu to 1656
transmission-openvpn    | 2024-12-30 00:02:00 OPTIONS IMPORT: data channel crypto options modified
transmission-openvpn    | 2024-12-30 00:02:00 Data Channel: using negotiated cipher 'AES-256-GCM'
transmission-openvpn    | 2024-12-30 00:02:00 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
transmission-openvpn    | 2024-12-30 00:02:00 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
transmission-openvpn    | 2024-12-30 00:02:00 net_route_v4_best_gw query: dst 0.0.0.0
transmission-openvpn    | 2024-12-30 00:02:00 net_route_v4_best_gw result: via 192.168.0.1 dev eth0
transmission-openvpn    | 2024-12-30 00:02:00 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=eth0 HWADDR=e6:77:68:74:d3:0d
transmission-openvpn    | 2024-12-30 00:02:00 TUN/TAP device tun0 opened
transmission-openvpn    | 2024-12-30 00:02:00 net_iface_mtu_set: mtu 1500 for tun0
transmission-openvpn    | 2024-12-30 00:02:00 net_iface_up: set tun0 up
transmission-openvpn    | 2024-12-30 00:02:00 net_addr_ptp_v4_add: 10.37.0.6 peer 10.37.0.5 dev tun0
transmission-openvpn    | 2024-12-30 00:02:00 net_route_v4_add: 107.181.189.37/32 via 192.168.0.1 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-30 00:02:00 sitnl_send: rtnl: generic error (-101): Network is unreachable
transmission-openvpn    | 2024-12-30 00:02:00 ERROR: Linux route add command failed
transmission-openvpn    | 2024-12-30 00:02:00 net_route_v4_add: 0.0.0.0/1 via 10.37.0.5 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-30 00:02:00 net_route_v4_add: 128.0.0.0/1 via 10.37.0.5 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-30 00:02:00 net_route_v4_add: 10.37.0.1/32 via 10.37.0.5 dev [NULL] table 0 metric -1
transmission-openvpn    | Up script executed with device=tun0 ifconfig_local=10.37.0.6
transmission-openvpn    | Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.37.0.6
transmission-openvpn    | Enforcing ownership on transmission directories
transmission-openvpn    | Applying permissions to transmission directories
transmission-openvpn    | Setting owner for transmission paths to 8675309:
transmission-openvpn    | Setting permissions for download and incomplete directories
transmission-openvpn    | umask: 0
transmission-openvpn    | Directories: 777
transmission-openvpn    | Files: 666
transmission-openvpn    | Setting permission for watch directory (775) and its files (664)
transmission-openvpn    |
transmission-openvpn    | -------------------------------------
transmission-openvpn    | Transmission will run as
transmission-openvpn    | -------------------------------------
transmission-openvpn    | User name:   abc
transmission-openvpn    | User uid:    8675309
transmission-openvpn    | User gid:    1001
transmission-openvpn    | -------------------------------------
transmission-openvpn    |
transmission-openvpn    | Updating Transmission settings.json with values from env variables
transmission-openvpn    | Attempting to use existing settings.json for Transmission
transmission-openvpn    | Successfully used existing settings.json /data/transmission-home/settings.json
transmission-openvpn    | Overriding bind-address-ipv4 because TRANSMISSION_BIND_ADDRESS_IPV4 is set to 10.37.0.6
transmission-openvpn    | Overriding download-dir because TRANSMISSION_DOWNLOAD_DIR is set to /data/completed
transmission-openvpn    | Overriding incomplete-dir because TRANSMISSION_INCOMPLETE_DIR is set to /data/incomplete
transmission-openvpn    | Overriding rpc-password because TRANSMISSION_RPC_PASSWORD is set to [REDACTED]
transmission-openvpn    | Overriding rpc-port because TRANSMISSION_RPC_PORT is set to 9091
transmission-openvpn    | Overriding rpc-username because TRANSMISSION_RPC_USERNAME is set to
transmission-openvpn    | Overriding watch-dir because TRANSMISSION_WATCH_DIR is set to /data/watch
transmission-openvpn    | sed'ing True to true
transmission-openvpn    | STARTING TRANSMISSION
transmission-openvpn    | Transmission startup script complete.
transmission-openvpn    | 2024-12-30 00:02:01 Initialization Sequence Completed
transmission-openvpn    | 2024-12-30 00:03:25 [server] Inactivity timeout (--ping-restart), restarting
transmission-openvpn    | 2024-12-30 00:03:25 /etc/openvpn/tunnelDown.sh tun0 1500 1584 10.37.0.6 10.37.0.5 init
transmission-openvpn    | resolv.conf was restored
transmission-openvpn    | Sending kill signal to transmission-daemon
transmission-openvpn    | Successfuly closed transmission-daemon
transmission-openvpn    | 2024-12-30 00:03:26 net_route_v4_del: 10.37.0.1/32 via 10.37.0.5 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-30 00:03:26 net_route_v4_del: 107.181.189.37/32 via 192.168.0.1 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-30 00:03:26 sitnl_send: rtnl: generic error (-3): No such process
transmission-openvpn    | 2024-12-30 00:03:26 ERROR: Linux route delete command failed
transmission-openvpn    | 2024-12-30 00:03:26 net_route_v4_del: 0.0.0.0/1 via 10.37.0.5 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-30 00:03:26 net_route_v4_del: 128.0.0.0/1 via 10.37.0.5 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-30 00:03:26 Closing TUN/TAP interface
transmission-openvpn    | 2024-12-30 00:03:26 net_addr_ptp_v4_del: 10.37.0.6 dev tun0
transmission-openvpn    | 2024-12-30 00:03:26 SIGTERM[soft,ping-restart] received, process exiting
transmission-openvpn exited with code 0

Older (4.2), working:

[jdarr@docker transmission-openvpn]$ docker-compose -f ./transmission-openvpn.docker-compose up
Creating transmission-openvpn ... done
Attaching to transmission-openvpn
transmission-openvpn    | Starting container with revision: 84941a9ea4663d8b2e1af3db1d50fe4f7fa8736e
transmission-openvpn    | Creating TUN device /dev/net/tun
transmission-openvpn    | Using OpenVPN provider: CUSTOM
transmission-openvpn    | Running with VPN_CONFIG_SOURCE auto
transmission-openvpn    | No bundled config script found for CUSTOM. Defaulting to external config
transmission-openvpn    | Downloading configs from https://github.com/haugene/vpn-configs-contrib/archive/main.zip into /tmp/tmp.eIBXwngoz7
transmission-openvpn    | Extracting configs to /tmp/tmp.58hpUuOCdr
transmission-openvpn    | ERROR: Could not find any configs for provider CUSTOM in downloaded configs
transmission-openvpn    | Cleanup: deleting /tmp/tmp.eIBXwngoz7 and /tmp/tmp.58hpUuOCdr
transmission-openvpn    | No VPN configuration provided. Using default.
transmission-openvpn    | Modifying /etc/openvpn/custom/default.ovpn for best behaviour in this container
transmission-openvpn    | Modification: Point auth-user-pass option to the username/password file
transmission-openvpn    | Modification: Change ca certificate path
transmission-openvpn    | Modification: Change ping options
transmission-openvpn    | Modification: Update/set resolv-retry to 15 seconds
transmission-openvpn    | Modification: Change tls-crypt keyfile path
transmission-openvpn    | Modification: Set output verbosity to 3
transmission-openvpn    | Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop
transmission-openvpn    | Found existing OPENVPN credentials at /config/openvpn-credentials.txt
transmission-openvpn    | adding route to local network 192.168.0.0/24 via 192.168.0.1 dev eth0
transmission-openvpn    | RTNETLINK answers: File exists
transmission-openvpn    | Sun Dec 29 23:59:23 2024 WARNING: file '/config/openvpn-credentials.txt' is group or others accessible
transmission-openvpn    | Sun Dec 29 23:59:23 2024 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2022
transmission-openvpn    | Sun Dec 29 23:59:23 2024 library versions: OpenSSL 1.1.1f  31 Mar 2020, LZO 2.10
transmission-openvpn    | Sun Dec 29 23:59:23 2024 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
transmission-openvpn    | Sun Dec 29 23:59:23 2024 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
transmission-openvpn    | Sun Dec 29 23:59:23 2024 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
transmission-openvpn    | Sun Dec 29 23:59:23 2024 TCP/UDP: Preserving recently used remote address: [AF_INET]107.181.189.41:1215
transmission-openvpn    | Sun Dec 29 23:59:23 2024 Socket Buffers: R=[212992->212992] S=[212992->212992]
transmission-openvpn    | Sun Dec 29 23:59:23 2024 UDP link local: (not bound)
transmission-openvpn    | Sun Dec 29 23:59:23 2024 UDP link remote: [AF_INET]107.181.189.41:1215
transmission-openvpn    | Sun Dec 29 23:59:23 2024 TLS: Initial packet from [AF_INET]107.181.189.41:1215, sid=640c3a60 5fdc6cf3
transmission-openvpn    | Sun Dec 29 23:59:23 2024 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
transmission-openvpn    | Sun Dec 29 23:59:23 2024 VERIFY OK: depth=1, CN=TG-VPN-CA
transmission-openvpn    | Sun Dec 29 23:59:23 2024 VERIFY KU OK
transmission-openvpn    | Sun Dec 29 23:59:23 2024 Validating certificate extended key usage
transmission-openvpn    | Sun Dec 29 23:59:23 2024 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
transmission-openvpn    | Sun Dec 29 23:59:23 2024 VERIFY EKU OK
transmission-openvpn    | Sun Dec 29 23:59:23 2024 VERIFY OK: depth=0, CN=server
transmission-openvpn    | Sun Dec 29 23:59:23 2024 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1633', remote='link-mtu 1601'
transmission-openvpn    | Sun Dec 29 23:59:23 2024 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
transmission-openvpn    | Sun Dec 29 23:59:23 2024 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
transmission-openvpn    | Sun Dec 29 23:59:23 2024 [server] Peer Connection Initiated with [AF_INET]107.181.189.41:1215
transmission-openvpn    | Sun Dec 29 23:59:25 2024 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
transmission-openvpn    | Sun Dec 29 23:59:25 2024 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.9.0.1,dhcp-option DNS 10.8.0.1,sndbuf 524288,rcvbuf 524288,route 10.37.0.1,topology net30,ping 5,ping-restart 30,compress,ifconfig 10.37.0.6 10.37.0.5,peer-id 1,cipher AES-256-GCM'
transmission-openvpn    | Sun Dec 29 23:59:25 2024 OPTIONS IMPORT: timers and/or timeouts modified
transmission-openvpn    | Sun Dec 29 23:59:25 2024 OPTIONS IMPORT: compression parms modified
transmission-openvpn    | Sun Dec 29 23:59:25 2024 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
transmission-openvpn    | Sun Dec 29 23:59:25 2024 Socket Buffers: R=[212992->425984] S=[212992->425984]
transmission-openvpn    | Sun Dec 29 23:59:25 2024 OPTIONS IMPORT: --ifconfig/up options modified
transmission-openvpn    | Sun Dec 29 23:59:25 2024 OPTIONS IMPORT: route options modified
transmission-openvpn    | Sun Dec 29 23:59:25 2024 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
transmission-openvpn    | Sun Dec 29 23:59:25 2024 OPTIONS IMPORT: peer-id set
transmission-openvpn    | Sun Dec 29 23:59:25 2024 OPTIONS IMPORT: adjusting link_mtu to 1656
transmission-openvpn    | Sun Dec 29 23:59:25 2024 OPTIONS IMPORT: data channel crypto options modified
transmission-openvpn    | Sun Dec 29 23:59:25 2024 Data Channel: using negotiated cipher 'AES-256-GCM'
transmission-openvpn    | Sun Dec 29 23:59:25 2024 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
transmission-openvpn    | Sun Dec 29 23:59:25 2024 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
transmission-openvpn    | Sun Dec 29 23:59:25 2024 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=eth0 HWADDR=e6:77:68:74:d3:0d
transmission-openvpn    | Sun Dec 29 23:59:25 2024 TUN/TAP device tun0 opened
transmission-openvpn    | Sun Dec 29 23:59:25 2024 TUN/TAP TX queue length set to 100
transmission-openvpn    | Sun Dec 29 23:59:25 2024 /sbin/ip link set dev tun0 up mtu 1500
transmission-openvpn    | Sun Dec 29 23:59:25 2024 /sbin/ip addr add dev tun0 local 10.37.0.6 peer 10.37.0.5
transmission-openvpn    | Sun Dec 29 23:59:25 2024 /etc/openvpn/tunnelUp.sh tun0 1500 1584 10.37.0.6 10.37.0.5 init
transmission-openvpn    | Up script executed with tun0 1500 1584 10.37.0.6 10.37.0.5 init
transmission-openvpn    | Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.37.0.6
transmission-openvpn    | Updating Transmission settings.json with values from env variables
transmission-openvpn    | Using existing settings.json for Transmission /data/transmission-home/settings.json
transmission-openvpn    | Overriding bind-address-ipv4 because TRANSMISSION_BIND_ADDRESS_IPV4 is set to 10.37.0.6
transmission-openvpn    | Overriding download-dir because TRANSMISSION_DOWNLOAD_DIR is set to /data/completed
transmission-openvpn    | Overriding incomplete-dir because TRANSMISSION_INCOMPLETE_DIR is set to /data/incomplete
transmission-openvpn    | Overriding rpc-port because TRANSMISSION_RPC_PORT is set to 9091
transmission-openvpn    | Overriding watch-dir because TRANSMISSION_WATCH_DIR is set to /data/watch
transmission-openvpn    | sed'ing True to true
transmission-openvpn    | Enforcing ownership on transmission config directories
transmission-openvpn    | Applying permissions to transmission config directories
transmission-openvpn    | Setting owner for transmission paths to 8675309:
transmission-openvpn    | Setting permissions for download and incomplete directories
transmission-openvpn    | Mask: 060
transmission-openvpn    | Directories: 717
transmission-openvpn    | Files: 606
transmission-openvpn    | Setting permission for watch directory (775) and its files (664)
transmission-openvpn    |
transmission-openvpn    | -------------------------------------
transmission-openvpn    | Transmission will run as
transmission-openvpn    | -------------------------------------
transmission-openvpn    | User name:   abc
transmission-openvpn    | User uid:    8675309
transmission-openvpn    | User gid:    1001
transmission-openvpn    | -------------------------------------
transmission-openvpn    |
transmission-openvpn    | STARTING TRANSMISSION
transmission-openvpn    | Transmission startup script complete.
transmission-openvpn    | Sun Dec 29 23:59:25 2024 /sbin/ip route add 107.181.189.41/32 via 192.168.0.1
transmission-openvpn    | Sun Dec 29 23:59:25 2024 /sbin/ip route add 0.0.0.0/1 via 10.37.0.5
transmission-openvpn    | Sun Dec 29 23:59:25 2024 /sbin/ip route add 128.0.0.0/1 via 10.37.0.5
transmission-openvpn    | Sun Dec 29 23:59:25 2024 /sbin/ip route add 10.37.0.1/32 via 10.37.0.5
transmission-openvpn    | Sun Dec 29 23:59:25 2024 Initialization Sequence Completed

HW/SW Environment

- OS: AlmaLinux 8.10 (Cerulean Leopard)
- Docker: docker-ce-26.1.3-1.el8.x86_64

Anything else?

It seems to me that something changed with the network routing application between the versions in this issue (4.1, latest). Specifically, we can see the routes being added in the older container version logs:

transmission-openvpn    | Sun Dec 29 23:59:25 2024 /sbin/ip route add 107.181.189.41/32 via 192.168.0.1
transmission-openvpn    | Sun Dec 29 23:59:25 2024 /sbin/ip route add 0.0.0.0/1 via 10.37.0.5
transmission-openvpn    | Sun Dec 29 23:59:25 2024 /sbin/ip route add 128.0.0.0/1 via 10.37.0.5
transmission-openvpn    | Sun Dec 29 23:59:25 2024 /sbin/ip route add 10.37.0.1/32 via 10.37.0.5

However, in the newer (latest) version, we can see this failing:

transmission-openvpn    | 2024-12-30 00:02:00 TUN/TAP device tun0 opened
transmission-openvpn    | 2024-12-30 00:02:00 net_iface_mtu_set: mtu 1500 for tun0
transmission-openvpn    | 2024-12-30 00:02:00 net_iface_up: set tun0 up
transmission-openvpn    | 2024-12-30 00:02:00 net_addr_ptp_v4_add: 10.37.0.6 peer 10.37.0.5 dev tun0
transmission-openvpn    | 2024-12-30 00:02:00 net_route_v4_add: 107.181.189.37/32 via 192.168.0.1 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-30 00:02:00 sitnl_send: rtnl: generic error (-101): Network is unreachable
transmission-openvpn    | 2024-12-30 00:02:00 ERROR: Linux route add command failed
transmission-openvpn    | 2024-12-30 00:02:00 net_route_v4_add: 0.0.0.0/1 via 10.37.0.5 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-30 00:02:00 net_route_v4_add: 128.0.0.0/1 via 10.37.0.5 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-30 00:02:00 net_route_v4_add: 10.37.0.1/32 via 10.37.0.5 dev [NULL] table 0 metric -1

It looks like the deep dive portion of the networking info in the support pages are being worked on, so I don't have a huge insight into how this is different or should be working.

@jmdarr
Copy link
Author

jmdarr commented Dec 31, 2024

Here is output with the environment variable DEBUG set to true and CONFIG_MOD_VERBOSITY set to 6:

[jdarr@docker transmission-openvpn]$ docker-compose -f ./transmission-openvpn.docker-compose up 2>&1 | grep -vP '((TUN|UDP) (READ|WRITE)|Recursive routing detected)'
Creating transmission-openvpn ...
Creating transmission-openvpn ... done
Attaching to transmission-openvpn
transmission-openvpn    | + [[ -n 07f5a2b9aea5028c9bb75438c1552708e91dde71 ]]
transmission-openvpn    | + echo 'Starting container with revision: 07f5a2b9aea5028c9bb75438c1552708e91dde71'
transmission-openvpn    | Starting container with revision: 07f5a2b9aea5028c9bb75438c1552708e91dde71
transmission-openvpn    | + echo 'TRANSMISSION_HOME is currently set to: /config/transmission-home'
transmission-openvpn    | TRANSMISSION_HOME is currently set to: /config/transmission-home
transmission-openvpn    | + [[ /config != \/\c\o\n\f\i\g ]]
transmission-openvpn    | + '[' -d /data/transmission-home ']'
transmission-openvpn    | + TRANSMISSION_HOME=/data/transmission-home
transmission-openvpn    | + echo 'WARNING: Deprecated. Found old default transmission-home folder at /data/transmission-home, setting this as TRANSMISSION_HOME. This might break in future versions.'
transmission-openvpn    | WARNING: Deprecated. Found old default transmission-home folder at /data/transmission-home, setting this as TRANSMISSION_HOME. This might break in future versions.
transmission-openvpn    | + echo 'We will fallback to this directory as long as the folder exists. Please consider moving it to /config/transmission-home'
transmission-openvpn    | We will fallback to this directory as long as the folder exists. Please consider moving it to /config/transmission-home
transmission-openvpn    | + [[ -x /scripts/openvpn-pre-start.sh ]]
transmission-openvpn    | + compgen -e
transmission-openvpn    | + grep -q OVERRIDE_DNS
transmission-openvpn    | + nslookup google.com
transmission-openvpn    | + [[ true == \t\r\u\e ]]
transmission-openvpn    | + echo 'Creating TUN device /dev/net/tun'
transmission-openvpn    | Creating TUN device /dev/net/tun
transmission-openvpn    | + rm -f /dev/net/tun
transmission-openvpn    | + mkdir -p /dev/net
transmission-openvpn    | + mknod /dev/net/tun c 10 200
transmission-openvpn    | + chmod 0666 /dev/net/tun
transmission-openvpn    | + VPN_PROVIDER=custom
transmission-openvpn    | + export VPN_PROVIDER=custom
transmission-openvpn    | + VPN_PROVIDER=custom
transmission-openvpn    | + export VPN_PROVIDER_HOME=/etc/openvpn/custom
transmission-openvpn    | + VPN_PROVIDER_HOME=/etc/openvpn/custom
transmission-openvpn    | + mkdir -p /etc/openvpn/custom
transmission-openvpn    | + [[ -z '' ]]
transmission-openvpn    | + [[ custom == \*\*\N\o\n\e\*\* ]]
transmission-openvpn    | + [[ -z custom ]]
transmission-openvpn    | + echo 'Using OpenVPN provider: CUSTOM'
transmission-openvpn    | Using OpenVPN provider: CUSTOM
transmission-openvpn    | + [[ custom == \c\u\s\t\o\m ]]
transmission-openvpn    | + [[ -f /etc/openvpn/custom/default.ovpn ]]
transmission-openvpn    | + CHOSEN_OPENVPN_CONFIG=/etc/openvpn/custom/default.ovpn
transmission-openvpn    | + [[ -z /etc/openvpn/custom/default.ovpn ]]
transmission-openvpn    | + [[ -z /etc/openvpn/custom/default.ovpn ]]
transmission-openvpn    | + mountpoint -q /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + MODIFY_CHOSEN_CONFIG=true
transmission-openvpn    | + [[ true == \t\r\u\e ]]
transmission-openvpn    | + /etc/openvpn/modify-openvpn-config.sh /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + '[' 1 -ne 1 ']'
transmission-openvpn    | + CONFIG=/etc/openvpn/custom/default.ovpn
transmission-openvpn    | + echo 'Modifying /etc/openvpn/custom/default.ovpn for best behaviour in this container'
transmission-openvpn    | Modifying /etc/openvpn/custom/default.ovpn for best behaviour in this container
transmission-openvpn    | + CONFIG_MOD_USERPASS=1
transmission-openvpn    | + CONFIG_MOD_CA_CERTS=1
transmission-openvpn    | + CONFIG_MOD_PING=1
transmission-openvpn    | + CONFIG_MOD_RESOLV_RETRY=1
transmission-openvpn    | + CONFIG_MOD_TLS_CERTS=1
transmission-openvpn    | + CONFIG_MOD_VERBOSITY=6
transmission-openvpn    | + CONFIG_MOD_REMAP_USR1=1
transmission-openvpn    | + CONFIG_MOD_FAILURE_SCRIPT=1
transmission-openvpn    | + [[ 1 == \1 ]]
transmission-openvpn    | + echo 'Modification: Point auth-user-pass option to the username/password file'
transmission-openvpn    | Modification: Point auth-user-pass option to the username/password file
transmission-openvpn    | + sed -i 's#auth-user-pass.*#auth-user-pass /config/openvpn-credentials.txt#g' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + [[ 1 == \1 ]]
transmission-openvpn    | + echo 'Modification: Change ca certificate path'
transmission-openvpn    | Modification: Change ca certificate path
transmission-openvpn    | ++ dirname /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + config_directory=/etc/openvpn/custom
transmission-openvpn    | + sed -i -E 's#ca\s+(.*/)*#ca /etc/openvpn/custom/#g' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + [[ 1 == \1 ]]
transmission-openvpn    | + echo 'Modification: Change ping options'
transmission-openvpn    | Modification: Change ping options
transmission-openvpn    | + sed -i '/^inactive.*$/d' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + sed -i '/^ping.*$/d' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + sed -i '/^keepalive.*$/d' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + sed -i '$q' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + echo 'inactive 3600'
transmission-openvpn    | + echo 'ping 10'
transmission-openvpn    | + echo 'ping-exit 60'
transmission-openvpn    | + [[ 1 == \1 ]]
transmission-openvpn    | + echo 'Modification: Update/set resolv-retry to 15 seconds'
transmission-openvpn    | Modification: Update/set resolv-retry to 15 seconds
transmission-openvpn    | + sed -i '/^resolv-retry.*$/d' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + sed -i '$q' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + echo 'resolv-retry 15'
transmission-openvpn    | + [[ 1 == \1 ]]
transmission-openvpn    | + echo 'Modification: Change tls-crypt keyfile path'
transmission-openvpn    | Modification: Change tls-crypt keyfile path
transmission-openvpn    | ++ dirname /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + config_directory=/etc/openvpn/custom
transmission-openvpn    | + sed -i -E 's#tls-crypt\s+(.*/)*#tls-crypt /etc/openvpn/custom/#g' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + [[ 6 -gt 0 ]]
transmission-openvpn    | + [[ 6 -gt 9 ]]
transmission-openvpn    | + echo 'Modification: Set output verbosity to 6'
transmission-openvpn    | Modification: Set output verbosity to 6
transmission-openvpn    | + sed -i '/^verb.*$/d' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + sed -i '$q' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + echo 'verb 6'
transmission-openvpn    | + [[ 1 == \1 ]]
transmission-openvpn    | + echo 'Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop'
transmission-openvpn    | Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop
transmission-openvpn    | + sed -i '/^remap-usr1.*$/d' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + sed -i '$q' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + echo 'remap-usr1 SIGTERM'
transmission-openvpn    | + [[ 1 == \1 ]]
transmission-openvpn    | + echo 'Modification: Updating status for config failure detection'
transmission-openvpn    | Modification: Updating status for config failure detection
transmission-openvpn    | ++ sed -n 's/^; status \(.*\)/\1/p' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + CONFIG_STATUS=success
transmission-openvpn    | + [[ success == \u\n\k\n\o\w\n ]]
transmission-openvpn    | + [[ success != \f\a\i\l\u\r\e ]]
transmission-openvpn    | + CONFIG_STATUS=unknown
transmission-openvpn    | + sed -i '/^; status.*$/d' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + sed -i '$q' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + echo '; status unknown'
transmission-openvpn    | + [[ unknown == \f\a\i\l\u\r\e ]]
transmission-openvpn    | + [[ -x /scripts/openvpn-post-config.sh ]]
transmission-openvpn    | + mkdir -p /config
transmission-openvpn    | + [[ -f /run/secrets/openvpn_creds ]]
transmission-openvpn    | + [[ **None** == \*\*\N\o\n\e\*\* ]]
transmission-openvpn    | + [[ ! -f /config/openvpn-credentials.txt ]]
transmission-openvpn    | + echo 'Found existing OPENVPN credentials at /config/openvpn-credentials.txt'
transmission-openvpn    | Found existing OPENVPN credentials at /config/openvpn-credentials.txt
transmission-openvpn    | + [[ -f /run/secrets/rpc_creds ]]
transmission-openvpn    | + echo ''
transmission-openvpn    | + echo ''
transmission-openvpn    | + export CONFIG=/etc/openvpn/custom/default.ovpn
transmission-openvpn    | + CONFIG=/etc/openvpn/custom/default.ovpn
transmission-openvpn    | + python3 /etc/openvpn/persistEnvironment.py /etc/transmission/environment-variables.sh
transmission-openvpn    | + TRANSMISSION_CONTROL_OPTS='--script-security 2 --route-up /etc/openvpn/tunnelUp.sh --route-pre-down /etc/openvpn/tunnelDown.sh'
transmission-openvpn    | + [[ false == \t\r\u\e ]]
transmission-openvpn    | + [[ -n 192.168.0.0/24 ]]
transmission-openvpn    | ++ /sbin/ip route list match 0.0.0.0
transmission-openvpn    | ++ awk '{if($5!="tun0"){print "GW="$3"\nINT="$5; exit}}'
transmission-openvpn    | + eval GW=192.168.0.1 INT=eth0
transmission-openvpn    | ++ GW=192.168.0.1
transmission-openvpn    | ++ INT=eth0
transmission-openvpn    | + [[ false == \t\r\u\e ]]
transmission-openvpn    | + [[ false == \t\r\u\e ]]
transmission-openvpn    | + [[ -n 192.168.0.0/24 ]]
transmission-openvpn    | + [[ -n 192.168.0.1 ]]
transmission-openvpn    | + [[ -n eth0 ]]
transmission-openvpn    | + for localNet in ${LOCAL_NETWORK//,/ }
transmission-openvpn    | + echo 'adding route to local network 192.168.0.0/24 via 192.168.0.1 dev eth0'
transmission-openvpn    | adding route to local network 192.168.0.0/24 via 192.168.0.1 dev eth0
transmission-openvpn    | + /sbin/ip route replace 192.168.0.0/24 via 192.168.0.1 dev eth0
transmission-openvpn    | + [[ false == \t\r\u\e ]]
transmission-openvpn    | + [[ -x /scripts/routes-post-start.sh ]]
transmission-openvpn    | + [[ false != \f\a\l\s\e ]]
transmission-openvpn    | + exec openvpn --script-security 2 --route-up /etc/openvpn/tunnelUp.sh --route-pre-down /etc/openvpn/tunnelDown.sh --config /etc/openvpn/custom/default.ovpn
transmission-openvpn    | 2024-12-31 20:00:22 us=168447 WARNING: file '/config/openvpn-credentials.txt' is group or others accessible
transmission-openvpn    | 2024-12-31 20:00:22 us=168635 Current Parameter Settings:
transmission-openvpn    | 2024-12-31 20:00:22 us=168675   config = '/etc/openvpn/custom/default.ovpn'
transmission-openvpn    | 2024-12-31 20:00:22 us=168708   mode = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=168756   persist_config = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=168807   persist_mode = 1
transmission-openvpn    | 2024-12-31 20:00:22 us=168854   show_ciphers = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=168902   show_digests = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=168937   show_engines = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=168965   genkey = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=168992   genkey_filename = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=169019   key_pass_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=169046   show_tls_ciphers = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=169072   connect_retry_max = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=169099 Connection profiles [0]:
transmission-openvpn    | 2024-12-31 20:00:22 us=169128   proto = udp
transmission-openvpn    | 2024-12-31 20:00:22 us=169154   local = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=169181   local_port = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=169208   remote = 'cavan.torguard.com'
transmission-openvpn    | 2024-12-31 20:00:22 us=169235   remote_port = '1195'
transmission-openvpn    | 2024-12-31 20:00:22 us=169261   remote_float = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=169287   bind_defined = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=169313   bind_local = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=169339   bind_ipv6_only = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=169365   connect_retry_seconds = 5
transmission-openvpn    | 2024-12-31 20:00:22 us=169391   connect_timeout = 120
transmission-openvpn    | 2024-12-31 20:00:22 us=169418   socks_proxy_server = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=169444   socks_proxy_port = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=169471   tun_mtu = 1500
transmission-openvpn    | 2024-12-31 20:00:22 us=169498   tun_mtu_defined = ENABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=169524   link_mtu = 1500
transmission-openvpn    | 2024-12-31 20:00:22 us=169551   link_mtu_defined = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=169577   tun_mtu_extra = 32
transmission-openvpn    | 2024-12-31 20:00:22 us=169603   tun_mtu_extra_defined = ENABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=169630   mtu_discover_type = -1
transmission-openvpn    | 2024-12-31 20:00:22 us=169657   fragment = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=169683   mssfix = 1450
transmission-openvpn    | 2024-12-31 20:00:22 us=169710   explicit_exit_notification = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=169736   tls_auth_file = '[INLINE]'
transmission-openvpn    | 2024-12-31 20:00:22 us=169763   key_direction = 1
transmission-openvpn    | 2024-12-31 20:00:22 us=169789   tls_crypt_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=169815   tls_crypt_v2_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=169842 Connection profiles END
transmission-openvpn    | 2024-12-31 20:00:22 us=169868   remote_random = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=169894   ipchange = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=169921   dev = 'tun'
transmission-openvpn    | 2024-12-31 20:00:22 us=169946   dev_type = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=169973   dev_node = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170000   lladdr = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170026   topology = 1
transmission-openvpn    | 2024-12-31 20:00:22 us=170052   ifconfig_local = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170078   ifconfig_remote_netmask = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170105   ifconfig_noexec = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=170131   ifconfig_nowarn = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=170175   ifconfig_ipv6_local = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170205   ifconfig_ipv6_netbits = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=170231   ifconfig_ipv6_remote = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170258   shaper = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=170285   mtu_test = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=170311   mlock = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=170338   keepalive_ping = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=170364   keepalive_timeout = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=170391   inactivity_timeout = 3600
transmission-openvpn    | 2024-12-31 20:00:22 us=170418   inactivity_minimum_bytes = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=170445   ping_send_timeout = 10
transmission-openvpn    | 2024-12-31 20:00:22 us=170471   ping_rec_timeout = 60
transmission-openvpn    | 2024-12-31 20:00:22 us=170498   ping_rec_timeout_action = 1
transmission-openvpn    | 2024-12-31 20:00:22 us=170524   ping_timer_remote = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=170551   remap_sigusr1 = 15
transmission-openvpn    | 2024-12-31 20:00:22 us=170577   persist_tun = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=170603   persist_local_ip = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=170630   persist_remote_ip = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=170657   persist_key = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=170683   passtos = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=170710   resolve_retry_seconds = 15
transmission-openvpn    | 2024-12-31 20:00:22 us=170737   resolve_in_advance = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=170764   username = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170791   groupname = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170818   chroot_dir = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170845   cd_dir = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170872   writepid = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170899   up_script = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170925   down_script = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=170952   down_pre = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=170978   up_restart = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=171004   up_delay = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=171030   daemon = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=171057   inetd = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=171083   log = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=171110   suppress_timestamps = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=171136   machine_readable_output = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=171163   nice = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=171190   verbosity = 6
transmission-openvpn    | 2024-12-31 20:00:22 us=171216   mute = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=171242   gremlin = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=171269   status_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=171296   status_file_version = 1
transmission-openvpn    | 2024-12-31 20:00:22 us=171337   status_file_update_freq = 60
transmission-openvpn    | 2024-12-31 20:00:22 us=171385   occ = ENABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=171435   rcvbuf = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=171465   sndbuf = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=171491   mark = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=171519   sockflags = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=171565   fast_io = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=171597   comp.alg = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=171625   comp.flags = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=171651   route_script = '/etc/openvpn/tunnelUp.sh'
transmission-openvpn    | 2024-12-31 20:00:22 us=171678   route_default_gateway = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=171708   route_default_metric = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=171751   route_noexec = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=171783   route_delay = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=171832   route_delay_window = 30
transmission-openvpn    | 2024-12-31 20:00:22 us=171885   route_delay_defined = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=171937   route_nopull = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=171983   route_gateway_via_dhcp = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=172031   allow_pull_fqdn = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=172078   management_addr = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=172125   management_port = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=172169   management_user_pass = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=172216   management_log_history_cache = 250
transmission-openvpn    | 2024-12-31 20:00:22 us=172260   management_echo_buffer_size = 100
transmission-openvpn    | 2024-12-31 20:00:22 us=172308   management_write_peer_info_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=172353   management_client_user = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=172400   management_client_group = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=172445   management_flags = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=172491   shared_secret_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=172536   key_direction = 1
transmission-openvpn    | 2024-12-31 20:00:22 us=172582   ciphername = 'AES-256-CBC'
transmission-openvpn    | 2024-12-31 20:00:22 us=172627   ncp_enabled = ENABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=172672   ncp_ciphers = 'AES-256-CBC:AES-256-GCM:AES-128-GCM'
transmission-openvpn    | 2024-12-31 20:00:22 us=172717   authname = 'SHA256'
transmission-openvpn    | 2024-12-31 20:00:22 us=172764   prng_hash = 'SHA1'
transmission-openvpn    | 2024-12-31 20:00:22 us=172810   prng_nonce_secret_len = 16
transmission-openvpn    | 2024-12-31 20:00:22 us=172858   keysize = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=172902   engine = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=172947   replay = ENABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=172990   mute_replay_warnings = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=173037   replay_window = 64
transmission-openvpn    | 2024-12-31 20:00:22 us=173081   replay_time = 15
transmission-openvpn    | 2024-12-31 20:00:22 us=173127   packet_id_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173171   test_crypto = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=173217   tls_server = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=173261   tls_client = ENABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=173307   ca_file = '[INLINE]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173351   ca_path = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173396   dh_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173440   cert_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173486   extra_certs_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173532   priv_key_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173579   pkcs12_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173624   cipher_list = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173670   cipher_list_tls13 = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173714   tls_cert_profile = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173760   tls_verify = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173803   tls_export_cert = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173849   verify_x509_type = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=173893   verify_x509_name = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173938   crl_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=173983   ns_cert_type = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174030   remote_cert_ku[i] = 65535
transmission-openvpn    | 2024-12-31 20:00:22 us=174074   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174118   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174163   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174212   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174256   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174305   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174348   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174396   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174440   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174487   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174531   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174577   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174621   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174668   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174712   remote_cert_ku[i] = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174759   remote_cert_eku = 'TLS Web Server Authentication'
transmission-openvpn    | 2024-12-31 20:00:22 us=174803   ssl_flags = 192
transmission-openvpn    | 2024-12-31 20:00:22 us=174850   tls_timeout = 2
transmission-openvpn    | 2024-12-31 20:00:22 us=174893   renegotiate_bytes = -1
transmission-openvpn    | 2024-12-31 20:00:22 us=174940   renegotiate_packets = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=174985   renegotiate_seconds = 3600
transmission-openvpn    | 2024-12-31 20:00:22 us=175032   handshake_window = 60
transmission-openvpn    | 2024-12-31 20:00:22 us=175077   transition_window = 3600
transmission-openvpn    | 2024-12-31 20:00:22 us=175122   single_session = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175167   push_peer_info = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175213   tls_exit = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175257   tls_crypt_v2_metadata = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=175304   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175349   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175395   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175439   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175486   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175530   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175577   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175622   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175668   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175714   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175761   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175806   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175887   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175932   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=175978   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=176024   pkcs11_protected_authentication = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=176072   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176116   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176164   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176208   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176254   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176300   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176346   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176390   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176437   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176481   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176528   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176573   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176619   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176663   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176709   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176754   pkcs11_private_mode = 00000000
transmission-openvpn    | 2024-12-31 20:00:22 us=176800   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=176844   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=176890   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=176935   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=176979   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177023   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177069   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177113   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177159   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177202   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177246   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177293   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177337   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177382   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177427   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177472   pkcs11_cert_private = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177517   pkcs11_pin_cache_period = -1
transmission-openvpn    | 2024-12-31 20:00:22 us=177564   pkcs11_id = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=177607   pkcs11_id_management = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=177658   server_network = 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:22 us=177702   server_netmask = 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:22 us=177771   server_network_ipv6 = ::
transmission-openvpn    | 2024-12-31 20:00:22 us=177812   server_netbits_ipv6 = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=177861   server_bridge_ip = 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:22 us=177907   server_bridge_netmask = 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:22 us=177958   server_bridge_pool_start = 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:22 us=178005   server_bridge_pool_end = 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:22 us=178053   ifconfig_pool_defined = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=178100   ifconfig_pool_start = 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:22 us=178150   ifconfig_pool_end = 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:22 us=178196   ifconfig_pool_netmask = 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:22 us=178242   ifconfig_pool_persist_filename = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=178288   ifconfig_pool_persist_refresh_freq = 600
transmission-openvpn    | 2024-12-31 20:00:22 us=178335   ifconfig_ipv6_pool_defined = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=178381   ifconfig_ipv6_pool_base = ::
transmission-openvpn    | 2024-12-31 20:00:22 us=178429   ifconfig_ipv6_pool_netbits = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=178473   n_bcast_buf = 256
transmission-openvpn    | 2024-12-31 20:00:22 us=178519   tcp_queue_limit = 64
transmission-openvpn    | 2024-12-31 20:00:22 us=178563   real_hash_size = 256
transmission-openvpn    | 2024-12-31 20:00:22 us=178612   virtual_hash_size = 256
transmission-openvpn    | 2024-12-31 20:00:22 us=178655   client_connect_script = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=178704   learn_address_script = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=178749   client_disconnect_script = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=178798   client_config_dir = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=178842   ccd_exclusive = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=178889   tmp_dir = '/tmp'
transmission-openvpn    | 2024-12-31 20:00:22 us=178933   push_ifconfig_defined = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=178981   push_ifconfig_local = 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:22 us=179027   push_ifconfig_remote_netmask = 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:22 us=179074   push_ifconfig_ipv6_defined = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=179122   push_ifconfig_ipv6_local = ::/0
transmission-openvpn    | 2024-12-31 20:00:22 us=179172   push_ifconfig_ipv6_remote = ::
transmission-openvpn    | 2024-12-31 20:00:22 us=179217   enable_c2c = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=179262   duplicate_cn = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=179307   cf_max = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=179353   cf_per = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=179397   max_clients = 1024
transmission-openvpn    | 2024-12-31 20:00:22 us=179443   max_routes_per_client = 256
transmission-openvpn    | 2024-12-31 20:00:22 us=179487   auth_user_pass_verify_script = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=179534   auth_user_pass_verify_script_via_file = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=179578   auth_token_generate = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=179625   auth_token_lifetime = 0
transmission-openvpn    | 2024-12-31 20:00:22 us=179668   auth_token_secret_file = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=179714   port_share_host = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=179757   port_share_port = '[UNDEF]'
transmission-openvpn    | 2024-12-31 20:00:22 us=179802   vlan_tagging = DISABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=179867   vlan_accept = all
transmission-openvpn    | 2024-12-31 20:00:22 us=179915   vlan_pvid = 1
transmission-openvpn    | 2024-12-31 20:00:22 us=179960   client = ENABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=180007   pull = ENABLED
transmission-openvpn    | 2024-12-31 20:00:22 us=180052   auth_user_pass_file = '/config/openvpn-credentials.txt'
transmission-openvpn    | 2024-12-31 20:00:22 us=180103 OpenVPN 2.5.9 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 29 2023
transmission-openvpn    | 2024-12-31 20:00:22 us=180168 library versions: OpenSSL 3.0.2 15 Mar 2022, LZO 2.10
transmission-openvpn    | 2024-12-31 20:00:22 us=180561 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
transmission-openvpn    | 2024-12-31 20:00:22 us=185871 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
transmission-openvpn    | 2024-12-31 20:00:22 us=185952 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
transmission-openvpn    | 2024-12-31 20:00:22 us=186216 Control Channel MTU parms [ L:1653 D:1172 EF:78 EB:0 ET:0 EL:3 ]
transmission-openvpn    | 2024-12-31 20:00:22 us=210586 Data Channel MTU parms [ L:1653 D:1450 EF:121 EB:411 ET:32 EL:3 ]
transmission-openvpn    | 2024-12-31 20:00:22 us=210718 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1601,tun-mtu 1532,proto UDPv4,keydir 1,cipher AES-256-CBC,auth SHA256,keysize 256,tls-auth,key-method 2,tls-client'
transmission-openvpn    | 2024-12-31 20:00:22 us=210780 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1601,tun-mtu 1532,proto UDPv4,keydir 0,cipher AES-256-CBC,auth SHA256,keysize 256,tls-auth,key-method 2,tls-server'
transmission-openvpn    | 2024-12-31 20:00:22 us=210860 TCP/UDP: Preserving recently used remote address: [AF_INET]107.181.189.47:1195
transmission-openvpn    | 2024-12-31 20:00:22 us=210949 Socket Buffers: R=[212992->212992] S=[212992->212992]
transmission-openvpn    | 2024-12-31 20:00:22 us=211001 UDP link local: (not bound)
transmission-openvpn    | 2024-12-31 20:00:22 us=211037 UDP link remote: [AF_INET]107.181.189.47:1195
transmission-openvpn    | 2024-12-31 20:00:22 us=288896 TLS: Initial packet from [AF_INET]107.181.189.47:1195, sid=bb8a9810 9513d174
transmission-openvpn    | 2024-12-31 20:00:22 us=289132 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
transmission-openvpn    | 2024-12-31 20:00:22 us=461973 VERIFY OK: depth=1, CN=TG-VPN-CA
transmission-openvpn    | 2024-12-31 20:00:22 us=462449 VERIFY KU OK
transmission-openvpn    | 2024-12-31 20:00:22 us=462505 Validating certificate extended key usage
transmission-openvpn    | 2024-12-31 20:00:22 us=462534 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
transmission-openvpn    | 2024-12-31 20:00:22 us=462561 VERIFY EKU OK
transmission-openvpn    | 2024-12-31 20:00:22 us=462588 VERIFY OK: depth=0, CN=server
transmission-openvpn    | 2024-12-31 20:00:22 us=618896 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1601', remote='link-mtu 1569'
transmission-openvpn    | 2024-12-31 20:00:22 us=618952 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
transmission-openvpn    | 2024-12-31 20:00:22 us=619218 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 2048 bit RSA, signature: RSA-SHA256
transmission-openvpn    | 2024-12-31 20:00:22 us=619300 [server] Peer Connection Initiated with [AF_INET]107.181.189.47:1195
transmission-openvpn    | 2024-12-31 20:00:23 us=826679 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
transmission-openvpn    | 2024-12-31 20:00:23 us=905276 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.9.0.1,dhcp-option DNS 10.8.0.1,sndbuf 524288,rcvbuf 524288,route 10.33.0.1,topology net30,ping 5,ping-restart 30,compress,ifconfig 10.33.0.10 10.33.0.9,peer-id 3,cipher AES-256-GCM'
transmission-openvpn    | 2024-12-31 20:00:23 us=905496 OPTIONS IMPORT: timers and/or timeouts modified
transmission-openvpn    | 2024-12-31 20:00:23 us=905542 OPTIONS IMPORT: compression parms modified
transmission-openvpn    | 2024-12-31 20:00:23 us=905569 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
transmission-openvpn    | 2024-12-31 20:00:23 us=905619 Socket Buffers: R=[212992->425984] S=[212992->425984]
transmission-openvpn    | 2024-12-31 20:00:23 us=905669 OPTIONS IMPORT: --ifconfig/up options modified
transmission-openvpn    | 2024-12-31 20:00:23 us=905717 OPTIONS IMPORT: route options modified
transmission-openvpn    | 2024-12-31 20:00:23 us=905764 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
transmission-openvpn    | 2024-12-31 20:00:23 us=905811 OPTIONS IMPORT: peer-id set
transmission-openvpn    | 2024-12-31 20:00:23 us=905855 OPTIONS IMPORT: adjusting link_mtu to 1656
transmission-openvpn    | 2024-12-31 20:00:23 us=905898 OPTIONS IMPORT: data channel crypto options modified
transmission-openvpn    | 2024-12-31 20:00:23 us=905948 Data Channel: using negotiated cipher 'AES-256-GCM'
transmission-openvpn    | 2024-12-31 20:00:23 us=906021 Data Channel MTU parms [ L:1584 D:1450 EF:52 EB:411 ET:32 EL:3 ]
transmission-openvpn    | 2024-12-31 20:00:23 us=906264 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
transmission-openvpn    | 2024-12-31 20:00:23 us=906322 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
transmission-openvpn    | 2024-12-31 20:00:23 us=906413 net_route_v4_best_gw query: dst 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:23 us=906563 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=906642 sitnl_send: rtnl: received 412 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=906757 net_route_v4_best_gw result: via 192.168.0.1 dev eth0
transmission-openvpn    | 2024-12-31 20:00:23 us=906901 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=eth0 HWADDR=e6:77:68:74:d3:0d
transmission-openvpn    | 2024-12-31 20:00:23 us=907539 TUN/TAP device tun0 opened
transmission-openvpn    | 2024-12-31 20:00:23 us=907596 do_ifconfig, ipv4=1, ipv6=0
transmission-openvpn    | 2024-12-31 20:00:23 us=907660 net_iface_mtu_set: mtu 1500 for tun0
transmission-openvpn    | 2024-12-31 20:00:23 us=907779 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=907864 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=907966 net_iface_up: set tun0 up
transmission-openvpn    | 2024-12-31 20:00:23 us=908347 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=908402 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=908442 net_addr_ptp_v4_add: 10.33.0.10 peer 10.33.0.9 dev tun0
transmission-openvpn    | 2024-12-31 20:00:23 us=908635 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=908687 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=908774 net_route_v4_add: 107.181.189.47/32 via 192.168.0.1 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-31 20:00:23 us=908895 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=908962 sitnl_send: rtnl: received 64 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=909001 sitnl_send: rtnl: generic error (-101): Network is unreachable
transmission-openvpn    | 2024-12-31 20:00:23 us=909041 ERROR: Linux route add command failed
transmission-openvpn    | 2024-12-31 20:00:23 us=909093 net_route_v4_add: 0.0.0.0/1 via 10.33.0.9 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-31 20:00:23 us=909200 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=909248 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=909291 net_route_v4_add: 128.0.0.0/1 via 10.33.0.9 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-31 20:00:23 us=909397 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=909455 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=909500 net_route_v4_add: 10.33.0.1/32 via 10.33.0.9 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-31 20:00:23 us=909611 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=909662 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | ++ sed -n 's/^; status \(.*\)/\1/p' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + CONFIG_STATUS=unknown
transmission-openvpn    | + [[ -n unknown ]]
transmission-openvpn    | + CONFIG_STATUS=success
transmission-openvpn    | + sed -i '/^; status.*$/d' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + sed -i '$q' /etc/openvpn/custom/default.ovpn
transmission-openvpn    | + echo '; status success'
transmission-openvpn    | + [[ true == \t\r\u\e ]]
transmission-openvpn    | + NS=
transmission-openvpn    | + NS_ROUTES=()
transmission-openvpn    | + DOMAIN=
transmission-openvpn    | + SEARCH=
transmission-openvpn    | + i=1
transmission-openvpn    | + true
transmission-openvpn    | + eval 'opt=$foreign_option_1'
transmission-openvpn    | ++ opt='dhcp-option DNS 10.9.0.1'
transmission-openvpn    | + '[' -z 'dhcp-option DNS 10.9.0.1' ']'
transmission-openvpn    | + '[' 'dhcp-option DNS 10.9.0.1' '!=' 'dhcp-option DNS 10.9.0.1' ']'
transmission-openvpn    | + '[' 'dhcp-option DNS 10.9.0.1' '!=' 10.9.0.1 ']'
transmission-openvpn    | + new_ns=10.9.0.1
transmission-openvpn    | + NS_ROUTES+=("${new_ns}")
transmission-openvpn    | + NS='nameserver 10.9.0.1\n'
transmission-openvpn    | + i=2
transmission-openvpn    | + true
transmission-openvpn    | + eval 'opt=$foreign_option_2'
transmission-openvpn    | ++ opt='dhcp-option DNS 10.8.0.1'
transmission-openvpn    | + '[' -z 'dhcp-option DNS 10.8.0.1' ']'
transmission-openvpn    | + '[' 'dhcp-option DNS 10.8.0.1' '!=' 'dhcp-option DNS 10.8.0.1' ']'
transmission-openvpn    | + '[' 'dhcp-option DNS 10.8.0.1' '!=' 10.8.0.1 ']'
transmission-openvpn    | + new_ns=10.8.0.1
transmission-openvpn    | + NS_ROUTES+=("${new_ns}")
transmission-openvpn    | + NS='nameserver 10.9.0.1\nnameserver 10.8.0.1\n'
transmission-openvpn    | + i=3
transmission-openvpn    | + true
transmission-openvpn    | + eval 'opt=$foreign_option_3'
transmission-openvpn    | ++ opt=
transmission-openvpn    | + '[' -z '' ']'
transmission-openvpn    | + break
transmission-openvpn    | + '[' -n 'nameserver 10.9.0.1\nnameserver 10.8.0.1\n' ']'
transmission-openvpn    | + [[ true == \t\r\u\e ]]
transmission-openvpn    | + for r in "${NS_ROUTES[@]}"
transmission-openvpn    | + ip route add 10.9.0.1 dev tun0
transmission-openvpn    | + for r in "${NS_ROUTES[@]}"
transmission-openvpn    | + ip route add 10.8.0.1 dev tun0
transmission-openvpn    | + DNS='# Generated by openvpn for interface tun0\n'
transmission-openvpn    | + '[' -n '' ']'
transmission-openvpn    | + '[' -n '' ']'
transmission-openvpn    | + DNS='# Generated by openvpn for interface tun0\nnameserver 10.9.0.1\nnameserver 10.8.0.1\n'
transmission-openvpn    | + '[' -x /sbin/resolvconf ']'
transmission-openvpn    | + '[' -e /etc/resolv.conf ']'
transmission-openvpn    | + cp /etc/resolv.conf /etc/resolv.conf-tun0.sv
transmission-openvpn    | + printf '# Generated by openvpn for interface tun0\nnameserver 10.9.0.1\nnameserver 10.8.0.1\n'
transmission-openvpn    | + chmod 644 /etc/resolv.conf
transmission-openvpn    | + /etc/transmission/start.sh
transmission-openvpn    | + . /etc/transmission/environment-variables.sh
transmission-openvpn    | ++ export PUID=8675309
transmission-openvpn    | ++ PUID=8675309
transmission-openvpn    | ++ export PEER_DNS_PIN_ROUTES=true
transmission-openvpn    | ++ PEER_DNS_PIN_ROUTES=true
transmission-openvpn    | ++ export TRANSMISSION_RPC_PASSWORD=
transmission-openvpn    | ++ TRANSMISSION_RPC_PASSWORD=
transmission-openvpn    | ++ export PEER_DNS=true
transmission-openvpn    | ++ PEER_DNS=true
transmission-openvpn    | ++ export ENABLE_UFW=false
transmission-openvpn    | ++ ENABLE_UFW=false
transmission-openvpn    | ++ export WEBPROXY_PASSWORD=
transmission-openvpn    | ++ WEBPROXY_PASSWORD=
transmission-openvpn    | ++ export PGID=
transmission-openvpn    | ++ PGID=
transmission-openvpn    | ++ export WEBPROXY_USERNAME=
transmission-openvpn    | ++ WEBPROXY_USERNAME=
transmission-openvpn    | ++ export DROP_DEFAULT_ROUTE=
transmission-openvpn    | ++ DROP_DEFAULT_ROUTE=
transmission-openvpn    | ++ export OPENVPN_PROVIDER=custom
transmission-openvpn    | ++ OPENVPN_PROVIDER=custom
transmission-openvpn    | ++ export TRANSMISSION_RPC_PORT=9091
transmission-openvpn    | ++ TRANSMISSION_RPC_PORT=9091
transmission-openvpn    | ++ export TRANSMISSION_DOWNLOAD_DIR=/data/completed
transmission-openvpn    | ++ TRANSMISSION_DOWNLOAD_DIR=/data/completed
transmission-openvpn    | ++ export TRANSMISSION_RPC_USERNAME=
transmission-openvpn    | ++ TRANSMISSION_RPC_USERNAME=
transmission-openvpn    | ++ export LOG_TO_STDOUT=false
transmission-openvpn    | ++ LOG_TO_STDOUT=false
transmission-openvpn    | ++ export WEBPROXY_ENABLED=false
transmission-openvpn    | ++ WEBPROXY_ENABLED=false
transmission-openvpn    | ++ export TRANSMISSION_INCOMPLETE_DIR=/data/incomplete
transmission-openvpn    | ++ TRANSMISSION_INCOMPLETE_DIR=/data/incomplete
transmission-openvpn    | ++ export GLOBAL_APPLY_PERMISSIONS=true
transmission-openvpn    | ++ GLOBAL_APPLY_PERMISSIONS=true
transmission-openvpn    | ++ export CONFIG=/etc/openvpn/custom/default.ovpn
transmission-openvpn    | ++ CONFIG=/etc/openvpn/custom/default.ovpn
transmission-openvpn    | ++ export TRANSMISSION_HOME=/data/transmission-home
transmission-openvpn    | ++ TRANSMISSION_HOME=/data/transmission-home
transmission-openvpn    | ++ export DEBUG=true
transmission-openvpn    | ++ DEBUG=true
transmission-openvpn    | ++ export WEBPROXY_PORT=8118
transmission-openvpn    | ++ WEBPROXY_PORT=8118
transmission-openvpn    | ++ export TRANSMISSION_WATCH_DIR=/data/watch
transmission-openvpn    | ++ TRANSMISSION_WATCH_DIR=/data/watch
transmission-openvpn    | + echo 'Up script executed with device=tun0 ifconfig_local=10.33.0.10'
transmission-openvpn    | Up script executed with device=tun0 ifconfig_local=10.33.0.10
transmission-openvpn    | + [[ 10.33.0.10 = '' ]]
transmission-openvpn    | + USER_SCRIPT_ARGS=("$dev" "$tun_mtu" "$link_mtu" "$ifconfig_local" "$ifconfig_remote" "$script_context")
transmission-openvpn    | + [[ -x /scripts/transmission-pre-start.sh ]]
transmission-openvpn    | + echo 'Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.33.0.10'
transmission-openvpn    | Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.33.0.10
transmission-openvpn    | + export TRANSMISSION_BIND_ADDRESS_IPV4=10.33.0.10
transmission-openvpn    | + TRANSMISSION_BIND_ADDRESS_IPV4=10.33.0.10
transmission-openvpn    | + sed -i /TRANSMISSION_BIND_ADDRESS_IPV4/d /etc/transmission/environment-variables.sh
transmission-openvpn    | + echo 'export TRANSMISSION_BIND_ADDRESS_IPV4=10.33.0.10'
transmission-openvpn    | + [[ combustion = '' ]]
transmission-openvpn    | + [[ kettu = '' ]]
transmission-openvpn    | + [[ transmission-web-control = '' ]]
transmission-openvpn    | + [[ flood-for-transmission = '' ]]
transmission-openvpn    | + [[ shift = '' ]]
transmission-openvpn    | + [[ transmissionic = '' ]]
transmission-openvpn    | + case ${TRANSMISSION_LOG_LEVEL,,} in
transmission-openvpn    | + export TRANSMISSION_LOGGING=
transmission-openvpn    | + TRANSMISSION_LOGGING=
transmission-openvpn    | + . /etc/transmission/userSetup.sh
transmission-openvpn    | ++ source /etc/openvpn/utils.sh
transmission-openvpn    | +++ DEBUG=true
transmission-openvpn    | +++ [[ true != \f\a\l\s\e ]]
transmission-openvpn    | +++ set -x
transmission-openvpn    | ++ RUN_AS=root
transmission-openvpn    | ++ '[' -n 8675309 ']'
transmission-openvpn    | +++ id -u root
transmission-openvpn    | ++ '[' '!' 0 -eq 8675309 ']'
transmission-openvpn    | ++ RUN_AS=abc
transmission-openvpn    | +++ id -u abc
transmission-openvpn    | ++ '[' '!' 911 -eq 8675309 ']'
transmission-openvpn    | ++ usermod -o -u 8675309 abc
transmission-openvpn    | ++ '[' -n '' ']'
transmission-openvpn    | ++ [[ true = \f\a\l\s\e ]]
transmission-openvpn    | ++ mkdir -p /config /data/transmission-home /data/completed /data/incomplete /data/watch
transmission-openvpn    | ++ echo 'Enforcing ownership on transmission directories'
transmission-openvpn    | Enforcing ownership on transmission directories
transmission-openvpn    | ++ chown -R abc:abc /config /data/transmission-home
transmission-openvpn    | ++ echo 'Applying permissions to transmission directories'
transmission-openvpn    | Applying permissions to transmission directories
transmission-openvpn    | ++ chmod -R go=rX,u=rwX /config /data/transmission-home
transmission-openvpn    | ++ '[' true = true ']'
transmission-openvpn    | ++ echo 'Setting owner for transmission paths to 8675309:'
transmission-openvpn    | Setting owner for transmission paths to 8675309:
transmission-openvpn    | ++ chown -R abc:abc /data/completed /data/incomplete /data/watch
transmission-openvpn    | ++ echo 'Setting permissions for download and incomplete directories'
transmission-openvpn    | Setting permissions for download and incomplete directories
transmission-openvpn    | ++ '[' -z '' ']'
transmission-openvpn    | +++ jq .umask /data/transmission-home/settings.json
transmission-openvpn    | +++ tr -d '"'
transmission-openvpn    | ++ TRANSMISSION_UMASK=000
transmission-openvpn    | +++ printf '%o\n' 000
transmission-openvpn    | ++ TRANSMISSION_UMASK_OCTAL=0
transmission-openvpn    | +++ printf '%o\n' 511
transmission-openvpn    | ++ DIR_PERMS=777
transmission-openvpn    | +++ printf '%o\n' 438
transmission-openvpn    | ++ FILE_PERMS=666
transmission-openvpn    | ++ echo 'umask: 0'
transmission-openvpn    | umask: 0
transmission-openvpn    | ++ echo 'Directories: 777'
transmission-openvpn    | Directories: 777
transmission-openvpn    | ++ echo 'Files: 666'
transmission-openvpn    | Files: 666
transmission-openvpn    | ++ find /data/completed /data/incomplete -type d -exec chmod 777 '{}' +
transmission-openvpn    | ++ find /data/completed /data/incomplete -type f -exec chmod 666 '{}' +
transmission-openvpn    | ++ echo 'Setting permission for watch directory (775) and its files (664)'
transmission-openvpn    | Setting permission for watch directory (775) and its files (664)
transmission-openvpn    | ++ chmod -R o=rX,ug=rwX /data/watch
transmission-openvpn    | +++ id -u abc
transmission-openvpn    | +++ id -g abc
transmission-openvpn    | ++ echo '
transmission-openvpn    | -------------------------------------
transmission-openvpn    | Transmission will run as
transmission-openvpn    | -------------------------------------
transmission-openvpn    | User name:   abc
transmission-openvpn    | User uid:    8675309
transmission-openvpn    | User gid:    1001
transmission-openvpn    | -------------------------------------
transmission-openvpn    | '
transmission-openvpn    |
transmission-openvpn    | -------------------------------------
transmission-openvpn    | Transmission will run as
transmission-openvpn    | -------------------------------------
transmission-openvpn    | User name:   abc
transmission-openvpn    | User uid:    8675309
transmission-openvpn    | User gid:    1001
transmission-openvpn    | -------------------------------------
transmission-openvpn    |
transmission-openvpn    | ++ export PUID
transmission-openvpn    | ++ export PGID
transmission-openvpn    | ++ export RUN_AS
transmission-openvpn    | + echo 'Updating Transmission settings.json with values from env variables'
transmission-openvpn    | Updating Transmission settings.json with values from env variables
transmission-openvpn    | + mkdir -p /data/transmission-home
transmission-openvpn    | + python3 /etc/transmission/updateSettings.py /etc/transmission/default-settings.json /data/transmission-home/settings.json
transmission-openvpn    | Attempting to use existing settings.json for Transmission
transmission-openvpn    | Successfully used existing settings.json /data/transmission-home/settings.json
transmission-openvpn    | Overriding bind-address-ipv4 because TRANSMISSION_BIND_ADDRESS_IPV4 is set to 10.33.0.10
transmission-openvpn    | Overriding download-dir because TRANSMISSION_DOWNLOAD_DIR is set to /data/completed
transmission-openvpn    | Overriding incomplete-dir because TRANSMISSION_INCOMPLETE_DIR is set to /data/incomplete
transmission-openvpn    | Overriding rpc-password because TRANSMISSION_RPC_PASSWORD is set to [REDACTED]
transmission-openvpn    | Overriding rpc-port because TRANSMISSION_RPC_PORT is set to 9091
transmission-openvpn    | Overriding rpc-username because TRANSMISSION_RPC_USERNAME is set to
transmission-openvpn    | Overriding watch-dir because TRANSMISSION_WATCH_DIR is set to /data/watch
transmission-openvpn    | + echo 'sed'\''ing True to true'
transmission-openvpn    | sed'ing True to true
transmission-openvpn    | + sed -i s/True/true/g /data/transmission-home/settings.json
transmission-openvpn    | + [[ ! -e /dev/random ]]
transmission-openvpn    | + [[ true = '' ]]
transmission-openvpn    | + [[ true = \f\a\l\s\e ]]
transmission-openvpn    | + LOGFILE=/data/transmission-home/transmission.log
transmission-openvpn    | + echo 'STARTING TRANSMISSION'
transmission-openvpn    | STARTING TRANSMISSION
transmission-openvpn    | + [[ -f /etc/openvpn/custom/update-port.sh ]]
transmission-openvpn    | + [[ -x /scripts/transmission-post-start.sh ]]
transmission-openvpn    | + exec su --preserve-environment abc -s /bin/bash -c '/usr/local/bin/transmission-daemon  -g /data/transmission-home --logfile /data/transmission-home/transmission.log'
transmission-openvpn    | + echo 'Transmission startup script complete.'
transmission-openvpn    | Transmission startup script complete.
transmission-openvpn    | + [[ -f /opt/privoxy/start.sh ]]
transmission-openvpn    | + [[ -x /opt/privoxy/start.sh ]]
transmission-openvpn    | + /opt/privoxy/start.sh
transmission-openvpn    | + [[ false = \t\r\u\e ]]
transmission-openvpn    | + exit 0
transmission-openvpn    | 2024-12-31 20:00:24 us=727524 Initialization Sequence Completed
transmission-openvpn    | 2024-12-31 20:01:50 us=224033 [server] Inactivity timeout (--ping-restart), restarting
transmission-openvpn    | 2024-12-31 20:01:50 us=224504 TCP/UDP: Closing socket
transmission-openvpn    | 2024-12-31 20:01:50 us=224618 /etc/openvpn/tunnelDown.sh tun0 1500 1584 10.33.0.10 10.33.0.9 init
transmission-openvpn    | + ls /etc/resolv.conf-tun0.sv
transmission-openvpn    | + cp /etc/resolv.conf-tun0.sv /etc/resolv.conf
transmission-openvpn    | + echo 'resolv.conf was restored'
transmission-openvpn    | resolv.conf was restored
transmission-openvpn    | + /etc/transmission/stop.sh
transmission-openvpn    | + [[ -x /scripts/transmission-pre-stop.sh ]]
transmission-openvpn    | + echo 'Sending kill signal to transmission-daemon'
transmission-openvpn    | Sending kill signal to transmission-daemon
transmission-openvpn    | ++ pidof transmission-daemon
transmission-openvpn    | + PID=92
transmission-openvpn    | + kill 92
transmission-openvpn    | + TRANSMISSION_TIMEOUT_SEC=5
transmission-openvpn    | ++ seq 5
transmission-openvpn    | + for i in $(seq "$TRANSMISSION_TIMEOUT_SEC")
transmission-openvpn    | + sleep 1
transmission-openvpn    | ++ pidof transmission-daemon
transmission-openvpn    | + [[ -z 92 ]]
transmission-openvpn    | + [[ 1 == 1 ]]
transmission-openvpn    | + echo 'Waiting 5s for transmission-daemon to die'
transmission-openvpn    | Waiting 5s for transmission-daemon to die
transmission-openvpn    | + for i in $(seq "$TRANSMISSION_TIMEOUT_SEC")
transmission-openvpn    | + sleep 1
transmission-openvpn    | ++ pidof transmission-daemon
transmission-openvpn    | + [[ -z '' ]]
transmission-openvpn    | + break
transmission-openvpn    | ++ pidof transmission-daemon
transmission-openvpn    | + [[ -z '' ]]
transmission-openvpn    | + echo 'Successfuly closed transmission-daemon'
transmission-openvpn    | Successfuly closed transmission-daemon
transmission-openvpn    | + [[ -x /scripts/transmission-post-stop.sh ]]
transmission-openvpn    | + [[ -f /opt/privoxy/stop.sh ]]
transmission-openvpn    | + /opt/privoxy/stop.sh
transmission-openvpn    | + [[ false = \t\r\u\e ]]
transmission-openvpn    | 2024-12-31 20:01:52 us=267498 net_route_v4_del: 10.33.0.1/32 via 10.33.0.9 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-31 20:01:52 us=267719 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:01:52 us=267801 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:01:52 us=267940 net_route_v4_del: 107.181.189.47/32 via 192.168.0.1 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-31 20:01:52 us=268080 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:01:52 us=268162 sitnl_send: rtnl: received 64 bytes
transmission-openvpn    | 2024-12-31 20:01:52 us=268212 sitnl_send: rtnl: generic error (-3): No such process
transmission-openvpn    | 2024-12-31 20:01:52 us=268293 ERROR: Linux route delete command failed
transmission-openvpn    | 2024-12-31 20:01:52 us=268372 net_route_v4_del: 0.0.0.0/1 via 10.33.0.9 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-31 20:01:52 us=268509 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:01:52 us=268560 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:01:52 us=268625 net_route_v4_del: 128.0.0.0/1 via 10.33.0.9 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-31 20:01:52 us=268738 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:01:52 us=268785 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:01:52 us=268833 Closing TUN/TAP interface
transmission-openvpn    | 2024-12-31 20:01:52 us=268877 net_addr_ptp_v4_del: 10.33.0.10 dev tun0
transmission-openvpn    | 2024-12-31 20:01:52 us=269849 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:01:52 us=269926 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:01:52 us=304118 SIGTERM[soft,ping-restart] received, process exiting
transmission-openvpn exited with code 0

Specifically:

transmission-openvpn    | 2024-12-31 20:00:23 us=906413 net_route_v4_best_gw query: dst 0.0.0.0
transmission-openvpn    | 2024-12-31 20:00:23 us=906563 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=906642 sitnl_send: rtnl: received 412 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=906757 net_route_v4_best_gw result: via 192.168.0.1 dev eth0
transmission-openvpn    | 2024-12-31 20:00:23 us=906901 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=eth0 HWADDR=e6:77:68:74:d3:0d
transmission-openvpn    | 2024-12-31 20:00:23 us=907539 TUN/TAP device tun0 opened
transmission-openvpn    | 2024-12-31 20:00:23 us=907596 do_ifconfig, ipv4=1, ipv6=0
transmission-openvpn    | 2024-12-31 20:00:23 us=907660 net_iface_mtu_set: mtu 1500 for tun0
transmission-openvpn    | 2024-12-31 20:00:23 us=907779 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=907864 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=907966 net_iface_up: set tun0 up
transmission-openvpn    | 2024-12-31 20:00:23 us=908347 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=908402 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=908442 net_addr_ptp_v4_add: 10.33.0.10 peer 10.33.0.9 dev tun0
transmission-openvpn    | 2024-12-31 20:00:23 us=908635 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=908687 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=908774 net_route_v4_add: 107.181.189.47/32 via 192.168.0.1 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-31 20:00:23 us=908895 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=908962 sitnl_send: rtnl: received 64 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=909001 sitnl_send: rtnl: generic error (-101): Network is unreachable
transmission-openvpn    | 2024-12-31 20:00:23 us=909041 ERROR: Linux route add command failed
transmission-openvpn    | 2024-12-31 20:00:23 us=909093 net_route_v4_add: 0.0.0.0/1 via 10.33.0.9 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-31 20:00:23 us=909200 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=909248 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=909291 net_route_v4_add: 128.0.0.0/1 via 10.33.0.9 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-31 20:00:23 us=909397 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=909455 sitnl_send: rtnl: received 36 bytes
transmission-openvpn    | 2024-12-31 20:00:23 us=909500 net_route_v4_add: 10.33.0.1/32 via 10.33.0.9 dev [NULL] table 0 metric -1
transmission-openvpn    | 2024-12-31 20:00:23 us=909611 sitnl_send: checking for received messages
transmission-openvpn    | 2024-12-31 20:00:23 us=909662 sitnl_send: rtnl: received 36 bytes

I am not sure why the interface is being specified as [NULL] but I am still digging.

@DriesSchaumont
Copy link

DriesSchaumont commented Jan 4, 2025

Hi, this thread seems to indicate this can be resolved by updating your config: https://sourceforge.net/p/openvpn/mailman/openvpn-users/thread/[email protected]

You could try to establish a connection with the specified config but without using a container to verify that the config is indeed the issue.

@jmdarr
Copy link
Author

jmdarr commented Jan 9, 2025

Thank you for the reply and my apologies @DriesSchaumont, that page is a 404 error for me.

@DriesSchaumont
Copy link

Thank you for the reply and my apologies @DriesSchaumont, that page is a 404 error for me.

Ah, my bad. Updated the link!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants