Replies: 5 comments 20 replies
-
once the tunnel is up, the openvpn process will trigger this script: |
Beta Was this translation helpful? Give feedback.
-
no logs, no support possible i'm afraid. As for your interrogation, this line indicates how env variables are written to settings. a bit more of set up: then a shell is forked to start transmission: docker-transmission-openvpn/transmission/start.sh Lines 82 to 83 in 8cc1870 |
Beta Was this translation helpful? Give feedback.
-
Tue Mar 8 08:08:33 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 27 2020 Tue Mar 8 08:08:33 2022 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 Enter Auth Username: No VPN configuration provided. Using default. Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Tue Mar 8 08:17:31 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 27 2020 Tue Mar 8 08:17:31 2022 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 Enter Auth Username: No VPN configuration provided. Using default. Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Tue Mar 8 08:45:35 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 27 2020 Tue Mar 8 08:45:35 2022 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 Enter Auth Username: Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Tue Mar 8 17:42:59 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 27 2020 Tue Mar 8 17:42:59 2022 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 Enter Auth Username: Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Tue Mar 8 17:45:12 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 27 2020 Tue Mar 8 17:45:12 2022 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 Enter Auth Username: Using OpenVPN provider: custom Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Tue Mar 8 18:41:39 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 27 2020 Tue Mar 8 18:41:39 2022 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 Enter Auth Username: Using OpenVPN provider: custom Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/custom/default.ovpn Use --help for more information. mknod: /dev/net/tun: File exists Using OpenVPN provider: custom Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/custom/default.ovpn Use --help for more information. mknod: /dev/net/tun: File exists Using OpenVPN provider: custom Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/custom/default.ovpn Use --help for more information. Using OpenVPN provider: custom Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/custom/default.ovpn Use --help for more information. Using OpenVPN provider: custom Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Wed Mar 9 04:00:08 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 27 2020 Wed Mar 9 04:00:08 2022 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 Enter Auth Username: Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Wed Mar 9 04:01:18 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 27 2020 Wed Mar 9 04:01:18 2022 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 Enter Auth Username: Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Wed Mar 9 04:06:58 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 27 2020 Wed Mar 9 04:06:58 2022 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 Enter Auth Username: Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Wed Mar 9 06:18:22 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 27 2020 Wed Mar 9 06:18:22 2022 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 Enter Auth Username: Starting OpenVPN using config default.ovpn Setting OPENVPN credentials... adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 Wed Mar 9 06:19:14 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 27 2020 Wed Mar 9 06:19:14 2022 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 |
Beta Was this translation helpful? Give feedback.
-
Think I'm getting closer. Now when I have it set to use custom and have it point to the default.ovpn that I have linked I get the following: This is using a fresh download of the ovpn file from ghostpath just in case. The reason I'm using it as custom is the built in ghostpath files right now have an invalid ca.cert causing problems. The work around appeared to be specifying a custom provider and point it at the file. Any ideas? Thanks for all the help BTW Starting container with revision: 8cc1870 |
Beta Was this translation helpful? Give feedback.
-
If you wish to integrate the CA certificate into the image: At the moment, I guess you may have a problem with the /dev/tun interface, either mount it or set |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've had a long time running setup using docker on my Synology NAS to run the transmission-openvpn container just fine. Recently it stopped working. Before I really did any troubleshooting I had the bright idea of updating DSM to 7. Little did I know that the only thing broken at the time was the ca.cert of ghostpath that could have been fixed with a custom profile and updating the NET_ADMIN.
Unfortunately after upgrading it the container wouldn't start. After discovering the NET_ADMIN permissions and adding that the container will start and it appears the tunnel starts fine, but transmission-daemon doesn't.
I can't seem to figure what is supposed to start the actual transmission daemon because when I connect to a bash shell on the container I can see there is a transmission-daemon service I can start, but it doesn't use the environment variables to configure it. It uses what appears to be a default settings.json in /etc/transmission-daemon.
I can see all the data paths and config seems to be mounted the way it should, but for whatever it never actually starts the transmission-daemon.
Beta Was this translation helpful? Give feedback.
All reactions