Closed pokemaster974 closed 7 months ago
Reverting back to qbt4.6.0-20231108 fixes the issue.
More recent qbt4.6.0-20231111 seems to work to.
But not the qbt4.6.0-20231112
Can you please share your compose file or docker command, your OpenVPN config and container log with the env var DEBUG=yes
set? Redact, what you don't wanna share
Can you please share your compose file or docker command, your OpenVPN config and container log with the env var
DEBUG=yes
set? Redact, what you don't wanna share
Hi, this is the docker run I always use since the beginning :
docker run --cap-add=NET_ADMIN -d \
--restart=always \
--name=alpine-qbittorrentvpn \
--net=reverseproxy \
-p 8090:8080 \
-v /share/Docker/Config/alpine-qBittorrent/:/config \
-v /share/qBittorrent/:/downloads \
-e "VPN_ENABLED=yes" \
-e "VPN_TYPE=openvpn" \
-e "VPN_USERNAME=REDACTED" \
-e "VPN_PASSWORD=REDACTED" \
-e "LAN_NETWORK=192.168.0.0/24" \
-e "ENABLE_SSL=no" \
-e "SET_FWMARK=no" \
-e "NAME_SERVERS=1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4" \
-e "PUID=1000" \
-e "GUID=100" \
-e "TZ=Europe/Paris" \
-e "HEALTH_CHECK_HOST=1.1.1.1" \
-e "HEALTH_CHECK_INTERVAL=30" \
-e "INSTALL_PYTHON3=no" \
-e "DEBUG=YES" \
trigus42/qbittorrentvpn
Logs of docker :
2023-11-13 19:08:55 [INFO] PUID defined as 1000
2023-11-13 19:08:55 [INFO] PGID not defined. Defaulting to 1000
2023-11-13 19:08:55 [INFO] An user with PUID 1000 already exists in /etc/passwd, nothing to do.
2023-11-13 19:08:55 [INFO] VPN_ENABLED defined as 'yes'
2023-11-13 19:08:55 [INFO] VPN_TYPE defined as 'openvpn'
2023-11-13 19:08:55 [INFO] NAME_SERVERS defined as '1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4'
2023-11-13 19:08:55 [INFO] Adding 1.1.1.1 to resolv.conf
2023-11-13 19:08:55 [INFO] Adding 1.0.0.1 to resolv.conf
2023-11-13 19:08:55 [INFO] Adding 8.8.8.8 to resolv.conf
2023-11-13 19:08:55 [INFO] Adding 8.8.4.4 to resolv.conf
[cont-init.d] 01-environment.sh: exited 0.
[cont-init.d] 02-vpn.sh: executing...
2023-11-13 19:08:55 [INFO] Choosen VPN config: 'france-tcp.ovpn'
2023-11-13 19:08:55 [INFO] Using credentials from /config/openvpn/france-tcp_credentials.conf
dos2unix: converting file /config/openvpn/france-tcp.ovpn to Unix format...
2023-11-13 19:08:55 [INFO] VPN remote line defined as '97-1-fr.cg-dialup.net 443'
2023-11-13 19:08:55 [INFO] VPN_REMOTE defined as '97-1-fr.cg-dialup.net'
2023-11-13 19:08:55 [INFO] VPN_PORT defined as '443'
2023-11-13 19:08:55 [INFO] VPN_PROTOCOL defined as 'tcp'
2023-11-13 19:08:55 [INFO] VPN_DEVICE_TYPE defined as 'tun0'
2023-11-13 19:08:55 [INFO] Starting OpenVPN...
--------------------
2023-11-13 19:08:55 us=957042 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (REDACTED). OpenVPN ignores --cipher for cipher negotiations.
Options error: --ca fails with 'ca.crt': No such file or directory (errno=2)
Options error: --cert fails with 'client.crt': No such file or directory (errno=2)
2023-11-13 19:08:55 us=957416 WARNING: cannot stat file 'client.key': No such file or directory (errno=2)
Options error: --key fails with 'client.key': No such file or directory (errno=2)
2023-11-13 19:08:55 us=957495 WARNING: file '/config/openvpn/france-tcp_credentials.conf' is group or others accessible
Options error: Please correct these errors.
Use --help for more information.
--------------------
2023-11-13 19:08:56 [ERROR] Failed to start OpenVPN
[cont-init.d] 02-vpn.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-environment.sh: executing...
2023-11-13 19:09:02 [INFO] LAN_NETWORK defined as '192.168.0.0/24'
2023-11-13 19:09:02 [INFO] Docker network defined as 172.29.0.0/22
2023-11-13 19:09:02 [INFO] PUID defined as 1000
2023-11-13 19:09:02 [INFO] PGID not defined. Defaulting to 1000
2023-11-13 19:09:02 [INFO] An user with PUID 1000 already exists in /etc/passwd, nothing to do.
2023-11-13 19:09:02 [INFO] VPN_ENABLED defined as 'yes'
2023-11-13 19:09:02 [INFO] VPN_TYPE defined as 'openvpn'
2023-11-13 19:09:02 [INFO] NAME_SERVERS defined as '1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4'
2023-11-13 19:09:02 [INFO] Adding 1.1.1.1 to resolv.conf
2023-11-13 19:09:02 [INFO] Adding 1.0.0.1 to resolv.conf
2023-11-13 19:09:02 [INFO] Adding 8.8.8.8 to resolv.conf
2023-11-13 19:09:02 [INFO] Adding 8.8.4.4 to resolv.conf
[cont-init.d] 01-environment.sh: exited 0.
[cont-init.d] 02-vpn.sh: executing...
2023-11-13 19:09:02 [INFO] Choosen VPN config: 'france-tcp.ovpn'
2023-11-13 19:09:02 [INFO] Using credentials from /config/openvpn/france-tcp_credentials.conf
dos2unix: converting file /config/openvpn/france-tcp.ovpn to Unix format...
2023-11-13 19:09:02 [INFO] VPN remote line defined as '97-1-fr.cg-dialup.net 443'
2023-11-13 19:09:02 [INFO] VPN_REMOTE defined as '97-1-fr.cg-dialup.net'
2023-11-13 19:09:02 [INFO] VPN_PORT defined as '443'
2023-11-13 19:09:02 [INFO] VPN_PROTOCOL defined as 'tcp'
2023-11-13 19:09:02 [INFO] VPN_DEVICE_TYPE defined as 'tun0'
2023-11-13 19:09:02 [INFO] Starting OpenVPN...
--------------------
2023-11-13 19:09:02 us=842246 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (REDACTED). OpenVPN ignores --cipher for cipher negotiations.
Options error: --ca fails with 'ca.crt': No such file or directory (errno=2)
Options error: --cert fails with 'client.crt': No such file or directory (errno=2)
2023-11-13 19:09:02 us=842860 WARNING: cannot stat file 'client.key': No such file or directory (errno=2)
Options error: --key fails with 'client.key': No such file or directory (errno=2)
2023-11-13 19:09:02 us=842946 WARNING: file '/config/openvpn/france-tcp_credentials.conf' is group or others accessible
Options error: Please correct these errors.
Use --help for more information.
With the trigus42/qbittorrentvpn:qbt4.6.0-20231111
image :
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-environment.sh: executing...
2023-11-13 19:18:06 [INFO] LAN_NETWORK defined as '192.168.0.0/24'
2023-11-13 19:18:07 [INFO] Docker network defined as 172.29.0.0/22
2023-11-13 19:18:07 [INFO] PUID defined as 1000
2023-11-13 19:18:07 [INFO] PGID not defined. Defaulting to 1000
2023-11-13 19:18:07 [INFO] An user with PUID 1000 already exists in /etc/passwd, nothing to do.
2023-11-13 19:18:07 [INFO] VPN_ENABLED defined as 'yes'
2023-11-13 19:18:07 [INFO] VPN_TYPE defined as 'openvpn'
2023-11-13 19:18:07 [INFO] NAME_SERVERS defined as '1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4'
2023-11-13 19:18:07 [INFO] Adding 1.1.1.1 to resolv.conf
2023-11-13 19:18:07 [INFO] Adding 1.0.0.1 to resolv.conf
2023-11-13 19:18:07 [INFO] Adding 8.8.8.8 to resolv.conf
2023-11-13 19:18:07 [INFO] Adding 8.8.4.4 to resolv.conf
[cont-init.d] 01-environment.sh: exited 0.
[cont-init.d] 02-vpn.sh: executing...
2023-11-13 19:18:07 [INFO] Choosen VPN config: 'france-tcp.ovpn'
2023-11-13 19:18:07 [INFO] Using credentials from /config/openvpn/france-tcp_credentials.conf
dos2unix: converting file /config/openvpn/france-tcp.ovpn to Unix format...
2023-11-13 19:18:07 [INFO] VPN remote line defined as '97-1-fr.cg-dialup.net 443'
2023-11-13 19:18:07 [INFO] VPN_REMOTE defined as '97-1-fr.cg-dialup.net'
2023-11-13 19:18:07 [INFO] VPN_PORT defined as '443'
2023-11-13 19:18:07 [INFO] VPN_PROTOCOL defined as 'tcp'
2023-11-13 19:18:07 [INFO] VPN_DEVICE_TYPE defined as 'tun0'
2023-11-13 19:18:07 [INFO] Starting OpenVPN...
--------------------
--------------------
2023-11-13 19:18:07 us=90059 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (REDACTED). OpenVPN ignores --cipher for cipher negotiations.
2023-11-13 19:18:07 us=90181 WARNING: file 'client.key' is group or others accessible
2023-11-13 19:18:07 us=90252 WARNING: file '/config/openvpn/france-tcp_credentials.conf' is group or others accessible
2023-11-13 19:18:07 us=90284 Current Parameter Settings:
2023-11-13 19:18:07 us=90309 config = '/config/openvpn/france-tcp.ovpn'
2023-11-13 19:18:07 us=90333 mode = 0
2023-11-13 19:18:07 us=90356 persist_config = DISABLED
2023-11-13 19:18:07 us=90381 persist_mode = 1
2023-11-13 19:18:07 us=90407 show_ciphers = DISABLED
2023-11-13 19:18:07 us=90438 show_digests = DISABLED
2023-11-13 19:18:07 us=90461 show_engines = DISABLED
2023-11-13 19:18:07 us=90485 genkey = DISABLED
2023-11-13 19:18:07 us=90508 genkey_filename = '[UNDEF]'
2023-11-13 19:18:07 us=90541 key_pass_file = '[UNDEF]'
2023-11-13 19:18:07 us=90572 show_tls_ciphers = DISABLED
2023-11-13 19:18:07 us=90602 connect_retry_max = 0
2023-11-13 19:18:07 us=90629 Connection profiles [0]:
2023-11-13 19:18:07 us=90660 proto = tcp-client
2023-11-13 19:18:07 us=90683 local = '[UNDEF]'
2023-11-13 19:18:07 us=90709 local_port = '[UNDEF]'
2023-11-13 19:18:07 us=90732 remote = '97-1-fr.cg-dialup.net'
2023-11-13 19:18:07 us=90754 remote_port = '443'
2023-11-13 19:18:07 us=90777 remote_float = DISABLED
2023-11-13 19:18:07 us=90803 bind_defined = DISABLED
2023-11-13 19:18:07 us=90835 bind_local = DISABLED
2023-11-13 19:18:07 us=90862 bind_ipv6_only = DISABLED
2023-11-13 19:18:07 us=90891 connect_retry_seconds = 1
2023-11-13 19:18:07 us=90916 connect_timeout = 120
2023-11-13 19:18:07 us=90952 socks_proxy_server = '[UNDEF]'
2023-11-13 19:18:07 us=91120 socks_proxy_port = '[UNDEF]'
2023-11-13 19:18:07 us=91152 tun_mtu = 1500
2023-11-13 19:18:07 us=91182 tun_mtu_defined = ENABLED
2023-11-13 19:18:07 us=91254 link_mtu = 1500
2023-11-13 19:18:07 us=91351 link_mtu_defined = DISABLED
2023-11-13 19:18:07 us=91402 tun_mtu_extra = 0
2023-11-13 19:18:07 us=91428 tun_mtu_extra_defined = DISABLED
2023-11-13 19:18:07 us=91462 tls_mtu = 1250
2023-11-13 19:18:07 us=91489 mtu_discover_type = -1
2023-11-13 19:18:07 us=91515 fragment = 0
2023-11-13 19:18:07 us=91546 mssfix = 1492
2023-11-13 19:18:07 us=91572 mssfix_encap = ENABLED
2023-11-13 19:18:07 us=91604 mssfix_fixed = DISABLED
2023-11-13 19:18:07 us=91648 explicit_exit_notification = 0
2023-11-13 19:18:07 us=91696 tls_auth_file = '[UNDEF]'
2023-11-13 19:18:07 us=91726 key_direction = not set
2023-11-13 19:18:07 us=91773 tls_crypt_file = '[UNDEF]'
2023-11-13 19:18:07 us=91798 tls_crypt_v2_file = '[UNDEF]'
2023-11-13 19:18:07 us=91822 Connection profiles END
2023-11-13 19:18:07 us=91847 remote_random = DISABLED
2023-11-13 19:18:07 us=91872 ipchange = '[UNDEF]'
2023-11-13 19:18:07 us=91924 dev = 'tun'
2023-11-13 19:18:07 us=92023 dev_type = '[UNDEF]'
2023-11-13 19:18:07 us=92047 dev_node = '[UNDEF]'
2023-11-13 19:18:07 us=92073 lladdr = '[UNDEF]'
2023-11-13 19:18:07 us=92098 topology = 1
2023-11-13 19:18:07 us=92123 ifconfig_local = '[UNDEF]'
2023-11-13 19:18:07 us=92177 ifconfig_remote_netmask = '[UNDEF]'
2023-11-13 19:18:07 us=92261 ifconfig_noexec = DISABLED
2023-11-13 19:18:07 us=92304 ifconfig_nowarn = DISABLED
2023-11-13 19:18:07 us=92355 ifconfig_ipv6_local = '[UNDEF]'
2023-11-13 19:18:07 us=92407 ifconfig_ipv6_netbits = 0
2023-11-13 19:18:07 us=92480 ifconfig_ipv6_remote = '[UNDEF]'
2023-11-13 19:18:07 us=92521 shaper = 0
2023-11-13 19:18:07 us=92573 mtu_test = 0
2023-11-13 19:18:07 us=92622 mlock = DISABLED
2023-11-13 19:18:07 us=92671 keepalive_ping = 0
2023-11-13 19:18:07 us=92732 keepalive_timeout = 0
2023-11-13 19:18:07 us=92778 inactivity_timeout = 0
2023-11-13 19:18:07 us=92868 session_timeout = 0
2023-11-13 19:18:07 us=92918 inactivity_minimum_bytes = 0
2023-11-13 19:18:07 us=92967 ping_send_timeout = 5
[cont-init.d] 02-vpn.sh: exited 0.
2023-11-13 19:18:07 us=93014 ping_rec_timeout = 60
2023-11-13 19:18:07 us=93076 ping_rec_timeout_action = 1
2023-11-13 19:18:07 us=93274 ping_timer_remote = ENABLED
2023-11-13 19:18:07 us=93331 remap_sigusr1 = 0
2023-11-13 19:18:07 us=93372 persist_tun = ENABLED
2023-11-13 19:18:07 us=93425 persist_local_ip = DISABLED
2023-11-13 19:18:07 us=93469 persist_remote_ip = DISABLED
2023-11-13 19:18:07 us=93527 persist_key = ENABLED
2023-11-13 19:18:07 us=93568 passtos = DISABLED
2023-11-13 19:18:07 us=93615 resolve_retry_seconds = 1000000000
2023-11-13 19:18:07 us=93662 resolve_in_advance = DISABLED
2023-11-13 19:18:07 us=93704 username = '[UNDEF]'
2023-11-13 19:18:07 us=93752 groupname = '[UNDEF]'
2023-11-13 19:18:07 us=93801 chroot_dir = '[UNDEF]'
2023-11-13 19:18:07 us=93848 cd_dir = '[UNDEF]'
2023-11-13 19:18:07 us=93908 writepid = '[UNDEF]'
2023-11-13 19:18:07 us=93951 up_script = '/helper/resume-after-connect'
2023-11-13 19:18:07 us=93999 down_script = '[UNDEF]'
2023-11-13 19:18:07 us=94049 down_pre = DISABLED
2023-11-13 19:18:07 us=94094 up_restart = DISABLED
2023-11-13 19:18:07 us=94154 up_delay = DISABLED
2023-11-13 19:18:07 us=94213 daemon = DISABLED
2023-11-13 19:18:07 us=94267 log = DISABLED
2023-11-13 19:18:07 us=94312 suppress_timestamps = DISABLED
2023-11-13 19:18:07 us=94368 machine_readable_output = DISABLED
2023-11-13 19:18:07 us=94412 nice = 0
2023-11-13 19:18:07 us=94470 verbosity = 4
2023-11-13 19:18:07 us=94513 mute = 0
2023-11-13 19:18:07 us=94566 gremlin = 0
2023-11-13 19:18:07 us=94612 status_file = '[UNDEF]'
2023-11-13 19:18:07 us=94670 status_file_version = 1
2023-11-13 19:18:07 us=94714 status_file_update_freq = 60
2023-11-13 19:18:07 us=94772 occ = ENABLED
2023-11-13 19:18:07 us=94818 rcvbuf = 0
2023-11-13 19:18:07 us=94875 sndbuf = 0
2023-11-13 19:18:07 us=94919 mark = 0
2023-11-13 19:18:07 us=94972 sockflags = 0
2023-11-13 19:18:07 us=95017 fast_io = DISABLED
2023-11-13 19:18:07 us=95072 comp.alg = 0
2023-11-13 19:18:07 us=95099 comp.flags = 24
2023-11-13 19:18:07 us=95121 route_script = '[UNDEF]'
2023-11-13 19:18:07 us=95164 route_default_gateway = '[UNDEF]'
2023-11-13 19:18:07 us=95245 route_default_metric = 0
2023-11-13 19:18:07 us=95294 route_noexec = DISABLED
2023-11-13 19:18:07 us=95319 route_delay = 5
2023-11-13 19:18:07 us=95413 route_delay_window = 30
2023-11-13 19:18:07 us=95459 route_delay_defined = ENABLED
2023-11-13 19:18:07 us=95484 route_nopull = DISABLED
2023-11-13 19:18:07 us=95536 route_gateway_via_dhcp = DISABLED
2023-11-13 19:18:07 us=95591 allow_pull_fqdn = DISABLED
2023-11-13 19:18:07 us=95617 Pull filters:
2023-11-13 19:18:07 us=95668 ignore "route-ipv6"
2023-11-13 19:18:07 us=95719 ignore "ifconfig-ipv6"
2023-11-13 19:18:07 us=95745 ignore "tun-ipv6"
2023-11-13 19:18:07 us=95786 ignore "redirect-gateway ipv6"
2023-11-13 19:18:07 us=95823 ignore "dhcp-option DNS6"
2023-11-13 19:18:07 us=95911 [redirect_default_gateway local=0]
2023-11-13 19:18:07 us=95961 management_addr = '[UNDEF]'
2023-11-13 19:18:07 us=95987 management_port = '[UNDEF]'
2023-11-13 19:18:07 us=96039 management_user_pass = '[UNDEF]'
2023-11-13 19:18:07 us=96125 management_log_history_cache = 250
2023-11-13 19:18:07 us=96166 management_echo_buffer_size = 100
2023-11-13 19:18:07 us=96285 management_client_user = '[UNDEF]'
[cont-init.d] 03-network.sh: executing...
2023-11-13 19:18:07 us=96325 management_client_group = '[UNDEF]'
2023-11-13 19:18:07 us=96417 management_flags = 0
2023-11-13 19:18:07 us=96454 shared_secret_file = '[UNDEF]'
2023-11-13 19:18:07 us=96495 key_direction = not set
2023-11-13 19:18:07 us=96532 ciphername = 'AES-256-CBC'
2023-11-13 19:18:07 us=96559 ncp_ciphers = 'REDACTED'
2023-11-13 19:18:07 us=96587 authname = 'SHA256'
2023-11-13 19:18:07 us=96643 engine = DISABLED
2023-11-13 19:18:07 us=96667 replay = ENABLED
2023-11-13 19:18:07 us=96754 mute_replay_warnings = DISABLED
2023-11-13 19:18:07 us=96778 replay_window = 64
2023-11-13 19:18:07 us=96810 replay_time = 15
2023-11-13 19:18:07 us=96835 packet_id_file = '[UNDEF]'
2023-11-13 19:18:07 us=96862 test_crypto = DISABLED
2023-11-13 19:18:07 us=96890 tls_server = DISABLED
2023-11-13 19:18:07 us=96937 tls_client = ENABLED
2023-11-13 19:18:07 us=96962 ca_file = 'ca.crt'
2023-11-13 19:18:07 us=96984 ca_path = '[UNDEF]'
2023-11-13 19:18:07 us=97010 dh_file = '[UNDEF]'
2023-11-13 19:18:07 us=97039 cert_file = 'client.crt'
2023-11-13 19:18:07 us=97061 extra_certs_file = '[UNDEF]'
2023-11-13 19:18:07 us=97087 priv_key_file = 'client.key'
2023-11-13 19:18:07 us=97112 pkcs12_file = '[UNDEF]'
2023-11-13 19:18:07 us=97139 cipher_list = '[UNDEF]'
2023-11-13 19:18:07 us=97165 cipher_list_tls13 = '[UNDEF]'
2023-11-13 19:18:07 us=97209 tls_cert_profile = '[UNDEF]'
2023-11-13 19:18:07 us=97240 tls_verify = '[UNDEF]'
2023-11-13 19:18:07 us=97266 tls_export_cert = '[UNDEF]'
2023-11-13 19:18:07 us=97298 verify_x509_type = 0
2023-11-13 19:18:07 us=97323 verify_x509_name = '[UNDEF]'
2023-11-13 19:18:07 us=97373 crl_file = '[UNDEF]'
2023-11-13 19:18:07 us=97404 ns_cert_type = 0
2023-11-13 19:18:07 us=97429 remote_cert_ku[i] = 65535
2023-11-13 19:18:07 us=97451 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97473 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97498 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97519 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97541 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97566 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97614 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97639 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97664 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97687 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97709 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97733 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97759 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97790 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97817 remote_cert_ku[i] = 0
2023-11-13 19:18:07 us=97842 remote_cert_eku = 'TLS Web Server Authentication'
2023-11-13 19:18:07 us=97869 ssl_flags = 192
2023-11-13 19:18:07 us=97894 tls_timeout = 2
2023-11-13 19:18:07 us=97918 renegotiate_bytes = -1
2023-11-13 19:18:07 us=98011 renegotiate_packets = 0
2023-11-13 19:18:07 us=98035 renegotiate_seconds = 3600
2023-11-13 19:18:07 us=98067 handshake_window = 60
2023-11-13 19:18:07 us=98093 transition_window = 3600
2023-11-13 19:18:07 us=98118 single_session = DISABLED
2023-11-13 19:18:07 us=98141 push_peer_info = DISABLED
2023-11-13 19:18:07 us=98167 tls_exit = DISABLED
2023-11-13 19:18:07 us=98200 tls_crypt_v2_metadata = '[UNDEF]'
2023-11-13 19:18:07 us=98235 server_network = 0.0.0.0
2023-11-13 19:18:07 us=98261 server_netmask = 0.0.0.0
2023-11-13 19:18:07 us=98287 server_network_ipv6 = ::
2023-11-13 19:18:07 us=98353 server_netbits_ipv6 = 0
2023-11-13 19:18:07 us=98380 server_bridge_ip = 0.0.0.0
2023-11-13 19:18:07 us=98417 server_bridge_netmask = 0.0.0.0
2023-11-13 19:18:07 us=98452 server_bridge_pool_start = 0.0.0.0
2023-11-13 19:18:07 us=98543 server_bridge_pool_end = 0.0.0.0
2023-11-13 19:18:07 us=98568 ifconfig_pool_defined = DISABLED
2023-11-13 19:18:07 us=98596 ifconfig_pool_start = 0.0.0.0
2023-11-13 19:18:07 us=98664 ifconfig_pool_end = 0.0.0.0
2023-11-13 19:18:07 us=98691 ifconfig_pool_netmask = 0.0.0.0
2023-11-13 19:18:07 us=98718 ifconfig_pool_persist_filename = '[UNDEF]'
2023-11-13 19:18:07 us=98748 ifconfig_pool_persist_refresh_freq = 600
2023-11-13 19:18:07 us=98773 ifconfig_ipv6_pool_defined = DISABLED
2023-11-13 19:18:07 us=98799 ifconfig_ipv6_pool_base = ::
2023-11-13 19:18:07 us=98831 ifconfig_ipv6_pool_netbits = 0
2023-11-13 19:18:07 us=98853 n_bcast_buf = 256
2023-11-13 19:18:07 us=98879 tcp_queue_limit = 64
2023-11-13 19:18:07 us=98905 real_hash_size = 256
2023-11-13 19:18:07 us=98937 virtual_hash_size = 256
2023-11-13 19:18:07 us=98959 client_connect_script = '[UNDEF]'
2023-11-13 19:18:07 us=98984 learn_address_script = '[UNDEF]'
2023-11-13 19:18:07 us=99010 client_disconnect_script = '[UNDEF]'
2023-11-13 19:18:07 us=99036 client_crresponse_script = '[UNDEF]'
2023-11-13 19:18:07 us=99058 client_config_dir = '[UNDEF]'
2023-11-13 19:18:07 us=99083 ccd_exclusive = DISABLED
2023-11-13 19:18:07 us=99106 tmp_dir = '/tmp'
2023-11-13 19:18:07 us=99130 push_ifconfig_defined = DISABLED
2023-11-13 19:18:07 us=99158 push_ifconfig_local = 0.0.0.0
2023-11-13 19:18:07 us=99191 push_ifconfig_remote_netmask = 0.0.0.0
2023-11-13 19:18:07 us=99218 push_ifconfig_ipv6_defined = DISABLED
2023-11-13 19:18:07 us=99244 push_ifconfig_ipv6_local = ::/0
2023-11-13 19:18:07 us=99270 push_ifconfig_ipv6_remote = ::
2023-11-13 19:18:07 us=99295 enable_c2c = DISABLED
2023-11-13 19:18:07 us=99317 duplicate_cn = DISABLED
2023-11-13 19:18:07 us=99339 cf_max = 0
2023-11-13 19:18:07 us=99364 cf_per = 0
2023-11-13 19:18:07 us=99389 cf_initial_max = 100
2023-11-13 19:18:07 us=99411 cf_initial_per = 10
2023-11-13 19:18:07 us=99436 max_clients = 1024
2023-11-13 19:18:07 us=99584 max_routes_per_client = 256
2023-11-13 19:18:07 us=99613 auth_user_pass_verify_script = '[UNDEF]'
2023-11-13 19:18:07 us=99639 auth_user_pass_verify_script_via_file = DISABLED
2023-11-13 19:18:07 us=99661 auth_token_generate = DISABLED
2023-11-13 19:18:07 us=99691 auth_token_lifetime = 0
2023-11-13 19:18:07 us=99722 auth_token_secret_file = '[UNDEF]'
2023-11-13 19:18:07 us=99744 port_share_host = '[UNDEF]'
2023-11-13 19:18:07 us=99766 port_share_port = '[UNDEF]'
2023-11-13 19:18:07 us=99798 vlan_tagging = DISABLED
2023-11-13 19:18:07 us=99821 vlan_accept = all
2023-11-13 19:18:07 us=99852 vlan_pvid = 1
2023-11-13 19:18:07 us=99876 client = ENABLED
2023-11-13 19:18:07 us=99898 pull = ENABLED
2023-11-13 19:18:07 us=99924 auth_user_pass_file = '/config/openvpn/france-tcp_credentials.conf'
2023-11-13 19:18:07 us=99949 OpenVPN 2.6.5 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
2023-11-13 19:18:07 us=100008 library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2023-11-13 19:18:07 us=100159 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2023-11-13 19:18:07 us=104256 Control Channel MTU parms [ mss_fix:0 max_frag:0 tun_mtu:1250 tun_max_mtu:0 headroom:126 payload:1600 tailroom:126 ET:0 ]
2023-11-13 19:18:07 [INFO] Adding 192.168.0.0/24 as route via docker eth0
2023-11-13 19:18:07 us=121227 Data Channel MTU parms [ mss_fix:0 max_frag:0 tun_mtu:1500 tun_max_mtu:1600 headroom:136 payload:1768 tailroom:562 ET:0 ]
2023-11-13 19:18:07 us=121533 TCP/UDP: Preserving recently used remote address: [AF_INET]REDACTED:443
2023-11-13 19:18:07 us=121581 Socket Buffers: R=[16777216->16777216] S=[16777216->16777216]
2023-11-13 19:18:07 us=121612 Attempting to establish TCP connection with [AF_INET]REDACTED:443
2023-11-13 19:18:07 us=131408 TCP connection established with [AF_INET]REDACTED:443
2023-11-13 19:18:07 us=131650 TCPv4_CLIENT link local: (not bound)
2023-11-13 19:18:07 us=131695 TCPv4_CLIENT link remote: [AF_INET]REDACTED:443
2023-11-13 19:18:07 us=142405 TLS: Initial packet from [AF_INET]REDACTED:443, sid=4261f7fd c022dff5
2023-11-13 19:18:07 us=142527 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
[cont-init.d] 03-network.sh: exited 0.
[cont-init.d] 04-qbittorrent-setup.sh: executing...
2023-11-13 19:18:07 us=187829 VERIFY OK: depth=1, C=RO, L=Bucharest, O=CyberGhost S.A., CN=CyberGhost Root CA, emailAddress=info@cyberghost.ro
2023-11-13 19:18:07 us=188820 VERIFY KU OK
2023-11-13 19:18:07 us=188943 Validating certificate extended key usage
2023-11-13 19:18:07 us=188999 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
2023-11-13 19:18:07 us=189048 VERIFY EKU OK
2023-11-13 19:18:07 us=189095 VERIFY OK: depth=0, CN=paris-rack431.nodes.gen4.ninja
2023-11-13 19:18:07 us=272498 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 4096 bit RSA, signature: RSA-SHA256
2023-11-13 19:18:07 us=272558 [paris-rack431.nodes.gen4.ninja] Peer Connection Initiated with [AF_INET]REDACTED:443
2023-11-13 19:18:07 us=272638 TLS: move_session: dest=TM_ACTIVE src=TM_INITIAL reinit_src=1
2023-11-13 19:18:07 us=272783 TLS: tls_multi_process: initial untrusted session promoted to trusted
2023-11-13 19:18:07 us=298361 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,route-ipv6 2000::/3,dhcp-option DNS 10.0.0.243,route-gateway 10.4.5.1,topology subnet,ifconfig REDACTED 255.255.255.0,peer-id 0,cipher AES-128-GCM'
2023-11-13 19:18:07 us=298438 WARNING: You have specified redirect-gateway and redirect-private at the same time (or the same option multiple times). This is not well supported and may lead to unexpected results
2023-11-13 19:18:07 us=298463 Pushed option removed by filter: 'route-ipv6 2000::/3'
2023-11-13 19:18:07 us=298549 OPTIONS IMPORT: --ifconfig/up options modified
2023-11-13 19:18:07 us=298574 OPTIONS IMPORT: route options modified
2023-11-13 19:18:07 us=298595 OPTIONS IMPORT: route-related options modified
2023-11-13 19:18:07 us=298616 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2023-11-13 19:18:07 us=298792 ROUTE_GATEWAY 172.29.0.1/255.255.252.0 IFACE=eth0 HWADDR=REDACTED
2023-11-13 19:18:07 us=299119 TUN/TAP device tun0 opened
2023-11-13 19:18:07 us=299250 do_ifconfig, ipv4=1, ipv6=0
2023-11-13 19:18:07 us=299355 /sbin/ip link set dev tun0 up mtu 1500
2023-11-13 19:18:07 us=306317 /sbin/ip link set dev tun0 up
2023-11-13 19:18:07 us=318809 /sbin/ip addr add dev tun0 REDACTED/24
2023-11-13 19:18:07 us=321587 /helper/resume-after-connect tun0 1500 0 REDACTED 255.255.255.0 init
2023-11-13 19:18:07 us=329818 Data Channel MTU parms [ mss_fix:1386 max_frag:0 tun_mtu:1500 tun_max_mtu:1600 headroom:136 payload:1768 tailroom:562 ET:0 ]
2023-11-13 19:18:07 us=330358 Outgoing Data Channel: Cipher 'AES-128-GCM' initialized with 128 bit key
2023-11-13 19:18:07 us=330398 Incoming Data Channel: Cipher 'AES-128-GCM' initialized with 128 bit key
2023-11-13 19:18:07 us=330432 Data Channel: cipher 'AES-128-GCM', peer-id: 0
2023-11-13 19:18:07 us=330463 Timers: ping 5, ping-exit 60
2023-11-13 19:18:07 [WARNING] ENABLE_SSL is set to no, SSL is not enabled. This could cause issues with logging if other apps use the same Cookie name (SID).
2023-11-13 19:18:07 [WARNING] If you manage the SSL config yourself, you can ignore this.
2023-11-13 19:18:07 [WARNING] UMASK not defined (via -e UMASK), defaulting to '002'
[cont-init.d] 04-qbittorrent-setup.sh: exited 0.
[cont-init.d] 05-install.sh: executing...
[cont-init.d] 05-install.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
2023-11-13 19:18:07 [INFO] Logging to /config/qBittorrent/data/logs/qbittorrent.log.
2023-11-13 19:18:07 [INFO] Trying to ping 1.1.1.1 and 8.8.8.8 over the docker interface for 500ms each...
[services.d] done.
Terminated
Terminated
2023-11-13 19:18:09 [INFO] Success: Could not connect. This means the firewall is most likely working properly.
2023-11-13 19:18:09 [INFO] qBittorrent started with PID 508
2023-11-13 19:18:09 [INFO] HEALTH_CHECK_HOST is not set. Using default host one.one.one.one
2023-11-13 19:18:09 [INFO] HEALTH_CHECK_TIMEOUT is not set. Using default interval of 5s
2023-11-13 19:18:12 us=897048 /sbin/ip route add REDACTED/32 via 172.29.0.1
2023-11-13 19:18:12 us=904942 /sbin/ip route add 0.0.0.0/1 via 10.4.5.1
2023-11-13 19:18:12 us=907456 /sbin/ip route add 128.0.0.0/1 via 10.4.5.1
2023-11-13 19:18:12 us=911379 Initialization Sequence Completed
Thanks. I unfortunately removed this line in f3678050c06f5a3fddf09fc9287d8a657453d002: https://github.com/Trigus42/alpine-qbittorrentvpn/blob/087e15b80ce1f4255af3667bb632c56c48b8571f/rootfs/etc/cont-init.d/02-vpn.sh#L200
Please try the image trigus42/qbittorrentvpn:issue-42
, which should fix this issue.
Thanks. I unfortunately removed this line in f367805:
Please try the image
trigus42/qbittorrentvpn:issue-42
, which should fix this issue.
Thanks for the reply, am I the only one affected by this ?
With the image trigus42/qbittorrentvpn:issue-42
I got other errors (I think I no more on debug mode, I can reactivate it if necessary) :
2023-11-14 22:14:08 [INFO] PGID not defined. Defaulting to 1000
2023-11-14 22:14:08 [INFO] An user with PUID 1000 already exists in /etc/passwd, nothing to do.
2023-11-14 22:14:08 [INFO] VPN_ENABLED defined as 'yes'
2023-11-14 22:14:08 [INFO] VPN_TYPE defined as 'openvpn'
2023-11-14 22:14:08 [INFO] NAME_SERVERS defined as '1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4'
2023-11-14 22:14:08 [INFO] Adding 1.1.1.1 to resolv.conf
2023-11-14 22:14:08 [INFO] Adding 1.0.0.1 to resolv.conf
2023-11-14 22:14:08 [INFO] Adding 8.8.8.8 to resolv.conf
2023-11-14 22:14:08 [INFO] Adding 8.8.4.4 to resolv.conf
[cont-init.d] 01-environment.sh: exited 0.
[cont-init.d] 02-vpn.sh: executing...
2023-11-14 22:14:08 [INFO] Choosen VPN config: 'france-tcp.ovpn'
2023-11-14 22:14:08 [INFO] Using credentials from /config/openvpn/france-tcp_credentials.conf
dos2unix: converting file /config/openvpn/france-tcp.ovpn to Unix format...
2023-11-14 22:14:08 [INFO] VPN remote line defined as '97-1-fr.cg-dialup.net 443'
2023-11-14 22:14:08 [INFO] VPN_REMOTE defined as '97-1-fr.cg-dialup.net'
2023-11-14 22:14:08 [INFO] VPN_PORT defined as '443'
2023-11-14 22:14:08 [INFO] VPN_PROTOCOL defined as 'tcp'
2023-11-14 22:14:08 [INFO] VPN_DEVICE_TYPE defined as 'tun0'
/var/run/s6/etc/cont-init.d/02-vpn.sh: line 202: pushd: no other directory
2023-11-14 22:14:08 [INFO] Starting OpenVPN...
--------------------
[cont-init.d] 02-vpn.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-environment.sh: executing...
2023-11-14 22:14:14 [INFO] LAN_NETWORK defined as '192.168.0.0/24'
2023-11-14 22:14:14 [INFO] Docker network defined as 172.29.0.0/22
2023-11-14 22:14:14 [INFO] PUID defined as 1000
2023-11-14 22:14:14 [INFO] PGID not defined. Defaulting to 1000
2023-11-14 22:14:14 [INFO] An user with PUID 1000 already exists in /etc/passwd, nothing to do.
2023-11-14 22:14:14 [INFO] VPN_ENABLED defined as 'yes'
2023-11-14 22:14:14 [INFO] VPN_TYPE defined as 'openvpn'
2023-11-14 22:14:14 [INFO] NAME_SERVERS defined as '1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4'
2023-11-14 22:14:14 [INFO] Adding 1.1.1.1 to resolv.conf
2023-11-14 22:14:14 [INFO] Adding 1.0.0.1 to resolv.conf
2023-11-14 22:14:14 [INFO] Adding 8.8.8.8 to resolv.conf
2023-11-14 22:14:14 [INFO] Adding 8.8.4.4 to resolv.conf
[cont-init.d] 01-environment.sh: exited 0.
[cont-init.d] 02-vpn.sh: executing...
2023-11-14 22:14:14 [INFO] Choosen VPN config: 'france-tcp.ovpn'
2023-11-14 22:14:14 [INFO] Using credentials from /config/openvpn/france-tcp_credentials.conf
dos2unix: converting file /config/openvpn/france-tcp.ovpn to Unix format...
2023-11-14 22:14:14 [INFO] VPN remote line defined as '97-1-fr.cg-dialup.net 443'
2023-11-14 22:14:14 [INFO] VPN_REMOTE defined as '97-1-fr.cg-dialup.net'
2023-11-14 22:14:14 [INFO] VPN_PORT defined as '443'
2023-11-14 22:14:14 [INFO] VPN_PROTOCOL defined as 'tcp'
2023-11-14 22:14:14 [INFO] VPN_DEVICE_TYPE defined as 'tun0'
2023-11-14 22:14:14 [INFO] Starting OpenVPN...
--------------------
/var/run/s6/etc/cont-init.d/02-vpn.sh: line 202: pushd: no other directory
[cont-init.d] 02-vpn.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-environment.sh: executing...
2023-11-14 22:14:21 [INFO] LAN_NETWORK defined as '192.168.0.0/24'
2023-11-14 22:14:21 [INFO] Docker network defined as 172.29.0.0/22
2023-11-14 22:14:21 [INFO] PUID defined as 1000
2023-11-14 22:14:21 [INFO] PGID not defined. Defaulting to 1000
2023-11-14 22:14:21 [INFO] An user with PUID 1000 already exists in /etc/passwd, nothing to do.
2023-11-14 22:14:21 [INFO] VPN_ENABLED defined as 'yes'
2023-11-14 22:14:21 [INFO] VPN_TYPE defined as 'openvpn'
2023-11-14 22:14:21 [INFO] NAME_SERVERS defined as '1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4'
2023-11-14 22:14:21 [INFO] Adding 1.1.1.1 to resolv.conf
2023-11-14 22:14:21 [INFO] Adding 1.0.0.1 to resolv.conf
2023-11-14 22:14:21 [INFO] Adding 8.8.8.8 to resolv.conf
2023-11-14 22:14:21 [INFO] Adding 8.8.4.4 to resolv.conf
[cont-init.d] 01-environment.sh: exited 0.
[cont-init.d] 02-vpn.sh: executing...
2023-11-14 22:14:21 [INFO] Choosen VPN config: 'france-tcp.ovpn'
2023-11-14 22:14:21 [INFO] Using credentials from /config/openvpn/france-tcp_credentials.conf
dos2unix: converting file /config/openvpn/france-tcp.ovpn to Unix format...
2023-11-14 22:14:21 [INFO] VPN remote line defined as '97-1-fr.cg-dialup.net 443'
2023-11-14 22:14:21 [INFO] VPN_REMOTE defined as '97-1-fr.cg-dialup.net'
2023-11-14 22:14:21 [INFO] VPN_PORT defined as '443'
2023-11-14 22:14:21 [INFO] VPN_PROTOCOL defined as 'tcp'
2023-11-14 22:14:21 [INFO] VPN_DEVICE_TYPE defined as 'tun0'
2023-11-14 22:14:21 [INFO] Starting OpenVPN...
--------------------
/var/run/s6/etc/cont-init.d/02-vpn.sh: line 202: pushd: no other directory
[cont-init.d] 02-vpn.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
Yeah. Sorry I didn't test that. Please pull the new image and try again
Yeah. Sorry I didn't test that. Please pull the new image and try again
Hi, I can confirm the container launches with the new image trigus42/qbittorrentvpn:issue-42
I let you close my issue if it's ok for you.
Regards.
Hi, with the last update I got errors because the container can't find the openvpn files.
I've changed nothing since yesterday and the update.