Hello,
I'm trying to set up my omv with Transmission and OpenVPN, using the haugene/transmission-openvpn docker. So far, everything seems to work, except actually connecting to the webui. If I use the container's console, and curl it (curl localhost:9091), it says "Permanently moved", which is correct according to the documentation. I'm only running this container (next to portainer, which uses port 9000), all stock omv installation, nothing crazy. Here are the logs:
Code
Tue Jan 11 13:44:53 2022 /sbin/ip addr del dev tun0 10.3.112.132/24
Tue Jan 11 13:44:53 2022 SIGTERM[hard,] received, process exiting
Starting container with revision: 20877f1b168b6ff27fc58aeef40756572c562d47
Creating TUN device /dev/net/tun
Using OpenVPN provider: PIA
Running with VPN_CONFIG_SOURCE auto
Provider PIA has a bundled setup script. Defaulting to internal config
Executing setup script for PIA
Downloading OpenVPN config bundle openvpn into temporary file /tmp/tmp.uVIBCHFmwr
Extract OpenVPN config bundle into PIA directory /etc/openvpn/pia
Starting OpenVPN using config luxembourg.ovpn
Modifying /etc/openvpn/pia/luxembourg.ovpn for best behaviour in this container
Modification: Point auth-user-pass option to the username/password file
Modification: Change ca certificate path
Modification: Change ping options
Modification: Update/set resolv-retry to 15 seconds
Modification: Change tls-crypt keyfile path
Modification: Set output verbosity to 3
Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop
Setting OpenVPN credentials...
adding route to local network 192.168.0.0/24 via 172.18.0.1 dev eth0
Tue Jan 11 13:50:20 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 19 2021
Tue Jan 11 13:50:20 2022 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10
Tue Jan 11 13:50:20 2022 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Tue Jan 11 13:50:20 2022 TCP/UDP: Preserving recently used remote address: [AF_INET]5.253.204.122:1198
Tue Jan 11 13:50:20 2022 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Jan 11 13:50:20 2022 UDP link local: (not bound)
Tue Jan 11 13:50:20 2022 UDP link remote: [AF_INET]5.253.204.122:1198
Tue Jan 11 13:50:20 2022 TLS: Initial packet from [AF_INET]5.253.204.122:1198, sid=4a64b39d 09b4dd44
Tue Jan 11 13:50:20 2022 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Jan 11 13:50:20 2022 VERIFY OK: depth=1, C=US, ST=CA, L=LosAngeles, O=Private Internet Access, OU=Private Internet Access, CN=Private Internet Access, name=Private Internet Access, emailAddress=secure@privateinternetaccess.com
Tue Jan 11 13:50:20 2022 VERIFY KU OK
Tue Jan 11 13:50:20 2022 Validating certificate extended key usage
Tue Jan 11 13:50:20 2022 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Tue Jan 11 13:50:20 2022 VERIFY EKU OK
Tue Jan 11 13:50:20 2022 VERIFY OK: depth=0, C=US, ST=CA, L=LosAngeles, O=Private Internet Access, OU=Private Internet Access, CN=luxembourg405, name=luxembourg405
Tue Jan 11 13:50:20 2022 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
Tue Jan 11 13:50:20 2022 [luxembourg405] Peer Connection Initiated with [AF_INET]5.253.204.122:1198
Tue Jan 11 13:50:21 2022 SENT CONTROL [luxembourg405]: 'PUSH_REQUEST' (status=1)
Tue Jan 11 13:50:21 2022 PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway def1,route-ipv6 2000::/3,dhcp-option DNS 10.0.0.243,route-gateway 10.8.112.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.8.112.58 255.255.255.0,peer-id 44,cipher AES-128-GCM'
Tue Jan 11 13:50:21 2022 OPTIONS IMPORT: timers and/or timeouts modified
Tue Jan 11 13:50:21 2022 OPTIONS IMPORT: compression parms modified
Tue Jan 11 13:50:21 2022 OPTIONS IMPORT: --ifconfig/up options modified
Tue Jan 11 13:50:21 2022 OPTIONS IMPORT: route options modified
Tue Jan 11 13:50:21 2022 OPTIONS IMPORT: route-related options modified
Tue Jan 11 13:50:21 2022 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Jan 11 13:50:21 2022 OPTIONS IMPORT: peer-id set
Tue Jan 11 13:50:21 2022 OPTIONS IMPORT: adjusting link_mtu to 1625
Tue Jan 11 13:50:21 2022 OPTIONS IMPORT: data channel crypto options modified
Tue Jan 11 13:50:21 2022 Data Channel: using negotiated cipher 'AES-128-GCM'
Tue Jan 11 13:50:21 2022 Outgoing Data Channel: Cipher 'AES-128-GCM' initialized with 128 bit key
Tue Jan 11 13:50:21 2022 Incoming Data Channel: Cipher 'AES-128-GCM' initialized with 128 bit key
Tue Jan 11 13:50:21 2022 ROUTE_GATEWAY 172.18.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:12:00:02
Tue Jan 11 13:50:21 2022 GDG6: remote_host_ipv6=n/a
Tue Jan 11 13:50:21 2022 ROUTE6: default_gateway=UNDEF
Tue Jan 11 13:50:21 2022 OpenVPN ROUTE6: OpenVPN needs a gateway parameter for a --route-ipv6 option and no default was specified by either --route-ipv6-gateway or --ifconfig-ipv6 options
Tue Jan 11 13:50:21 2022 OpenVPN ROUTE: failed to parse/resolve route for host/network: 2000::/3
Tue Jan 11 13:50:21 2022 TUN/TAP device tun0 opened
Tue Jan 11 13:50:21 2022 TUN/TAP TX queue length set to 100
Tue Jan 11 13:50:21 2022 /sbin/ip link set dev tun0 up mtu 1500
Tue Jan 11 13:50:21 2022 /sbin/ip addr add dev tun0 10.8.112.58/24 broadcast 10.8.112.255
Tue Jan 11 13:50:21 2022 /etc/openvpn/tunnelUp.sh tun0 1500 1553 10.8.112.58 255.255.255.0 init
Up script executed with tun0 1500 1553 10.8.112.58 255.255.255.0 init
Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.8.112.58
Updating Transmission settings.json with values from env variables
Using existing settings.json for Transmission /data/transmission-home/settings.json
Overriding bind-address-ipv4 because TRANSMISSION_BIND_ADDRESS_IPV4 is set to 10.8.112.58
Overriding download-dir because TRANSMISSION_DOWNLOAD_DIR is set to /data/completed
Overriding incomplete-dir because TRANSMISSION_INCOMPLETE_DIR is set to /data/incomplete
Overriding rpc-port because TRANSMISSION_RPC_PORT is set to 9091
Overriding watch-dir because TRANSMISSION_WATCH_DIR is set to /data/watch
sed'ing True to true
Enforcing ownership on transmission config directories
Applying permissions to transmission config directories
Setting owner for transmission paths to 998:100
Setting permissions for download and incomplete directories
2
Directories: 775
Files: 664
Setting permission for watch directory (775) and its files (664)
-------------------------------------
Transmission will run as
-------------------------------------
User name: abc
User uid: 998
User gid: 100
-------------------------------------
STARTING TRANSMISSION
Transmission startup script complete.
Privoxy: Starting
Privoxy: Using config file at /etc/privoxy/config
Privoxy: Setting port to 8118
Privoxy: Running as PID 91
Tue Jan 11 13:50:24 2022 /sbin/ip route add 5.253.204.122/32 via 172.18.0.1
Tue Jan 11 13:50:24 2022 /sbin/ip route add 0.0.0.0/1 via 10.8.112.1
Tue Jan 11 13:50:24 2022 /sbin/ip route add 128.0.0.0/1 via 10.8.112.1
Tue Jan 11 13:50:24 2022 WARNING: OpenVPN was configured to add an IPv6 route over tun0. However, no IPv6 has been configured for this interface, therefore the route installation may fail or may not work as expected.
Tue Jan 11 13:50:24 2022 Initialization Sequence Completed
Display More
Edit: Added info. DELETED--- km0201. I got it working (so far) using this video and the mentioned documentation above.