Hi, I installed qbittorrentvpn in unraid docker and it works fine when I set vpn_enabled = no but I can't reach the web ui if I set it to yes. Can someone please help me?
This is the log
`text error warn system array login
dos2unix: converting file /config/openvpn/gw2.yul2.slickvpn.com.ovpn to Unix format...
Error: Nexthop has invalid gateway.
groupadd: GID '100' already exists
useradd: UID 99 is not unique
2023-09-27 09:39:13.202165 [info] VPN_ENABLED defined as 'yes'
2023-09-27 09:39:13.242794 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/gw2.yul2.slickvpn.com.ovpn
2023-09-27 09:39:13.290970 [info] VPN remote line defined as 'gw2.yul2.slickvpn.com 443 udp'
2023-09-27 09:39:13.316448 [info] VPN_REMOTE defined as 'gw2.yul2.slickvpn.com'
2023-09-27 09:39:13.342912 [info] VPN_PORT defined as '443'
2023-09-27 09:39:13.373301 [info] VPN_PROTOCOL defined as 'udp'
2023-09-27 09:39:13.398631 [info] VPN_DEVICE_TYPE defined as 'tun0'
2023-09-27 09:39:13.425312 [info] LAN_NETWORK defined as '192.168.1.0/24'
2023-09-27 09:39:13.455504 [info] NAME_SERVERS defined as '8.8.8.8,8.8.4.4'
2023-09-27 09:39:13.485686 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2023-09-27 09:39:13.525541 [info] Adding 8.8.8.8 to resolv.conf
2023-09-27 09:39:13.550752 [info] Adding 8.8.4.4 to resolv.conf
2023-09-27 09:39:13.573801 [info] Starting OpenVPN...
Wed Sep 27 09:39:13 2023 WARNING: file 'credentials.conf' is group or others accessible
Wed Sep 27 09:39:13 2023 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 19 2021
Wed Sep 27 09:39:13 2023 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10
Wed Sep 27 09:39:13 2023 TCP/UDP: Preserving recently used remote address: [AF_INET]67.215.7.10:443
Wed Sep 27 09:39:13 2023 UDP link local: (not bound)
Wed Sep 27 09:39:13 2023 UDP link remote: [AF_INET]67.215.7.10:443
Wed Sep 27 09:39:13 2023 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Sep 27 09:39:13 2023 [VPN] Peer Connection Initiated with [AF_INET]67.215.7.10:443
Wed Sep 27 09:39:14 2023 TUN/TAP device tun0 opened
Wed Sep 27 09:39:14 2023 /sbin/ip link set dev tun0 up mtu 1500
Wed Sep 27 09:39:14 2023 /sbin/ip addr add dev tun0 local 10.10.8.42 peer 10.10.8.41
Wed Sep 27 09:39:14 2023 Initialization Sequence Completed
2023-09-27 09:39:18.607075 [info] WebUI port defined as 8080
2023-09-27 09:39:18.634254 [info] LAN Network defined as 192.168.1.0/24
2023-09-27 09:39:18.658880 [info] Default gateway defined as 10.10.8.41
2023-09-27 09:39:18.681410 [info] ip route defined as follows...
default via 10.10.8.41 dev tun0
10.10.8.1 via 10.10.8.41 dev tun0
10.10.8.41 dev tun0 proto kernel scope link src 10.10.8.42
67.215.7.10 via 172.19.0.1 dev eth0
172.19.0.0/16 dev eth0 proto kernel scope link src 172.19.0.2
iptable_mangle 16384 2
ip_tables 28672 5 iptable_filter,iptable_nat,iptable_mangle
x_tables 45056 16 ip6table_filter,xt_conntrack,iptable_filter,ip6table_nat,xt_tcpudp,xt_addrtype,xt_CHECKSUM,xt_nat,ip6_tables,ipt_REJECT,ip_tables,iptable_nat,ip6table_mangle,xt_MASQUERADE,iptable_mangle,xt_mark
2023-09-27 09:39:18.716307 [info] iptable_mangle support detected, adding fwmark for tables
2023-09-27 09:39:18.761427 [info] Docker network defined as 172.19.0.0/16
2023-09-27 09:39:18.829911 [info] Incoming connections port defined as 8999
2023-09-27 09:39:18.866747 [info] iptables defined as follows...
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 172.19.0.0/16 -d 172.19.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 443 -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 192.168.1.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.19.0.0/16 -d 172.19.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 443 -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 192.168.1.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
Adding 99 user
2023-09-27 09:39:18.930170 [info] UMASK defined as '002'
2023-09-27 09:39:18.972110 [info] Starting qBittorrent daemon...
Logging to /config/qBittorrent/data/logs/qbittorrent-daemon.log.
2023-09-27 09:39:20.012766 [info] Started qBittorrent daemon successfully...
2023-09-27 09:39:20.016027 [info] qBittorrent PID: 201`
Hi, I installed qbittorrentvpn in unraid docker and it works fine when I set vpn_enabled = no but I can't reach the web ui if I set it to yes. Can someone please help me?
The following is my configuration.
https://imgur.com/a/m3bTwiH
This is the log `text error warn system array login
dos2unix: converting file /config/openvpn/gw2.yul2.slickvpn.com.ovpn to Unix format... Error: Nexthop has invalid gateway. groupadd: GID '100' already exists useradd: UID 99 is not unique 2023-09-27 09:39:13.202165 [info] VPN_ENABLED defined as 'yes' 2023-09-27 09:39:13.242794 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/gw2.yul2.slickvpn.com.ovpn 2023-09-27 09:39:13.290970 [info] VPN remote line defined as 'gw2.yul2.slickvpn.com 443 udp' 2023-09-27 09:39:13.316448 [info] VPN_REMOTE defined as 'gw2.yul2.slickvpn.com' 2023-09-27 09:39:13.342912 [info] VPN_PORT defined as '443' 2023-09-27 09:39:13.373301 [info] VPN_PROTOCOL defined as 'udp' 2023-09-27 09:39:13.398631 [info] VPN_DEVICE_TYPE defined as 'tun0' 2023-09-27 09:39:13.425312 [info] LAN_NETWORK defined as '192.168.1.0/24' 2023-09-27 09:39:13.455504 [info] NAME_SERVERS defined as '8.8.8.8,8.8.4.4' 2023-09-27 09:39:13.485686 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS) 2023-09-27 09:39:13.525541 [info] Adding 8.8.8.8 to resolv.conf 2023-09-27 09:39:13.550752 [info] Adding 8.8.4.4 to resolv.conf 2023-09-27 09:39:13.573801 [info] Starting OpenVPN... Wed Sep 27 09:39:13 2023 WARNING: file 'credentials.conf' is group or others accessible Wed Sep 27 09:39:13 2023 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 19 2021 Wed Sep 27 09:39:13 2023 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10 Wed Sep 27 09:39:13 2023 TCP/UDP: Preserving recently used remote address: [AF_INET]67.215.7.10:443 Wed Sep 27 09:39:13 2023 UDP link local: (not bound) Wed Sep 27 09:39:13 2023 UDP link remote: [AF_INET]67.215.7.10:443 Wed Sep 27 09:39:13 2023 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Wed Sep 27 09:39:13 2023 [VPN] Peer Connection Initiated with [AF_INET]67.215.7.10:443 Wed Sep 27 09:39:14 2023 TUN/TAP device tun0 opened Wed Sep 27 09:39:14 2023 /sbin/ip link set dev tun0 up mtu 1500 Wed Sep 27 09:39:14 2023 /sbin/ip addr add dev tun0 local 10.10.8.42 peer 10.10.8.41 Wed Sep 27 09:39:14 2023 Initialization Sequence Completed 2023-09-27 09:39:18.607075 [info] WebUI port defined as 8080 2023-09-27 09:39:18.634254 [info] LAN Network defined as 192.168.1.0/24 2023-09-27 09:39:18.658880 [info] Default gateway defined as 10.10.8.41 2023-09-27 09:39:18.681410 [info] ip route defined as follows...
default via 10.10.8.41 dev tun0 10.10.8.1 via 10.10.8.41 dev tun0 10.10.8.41 dev tun0 proto kernel scope link src 10.10.8.42 67.215.7.10 via 172.19.0.1 dev eth0 172.19.0.0/16 dev eth0 proto kernel scope link src 172.19.0.2
iptable_mangle 16384 2 ip_tables 28672 5 iptable_filter,iptable_nat,iptable_mangle x_tables 45056 16 ip6table_filter,xt_conntrack,iptable_filter,ip6table_nat,xt_tcpudp,xt_addrtype,xt_CHECKSUM,xt_nat,ip6_tables,ipt_REJECT,ip_tables,iptable_nat,ip6table_mangle,xt_MASQUERADE,iptable_mangle,xt_mark 2023-09-27 09:39:18.716307 [info] iptable_mangle support detected, adding fwmark for tables 2023-09-27 09:39:18.761427 [info] Docker network defined as 172.19.0.0/16 2023-09-27 09:39:18.829911 [info] Incoming connections port defined as 8999 2023-09-27 09:39:18.866747 [info] iptables defined as follows...
-P INPUT DROP -P FORWARD ACCEPT -P OUTPUT DROP -A INPUT -i tun0 -j ACCEPT -A INPUT -s 172.19.0.0/16 -d 172.19.0.0/16 -j ACCEPT -A INPUT -i eth0 -p udp -m udp --sport 443 -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 192.168.1.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.19.0.0/16 -d 172.19.0.0/16 -j ACCEPT -A OUTPUT -o eth0 -p udp -m udp --dport 443 -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 192.168.1.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 Adding 99 user 2023-09-27 09:39:18.930170 [info] UMASK defined as '002' 2023-09-27 09:39:18.972110 [info] Starting qBittorrent daemon... Logging to /config/qBittorrent/data/logs/qbittorrent-daemon.log. 2023-09-27 09:39:20.012766 [info] Started qBittorrent daemon successfully... 2023-09-27 09:39:20.016027 [info] qBittorrent PID: 201`