Having some issues getting this working as a beginner to docker
colelisiongaming opened this issue · 0 comments
Information
Getting a output of Host not set! Set env 'HEALTH_CHECK_HOST'. For now, using default google.com ping: sendto: Operation not permitted PING google.com (142.250.217.206): 56 data bytes Network is down
A expressvpn/my_expressvpn_usa_-_santa_monica_udp.ovpn
A expressvpn/my_expressvpn_usa_-_seattle_udp.ovpn
A expressvpn/my_expressvpn_usa_-tampa-_1_udp.ovpn
A expressvpn/my_expressvpn_usa_-_washington_dc_udp.ovpn
A expressvpn/my_expressvpn_uzbekistan_udp.ovpn
A expressvpn/my_expressvpn_venezuela_udp.ovpn
A expressvpn/my_expressvpn_vietnam_udp.ovpn
Exported revision 1296.
INFO: Found OpenVPN configuration: "my_expressvpn_usa_-_miami_udp" for provider "expressvpn" using it
[cont-init.d] 02-setup-openvpn: exited 0.
[cont-init.d] 03-setup-iptables: executing...
INFO: Configuring Docker networks: 172.23.0.2/16
iptables v1.8.7 (legacy): unknown protocol "'udp'" specified
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.7 (legacy): unknown protocol "'udp'" specified
Try `iptables -h' or 'iptables --help' for more information.
[cont-init.d] 03-setup-iptables: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2022-08-26 20:06:26 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
2022-08-26 20:06:26 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6
2022-08-26 20:06:26 OpenVPN 2.5.2 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on May 4 2021
2022-08-26 20:06:26 library versions: OpenSSL 1.1.1l 24 Aug 2021, LZO 2.10
2022-08-26 20:06:26 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
2022-08-26 20:06:26 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-26 20:06:26 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-26 20:06:26 TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.177.225:1195
2022-08-26 20:06:26 Socket Buffers: R=[212992->425984] S=[212992->425984]
2022-08-26 20:06:26 UDP link local: (not bound)
2022-08-26 20:06:26 UDP link remote: [AF_INET]191.101.177.225:1195
2022-08-26 20:06:26 write UDP: Operation not permitted (code=1)
2022-08-26 20:06:28 write UDP: Operation not permitted (code=1)
2022-08-26 20:06:32 write UDP: Operation not permitted (code=1)
2022-08-26 20:06:40 write UDP: Operation not permitted (code=1)
2022-08-26 20:06:56 write UDP: Operation not permitted (code=1)
2022-08-26 20:07:26 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2022-08-26 20:07:26 TLS Error: TLS handshake failed
2022-08-26 20:07:26 SIGUSR1[soft,tls-error] received, process restarting
2022-08-26 20:07:26 Restart pause, 5 second(s)
2022-08-26 20:07:31 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
2022-08-26 20:07:31 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-26 20:07:31 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-26 20:07:31 TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.177.213:1195
2022-08-26 20:07:31 Socket Buffers: R=[212992->425984] S=[212992->425984]
2022-08-26 20:07:31 UDP link local: (not bound)
2022-08-26 20:07:31 UDP link remote: [AF_INET]191.101.177.213:1195
2022-08-26 20:07:31 write UDP: Operation not permitted (code=1)
2022-08-26 20:07:33 write UDP: Operation not permitted (code=1)
2022-08-26 20:07:37 write UDP: Operation not permitted (code=1)
2022-08-26 20:07:45 write UDP: Operation not permitted (code=1)
2022-08-26 20:08:01 write UDP: Operation not permitted (code=1)
2022-08-26 20:08:31 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2022-08-26 20:08:31 TLS Error: TLS handshake failed
2022-08-26 20:08:31 SIGUSR1[soft,tls-error] received, process restarting
2022-08-26 20:08:31 Restart pause, 5 second(s)
2022-08-26 20:08:36 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
2022-08-26 20:08:36 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-26 20:08:36 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-26 20:08:36 TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.177.225:1195
2022-08-26 20:08:36 Socket Buffers: R=[212992->425984] S=[212992->425984]
2022-08-26 20:08:36 UDP link local: (not bound)
2022-08-26 20:08:36 UDP link remote: [AF_INET]191.101.177.225:1195
2022-08-26 20:08:36 write UDP: Operation not permitted (code=1)
2022-08-26 20:08:38 write UDP: Operation not permitted (code=1)
2022-08-26 20:08:42 write UDP: Operation not permitted (code=1)
2022-08-26 20:08:50 write UDP: Operation not permitted (code=1)
2022-08-26 20:09:06 write UDP: Operation not permitted (code=1)
2022-08-26 20:09:36 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2022-08-26 20:09:36 TLS Error: TLS handshake failed
2022-08-26 20:09:36 SIGUSR1[soft,tls-error] received, process restarting
2022-08-26 20:09:36 Restart pause, 5 second(s)
2022-08-26 20:09:41 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
2022-08-26 20:09:41 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-26 20:09:41 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-26 20:09:41 TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.177.213:1195
2022-08-26 20:09:41 Socket Buffers: R=[212992->425984] S=[212992->425984]
2022-08-26 20:09:41 UDP link local: (not bound)
2022-08-26 20:09:41 UDP link remote: [AF_INET]191.101.177.213:1195
2022-08-26 20:09:41 write UDP: Operation not permitted (code=1)
2022-08-26 20:09:43 write UDP: Operation not permitted (code=1)
2022-08-26 20:09:47 write UDP: Operation not permitted (code=1)
2022-08-26 20:09:55 write UDP: Operation not permitted (code=1)
2022-08-26 20:10:11 write UDP: Operation not permitted (code=1)
2022-08-26 20:10:41 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2022-08-26 20:10:41 TLS Error: TLS handshake failed
2022-08-26 20:10:41 SIGUSR1[soft,tls-error] received, process restarting
2022-08-26 20:10:41 Restart pause, 5 second(s)
2022-08-26 20:10:46 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
2022-08-26 20:10:46 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-26 20:10:46 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-26 20:10:46 TCP/UDP: Preserving recently used remote address: [AF_INET]191.101.177.225:1195
2022-08-26 20:10:46 Socket Buffers: R=[212992->425984] S=[212992->425984]
2022-08-26 20:10:46 UDP link local: (not bound)
2022-08-26 20:10:46 UDP link remote: [AF_INET]191.101.177.225:1195
2022-08-26 20:10:46 write UDP: Operation not permitted (code=1)
2022-08-26 20:10:48 write UDP: Operation not permitted (code=1)
2022-08-26 20:10:52 write UDP: Operation not permitted (code=1)
2022-08-26 20:11:00 write UDP: Operation not permitted (code=1)
2022-08-26 20:11:17 write UDP: Operation not permitted (code=1)
Current setup
Docker desktop and portainer running on Ubuntu
docker-compose.yml
file or docker run
command
version: "3.3"
services:
alpine-qbittorrent-openvpn:
volumes:
- "/home/colelision/Documents/OpenTorrent/downloads/:/downloads"
- "/home/colelision/Documents/OpenTorrent/config/:/config"
- "/etc/localtime:/etc/localtime:ro"
environment:
- OPENVPN_PROVIDER=expressvpn
- OPENVPN_CONFIG=my_expressvpn_usa_-_miami_udp
- OPENVPN_USERNAME=Redacted
- OPENVPN_PASSWORD=Redacted
- PUID=1000
- PGID=1000
- LAN=192.168.50.0/24
ports:
- "8080:8080"
cap_add:
- NET_ADMIN
image: guillaumedsde/alpine-qbittorrent-openvpn:latest