You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Chris, sorry if this is the wrong place to ask I'm new to this lol I'm trying to set this up through portainer and I seem to have got it working but when I try to open the web UI it just times out on me. I've posted the stack and logs below , can you possibly help me figure out what I'm doing wrong? I've got my correct username and password for PIA VPN in there, with the OPEN VPN files in the configs folder, I'm using the IP for my server and went with cloudflare for the DNS. I suspect maybe I'm using the wrong IP or ports or something? Any tips would be greatly appreciated! - DB
2023-01-27 01:09:47.937081 [info] VPN_ENABLED defined as 'yes'
2023-01-27 01:09:48.015723 [info] Initializing OpenVpn
2023-01-27 01:09:48.107691 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/ukraine.ovpn
2023-01-27 01:09:48.205309 [info] VPN remote line defined as 'ua.privacy.network 1198'
dos2unix: converting file /config/openvpn/ukraine.ovpn to Unix format...
2023-01-27 01:09:48.287426 [info] VPN_REMOTE defined as 'ua.privacy.network'
2023-01-27 01:09:48.367757 [info] VPN_PORT defined as '1198'
2023-01-27 01:09:48.448957 [info] VPN_PROTOCOL defined as 'udp'
2023-01-27 01:09:48.531110 [info] VPN_DEVICE_TYPE defined as 'tun0'
2023-01-27 01:09:48.611414 [info] LAN_NETWORK defined as '10.0.0.31'
2023-01-27 01:09:48.692119 [info] NAME_SERVERS defined as '1.1.1.1'
2023-01-27 01:09:48.774065 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2023-01-27 01:09:48.857141 [info] Adding 1.1.1.1 to resolv.conf
2023-01-27 01:09:48.960450 [info] Starting OpenVPN...
[debug] VPN_CONFIG=/config/openvpn/ukraine.ovpn
Fri Jan 27 01:09:48 2023 WARNING: file 'credentials.conf' is group or others accessible
Fri Jan 27 01:09:48 2023 OpenVPN 2.4.7 aarch64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2022
Fri Jan 27 01:09:48 2023 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10
Fri Jan 27 01:09:49 2023 TCP/UDP: Preserving recently used remote address: [AF_INET]154.6.130.148:1198
Fri Jan 27 01:09:49 2023 UDP link local: (not bound)
Fri Jan 27 01:09:49 2023 UDP link remote: [AF_INET]154.6.130.148:1198
Fri Jan 27 01:09:49 2023 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri Jan 27 01:09:49 2023 [kiev407] Peer Connection Initiated with [AF_INET]154.6.130.148:1198
Fri Jan 27 01:09:50 2023 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
Fri Jan 27 01:09:50 2023 OpenVPN ROUTE: failed to parse/resolve route for host/network: 2000::/3
Fri Jan 27 01:09:50 2023 TUN/TAP device tun0 opened
Fri Jan 27 01:09:50 2023 /sbin/ip link set dev tun0 up mtu 1500
Fri Jan 27 01:09:50 2023 /sbin/ip addr add dev tun0 10.19.112.147/24 broadcast 10.19.112.255
Fri Jan 27 01:09:50 2023 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.
Fri Jan 27 01:09:50 2023 Initialization Sequence Completed
2023-01-27 01:09:54.046846 [info] WebUI port defined as 8080
2023-01-27 01:09:54.127512 [info] LAN Network defined as 10.0.0.31
2023-01-27 01:09:54.213041 [info] Default gateway defined as 172.18.0.1
2023-01-27 01:09:54.294333 [info] ip route defined as follows...
0.0.0.0/1 via 10.19.112.1 dev tun0
default via 172.18.0.1 dev eth0
10.0.0.31 via 172.18.0.1 dev eth0
10.19.112.0/24 dev tun0 proto kernel scope link src 10.19.112.147
128.0.0.0/1 via 10.19.112.1 dev tun0
154.6.130.148 via 172.18.0.1 dev eth0
172.18.0.0/16 dev eth0 proto kernel scope link src 172.18.0.8
2023-01-27 01:09:54.425606 [info] Docker network defined as 172.18.0.0/16
2023-01-27 01:09:54.581456 [info] iptables defined as follows...
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 172.18.0.0/16 -d 172.18.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1198 -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.0.0.31/32 -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.18.0.0/16 -d 172.18.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1198 -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.0.0.31/32 -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 998 user
2023-01-27 01:09:54.741756 [warn] UMASK not defined (via -e UMASK), defaulting to '002'
2023-01-27 01:09:54.822538 [info] Starting qBittorrent daemon...
Logging to /config/qBittorrent/data/logs/qbittorrent-daemon.log.
2023-01-27 01:09:55.915444 [info] qBittorrent PID:
[info] PIA Port forwarding not enabled
2023-01-27 01:09:55.930852 [info] Started qBittorrent daemon successfully...
The text was updated successfully, but these errors were encountered:
Hey Chris, sorry if this is the wrong place to ask I'm new to this lol I'm trying to set this up through portainer and I seem to have got it working but when I try to open the web UI it just times out on me. I've posted the stack and logs below , can you possibly help me figure out what I'm doing wrong? I've got my correct username and password for PIA VPN in there, with the OPEN VPN files in the configs folder, I'm using the IP for my server and went with cloudflare for the DNS. I suspect maybe I'm using the wrong IP or ports or something? Any tips would be greatly appreciated! - DB
qbittorrentvpn:
image: chrisjohnson00/qbittorrent-openvpn
container_name: qbittorrentvpn
privileged: true
environment:
- VPN_USERNAME=***********
- VPN_PASSWORD=***********
- PUID=998
- PGID=100
- WEBUI_PORT=8080
- INCOMING_PORT_ENV=8999
- VPN_ENABLED=yes
- LAN_NETWORK=10.0.0.31
- NAME_SERVERS=1.1.1.1
ports:
- 8080:8080
- 8999:8999
- 8999:8999/udp
volumes:
- /srv/dev-disk-by-uuid-17551e74-17a6-4876-a655-b1a6b990ba8a/configs/QBittorrentVPN:/config
- /srv/dev-disk-by-uuid-17551e74-17a6-4876-a655-b1a6b990ba8a/Torrents:/downloads
- /etc/timezone:/etc/timezone:ro
restart: unless-stopped
LOG:
2023-01-27 01:09:47.937081 [info] VPN_ENABLED defined as 'yes'
2023-01-27 01:09:48.015723 [info] Initializing OpenVpn
2023-01-27 01:09:48.107691 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/ukraine.ovpn
2023-01-27 01:09:48.205309 [info] VPN remote line defined as 'ua.privacy.network 1198'
dos2unix: converting file /config/openvpn/ukraine.ovpn to Unix format...
2023-01-27 01:09:48.287426 [info] VPN_REMOTE defined as 'ua.privacy.network'
2023-01-27 01:09:48.367757 [info] VPN_PORT defined as '1198'
2023-01-27 01:09:48.448957 [info] VPN_PROTOCOL defined as 'udp'
2023-01-27 01:09:48.531110 [info] VPN_DEVICE_TYPE defined as 'tun0'
2023-01-27 01:09:48.611414 [info] LAN_NETWORK defined as '10.0.0.31'
2023-01-27 01:09:48.692119 [info] NAME_SERVERS defined as '1.1.1.1'
2023-01-27 01:09:48.774065 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2023-01-27 01:09:48.857141 [info] Adding 1.1.1.1 to resolv.conf
2023-01-27 01:09:48.960450 [info] Starting OpenVPN...
[debug] VPN_CONFIG=/config/openvpn/ukraine.ovpn
Fri Jan 27 01:09:48 2023 WARNING: file 'credentials.conf' is group or others accessible
Fri Jan 27 01:09:48 2023 OpenVPN 2.4.7 aarch64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2022
Fri Jan 27 01:09:48 2023 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10
Fri Jan 27 01:09:49 2023 TCP/UDP: Preserving recently used remote address: [AF_INET]154.6.130.148:1198
Fri Jan 27 01:09:49 2023 UDP link local: (not bound)
Fri Jan 27 01:09:49 2023 UDP link remote: [AF_INET]154.6.130.148:1198
Fri Jan 27 01:09:49 2023 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri Jan 27 01:09:49 2023 [kiev407] Peer Connection Initiated with [AF_INET]154.6.130.148:1198
Fri Jan 27 01:09:50 2023 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
Fri Jan 27 01:09:50 2023 OpenVPN ROUTE: failed to parse/resolve route for host/network: 2000::/3
Fri Jan 27 01:09:50 2023 TUN/TAP device tun0 opened
Fri Jan 27 01:09:50 2023 /sbin/ip link set dev tun0 up mtu 1500
Fri Jan 27 01:09:50 2023 /sbin/ip addr add dev tun0 10.19.112.147/24 broadcast 10.19.112.255
Fri Jan 27 01:09:50 2023 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.
Fri Jan 27 01:09:50 2023 Initialization Sequence Completed
2023-01-27 01:09:54.046846 [info] WebUI port defined as 8080
2023-01-27 01:09:54.127512 [info] LAN Network defined as 10.0.0.31
2023-01-27 01:09:54.213041 [info] Default gateway defined as 172.18.0.1
2023-01-27 01:09:54.294333 [info] ip route defined as follows...
0.0.0.0/1 via 10.19.112.1 dev tun0
default via 172.18.0.1 dev eth0
10.0.0.31 via 172.18.0.1 dev eth0
10.19.112.0/24 dev tun0 proto kernel scope link src 10.19.112.147
128.0.0.0/1 via 10.19.112.1 dev tun0
154.6.130.148 via 172.18.0.1 dev eth0
172.18.0.0/16 dev eth0 proto kernel scope link src 172.18.0.8
2023-01-27 01:09:54.425606 [info] Docker network defined as 172.18.0.0/16
2023-01-27 01:09:54.581456 [info] iptables defined as follows...
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 172.18.0.0/16 -d 172.18.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1198 -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.0.0.31/32 -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.18.0.0/16 -d 172.18.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1198 -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.0.0.31/32 -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 998 user
2023-01-27 01:09:54.741756 [warn] UMASK not defined (via -e UMASK), defaulting to '002'
2023-01-27 01:09:54.822538 [info] Starting qBittorrent daemon...
Logging to /config/qBittorrent/data/logs/qbittorrent-daemon.log.
2023-01-27 01:09:55.915444 [info] qBittorrent PID:
[info] PIA Port forwarding not enabled
2023-01-27 01:09:55.930852 [info] Started qBittorrent daemon successfully...
The text was updated successfully, but these errors were encountered: