$ sudo docker container logs markusmcnugen-qbittorrentvpn1
2020-06-08 16:49:10.050679 [info] VPN_ENABLED defined as 'yes'
2020-06-08 16:49:10.154362 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/alanlee.no-ip.com.ovpn
dos2unix: converting file /config/openvpn/alanlee.no-ip.com.ovpn to Unix format...
2020-06-08 16:49:10.255496 [info] VPN remote line defined as 'alanlee.no-ip.com 1194'
2020-06-08 16:49:10.316868 [info] VPN_REMOTE defined as 'alanlee.no-ip.com'
2020-06-08 16:49:10.377542 [info] VPN_PORT defined as '1194'
2020-06-08 16:49:10.451349 [info] VPN_PROTOCOL defined as 'udp'
2020-06-08 16:49:10.529998 [info] VPN_DEVICE_TYPE defined as 'tun0'
2020-06-08 16:49:10.589678 [info] LAN_NETWORK defined as '10.27.0.0/24'
2020-06-08 16:49:10.649080 [warn] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to Google and FreeDNS name servers
2020-06-08 16:49:10.708824 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2020-06-08 16:49:10.770638 [info] Adding 8.8.8.8 to resolv.conf
2020-06-08 16:49:10.832978 [info] Adding 37.235.1.174 to resolv.conf
2020-06-08 16:49:10.894769 [info] Adding 8.8.4.4 to resolv.conf
2020-06-08 16:49:10.955396 [info] Adding 37.235.1.177 to resolv.conf
2020-06-08 16:49:11.011984 [info] Starting OpenVPN...
Mon Jun 8 16:49:11 2020 WARNING: file 'credentials.conf' is group or others accessible
Mon Jun 8 16:49:11 2020 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2019
Mon Jun 8 16:49:11 2020 library versions: OpenSSL 1.1.1 11 Sep 2018, LZO 2.08
Mon Jun 8 16:49:11 2020 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Mon Jun 8 16:49:11 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]42.3.114.43:1194
Mon Jun 8 16:49:11 2020 UDP link local: (not bound)
Mon Jun 8 16:49:11 2020 UDP link remote: [AF_INET]42.3.114.43:1194
Mon Jun 8 16:49:11 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Mon Jun 8 16:49:14 2020 [TS Series NAS] Peer Connection Initiated with [AF_INET]42.3.114.43:1194
Mon Jun 8 16:49:29 2020 TUN/TAP device tun2001 opened
Mon Jun 8 16:49:29 2020 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Mon Jun 8 16:49:29 2020 /sbin/ip link set dev tun2001 up mtu 1500
Mon Jun 8 16:49:29 2020 /sbin/ip addr add dev tun2001 local 10.8.0.10 peer 10.8.0.9
Mon Jun 8 16:49:29 2020 Initialization Sequence Completed
2020-06-08 16:49:30.185429 [info] WebUI port defined as
2020-06-08 16:49:30.248338 [info] LAN Network defined as 10.27.0.0/24
2020-06-08 16:49:30.308007 [info] Default gateway defined as 172.17.0.1
2020-06-08 16:49:30.374466 [info] ip route defined as follows...
--------------------
0.0.0.0/1 via 10.8.0.9 dev tun2001
default via 172.17.0.1 dev eth0
10.8.0.0/24 via 10.8.0.9 dev tun2001
10.8.0.9 dev tun2001 proto kernel scope link src 10.8.0.10
10.27.0.0/24 via 172.17.0.1 dev eth0
42.3.114.43 via 172.17.0.1 dev eth0
128.0.0.0/1 via 10.8.0.9 dev tun2001
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.12
--------------------
iptable_mangle 1656 0
ip_tables 14092 3 iptable_filter,iptable_mangle,iptable_nat
x_tables 16302 19 ip6table_filter,xt_ipvs,xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_nat,xt_multiport,iptable_filter,xt_REDIRECT,iptable_mangle,ip6_tables,xt_addrtype
2020-06-08 16:49:30.444368 [info] iptable_mangle support detected, adding fwmark for tables
2020-06-08 16:49:30.545403 [info] Docker network defined as 172.17.0.0/16
2020-06-08 16:49:30.652219 [info] iptables defined as follows...
--------------------
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1194 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A INPUT -s 10.27.0.0/24 -i eth0 -p tcp -m tcp --dport 8999 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1194 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
-A OUTPUT -d 10.27.0.0/24 -o eth0 -p tcp -m tcp --sport 8999 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
--------------------
Adding 100 group
groupadd: GID '100' already exists
Adding 1038 user
useradd: user 'qbittorent' already exists
2020-06-08 16:49:30.732376 [warn] UMASK not defined (via -e UMASK), defaulting to '002'
2020-06-08 16:49:30.789265 [info] Starting qBittorrent daemon...
Logging to /config/qBittorrent/data/logs/qbittorrent-daemon.log.
2020-06-08 16:49:31.856330 [info] qBittorrent PID: 246
2020-06-08 16:49:31.866822 [info] Started qBittorrent daemon successfully...
I cannot get DNS working on Synology DS918+. The same OpenVPN config file and credentials work on my phone and Mac.
Docker version:
docker config:
log: