Linux 5.4.0-80-generic #90-Ubuntu SMP x86_64 GNU/Linux
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu Focal Fossa"
[Interface]
PrivateKey = <private-key>
Address = 10.0.0.1/32, fd27:1ea8:5dc:fcbe::ac01/128
ListenPort = 12345
[Peer]
PublicKey = <public-key>
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = vpn-domain.com:1122
version: '3.3'
services:
qbittorrentvpn_cont:
privileged: true
ports:
- '45678:45678'
- '45678:45678/udp'
- '7727:8080'
container_name: qb
volumes:
- '/home/serveruser/Downloads/:/downloads'
- '/home/serveruser/qbittorrentvpn_cont/config:/config'
environment:
- VPN_ENABLED=yes
- VPN_TYPE=wireguard
- STRICT_PORT_FORWARD=yes
- LAN_NETWORK=192.168.1.0/24,fd27:1ea8:5dc:fcbe::ac00/120
- NAME_SERVERS=1.1.1.2,2606:4700:4700::1112
- HEALTH_CHECK_HOST=one.one.one.one
- HEALTH_CHECK_INTERVAL=300
- HEALTH_CHECK_SILENT=0
- DEBUG=true
- WEBUI_PORT=7727
- UMASK=001
- PUID=1000
- PGID=1000
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
restart: "unless-stopped"
image: dyonr/qbittorrentvpn
nameserver 127.0.0.11
options ndots:0
nameserver 1.1.1.2
nameserver 2606:4700:4700::1112
qb | 2021-08-06 06:35:32.953354 [INFO] VPN_ENABLED defined as 'yes'
qb | 2021-08-06 06:35:32.976251 [INFO] The container is currently running iptables v1.8.2 (nf_tables).
qb | 2021-08-06 06:35:32.998320 [INFO] LEGACY_IPTABLES is set to ''
qb | 2021-08-06 06:35:33.021861 [INFO] Not making any changes to iptables version
qb | 2021-08-06 06:35:33.044865 [INFO] VPN_TYPE defined as 'wireguard'
qb | 2021-08-06 06:35:33.071143 [INFO] WireGuard config file is found at /config/wireguard/wg0.conf
qb | dos2unix: converting file /config/wireguard/wg0.conf to Unix format...
qb | 2021-08-06 06:35:33.095809 [INFO] VPN remote line defined as 'vpn-domain.com:1122'
qb | 2021-08-06 06:35:33.119784 [INFO] VPN_REMOTE defined as 'vpn-domain.com'
qb | 2021-08-06 06:35:33.143185 [INFO] VPN_PORT defined as '1122'
qb | 2021-08-06 06:35:33.165819 [INFO] VPN_PROTOCOL set as 'udp', since WireGuard is always udp.
qb | 2021-08-06 06:35:33.187355 [INFO] VPN_DEVICE_TYPE set as 'wg0', since WireGuard will always be wg0.
qb | 2021-08-06 06:35:33.210000 [INFO] LAN_NETWORK defined as '192.168.1.0/24,fd27:1ea8:5dc:fcbe::ac00/120'
qb | 2021-08-06 06:35:33.233593 [INFO] NAME_SERVERS defined as '1.1.1.2,2606:4700:4700::1112'
qb | 2021-08-06 06:35:33.256785 [INFO] Adding 1.1.1.2 to resolv.conf
qb | 2021-08-06 06:35:33.279397 [INFO] Adding 2606:4700:4700::1112 to resolv.conf
qb | 2021-08-06 06:35:33.300515 [INFO] Starting WireGuard...
qb | Warning: `/config/wireguard/wg0.conf' is world accessible
qb | [#] ip link add wg0 type wireguard
qb | [#] wg setconf wg0 /dev/fd/63
qb | [#] ip -4 address add 10.0.0.1/32 dev wg0
qb | [#] ip -6 address add fd27:1ea8:5dc:fcbe::ac01/128 dev wg0
qb | [#] ip link set mtu 1280 up dev wg0
qb | [#] wg set wg0 fwmark 51820
qb | [#] ip -6 route add ::/0 dev wg0 table 51820
qb | [#] ip -6 rule add not fwmark 51820 table 51820
qb | [#] ip -6 rule add table main suppress_prefixlength 0
qb | [#] ip6tables-restore -n
qb | [#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
qb | [#] ip -4 rule add not fwmark 51820 table 51820
qb | [#] ip -4 rule add table main suppress_prefixlength 0
qb | [#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
qb | [#] iptables-restore -n
qb | 2021-08-06 06:35:33.817575 [DEBUG] Docker interface defined as eth0
qb | 2021-08-06 06:35:33.841243 [DEBUG] Docker IP defined as 172.22.0.2
qb | 2021-08-06 06:35:33.865606 [DEBUG] Docker netmask defined as 255.255.0.0
qb | 2021-08-06 06:35:33.893783 [INFO] Docker network defined as 172.22.0.0/16
qb | 2021-08-06 06:35:33.919157 [INFO] Adding 192.168.1.0/24 as route via docker eth0
qb | 2021-08-06 06:35:33.943946 [INFO] Adding fd27:1ea8:5dc:fcbe::ac00/120 as route via docker eth0
qb | Error: inet6 address is expected rather than "172.22.0.1".
qb | 2021-08-06 06:35:33.965799 [INFO] ip route defined as follows...
qb | --------------------
qb | default via 172.22.0.1 dev eth0
qb | 192.168.1.0/24 via 172.22.0.1 dev eth0
qb | 172.22.0.0/16 dev eth0 proto kernel scope link src 172.22.0.2
qb | --------------------
qb | 2021-08-06 06:35:33.988060 [DEBUG] Modules currently loaded for kernel
qb | Module Size Used by
qb | xt_connmark 16384 4
qb | xt_mark 16384 2
qb | nft_counter 16384 6
qb | xt_comment 16384 0
qb | nft_compat 20480 8
qb | nf_tables 139264 22 nft_compat,nft_counter
qb | rfcomm 81920 4
qb | xt_nat 16384 15
qb | veth 28672 0
qb | nf_conntrack_netlink 45056 0
qb | nfnetlink 16384 6 nft_compat,nf_conntrack_netlink,nf_tables
qb | xfrm_user 36864 1
qb | xfrm_algo 16384 1 xfrm_user
qb | br_netfilter 28672 0
qb | bridge 172032 1 br_netfilter
qb | stp 16384 1 bridge
qb | llc 16384 2 bridge,stp
qb | aufs 262144 0
qb | ip6table_nat 16384 1
qb | iptable_nat 16384 3
qb | xt_MASQUERADE 20480 12
qb | nf_nat 40960 4 ip6table_nat,xt_nat,iptable_nat,xt_MASQUERADE
qb | wireguard 212992 0
qb | ip6_udp_tunnel 16384 1 wireguard
qb | udp_tunnel 16384 1 wireguard
qb | cmac 16384 2
qb | overlay 114688 3
qb | algif_hash 16384 1
qb | algif_skcipher 16384 1
qb | af_alg 24576 6 algif_hash,algif_skcipher
qb | bnep 24576 2
qb | nls_iso8859_1 16384 1
qb | snd_hda_codec_cirrus 20480 1
qb | snd_hda_codec_generic 81920 1 snd_hda_codec_cirrus
qb | ledtrig_audio 16384 1 snd_hda_codec_generic
qb | snd_hda_codec_hdmi 61440 1
qb | snd_hda_intel 53248 0
qb | snd_intel_dspcfg 28672 1 snd_hda_intel
qb | intel_rapl_msr 20480 0
qb | snd_hda_codec 135168 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_cirrus
qb | snd_hda_core 90112 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_cirrus
qb | intel_rapl_common 24576 1 intel_rapl_msr
qb | snd_hwdep 20480 1 snd_hda_codec
qb | snd_pcm 106496 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
qb | snd_seq_midi 20480 0
qb | snd_seq_midi_event 16384 1 snd_seq_midi
qb | snd_rawmidi 36864 1 snd_seq_midi
qb | snd_seq 69632 2 snd_seq_midi,snd_seq_midi_event
qb | btusb 57344 0
qb | btrtl 24576 1 btusb
qb | x86_pkg_temp_thermal 20480 0
qb | btbcm 16384 1 btusb
qb | intel_powerclamp 20480 0
qb | snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
qb | snd_timer 36864 2 snd_seq,snd_pcm
qb | btintel 24576 1 btusb
qb | bluetooth 548864 31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
qb | ecdh_generic 16384 1 bluetooth
qb | snd 90112 10 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
qb | ecc 28672 1 ecdh_generic
qb | applesmc 20480 0
qb | coretemp 20480 0
qb | mei_hdcp 24576 0
qb | soundcore 16384 1 snd
qb | wl 6455296 0
qb | input_leds 16384 0
qb | kvm_intel 282624 0
qb | input_polldev 20480 1 applesmc
qb | mei_me 40960 1
qb | kvm 663552 1 kvm_intel
qb | cfg80211 704512 1 wl
qb | mei 106496 3 mei_hdcp,mei_me
qb | rapl 20480 0
qb | intel_cstate 20480 0
qb | mac_hid 16384 0
qb | nf_log_ipv6 16384 5
qb | ip6t_REJECT 16384 1
qb | nf_reject_ipv6 20480 1 ip6t_REJECT
qb | xt_hl 16384 22
qb | ip6t_rt 20480 3
qb | nf_log_ipv4 16384 5
qb | nf_log_common 16384 2 nf_log_ipv4,nf_log_ipv6
qb | ipt_REJECT 16384 1
qb | nf_reject_ipv4 16384 1 ipt_REJECT
qb | xt_LOG 20480 10
qb | xt_limit 16384 13
qb | xt_addrtype 16384 8
qb | xt_tcpudp 20480 119
qb | xt_conntrack 16384 19
qb | nf_conntrack 139264 6 xt_conntrack,nf_nat,xt_nat,nf_conntrack_netlink,xt_connmark,xt_MASQUERADE
qb | nf_defrag_ipv6 24576 1 nf_conntrack
qb | nf_defrag_ipv4 16384 1 nf_conntrack
qb | sch_fq_codel 20480 2
qb | ip6table_filter 16384 1
qb | ip6_tables 32768 54 ip6table_filter,ip6table_nat
qb | iptable_filter 16384 1
qb | bpfilter 32768 0
qb | msr 16384 0
qb | parport_pc 40960 0
qb | ppdev 24576 0
qb | lp 20480 0
qb | parport 53248 3 parport_pc,lp,ppdev
qb | ip_tables 32768 10 iptable_filter,iptable_nat
qb | x_tables 40960 19 ip6table_filter,xt_conntrack,iptable_filter,nft_compat,xt_LOG,xt_tcpudp,xt_addrtype,xt_nat,ip6t_rt,xt_comment,ip6_tables,ipt_REJECT,xt_connmark,ip_tables,xt_limit,xt_hl,xt_MASQUERADE,ip6t_REJECT,xt_mark
qb | autofs4 45056 2
qb | btrfs 1261568 0
qb | xor 24576 1 btrfs
qb | zstd_compress 167936 1 btrfs
qb | raid6_pq 114688 1 btrfs
qb | libcrc32c 16384 3 nf_conntrack,nf_nat,btrfs
qb | dm_crypt 40960 1
qb | dm_mirror 24576 0
qb | dm_region_hash 20480 1 dm_mirror
qb | dm_log 20480 2 dm_region_hash,dm_mirror
qb | hid_appleir 16384 0
qb | hid_generic 16384 0
qb | usbhid 57344 0
qb | hid 131072 3 usbhid,hid_generic,hid_appleir
qb | crct10dif_pclmul 16384 1
qb | crc32_pclmul 16384 0
qb | ghash_clmulni_intel 16384 0
qb | i915 1990656 1
qb | aesni_intel 372736 5
qb | i2c_algo_bit 16384 1 i915
qb | crypto_simd 16384 1 aesni_intel
qb | cryptd 24576 4 crypto_simd,ghash_clmulni_intel
qb | drm_kms_helper 184320 1 i915
qb | glue_helper 16384 1 aesni_intel
qb | syscopyarea 16384 1 drm_kms_helper
qb | ahci 40960 3
qb | lpc_ich 24576 0
qb | thunderbolt 167936 0
qb | i2c_i801 32768 0
qb | libahci 32768 1 ahci
qb | sysfillrect 16384 1 drm_kms_helper
qb | sysimgblt 16384 1 drm_kms_helper
qb | fb_sys_fops 16384 1 drm_kms_helper
qb | sdhci_pci 53248 0
qb | cqhci 28672 1 sdhci_pci
qb | tg3 172032 0
qb | drm 491520 3 drm_kms_helper,i915
qb | sdhci 65536 1 sdhci_pci
qb | video 49152 1 i915
qb | uas 28672 0
qb | usb_storage 77824 1 uas
qb | 2021-08-06 06:35:34.087204 [INFO] iptables defined as follows...
qb | --------------------
qb | # Warning: iptables-legacy tables present, use iptables-legacy to see them
qb | -P INPUT DROP
qb | -P FORWARD ACCEPT
qb | -P OUTPUT DROP
qb | -A INPUT -i wg0 -j ACCEPT
qb | -A INPUT -s 172.22.0.0/16 -d 172.22.0.0/16 -j ACCEPT
qb | -A INPUT -i eth0 -p udp -m udp --sport 1122 -j ACCEPT
qb | -A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
qb | -A INPUT -i eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
qb | -A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
qb | -A INPUT -i lo -j ACCEPT
qb | -A OUTPUT -o wg0 -j ACCEPT
qb | -A OUTPUT -s 172.22.0.0/16 -d 172.22.0.0/16 -j ACCEPT
qb | -A OUTPUT -o eth0 -p udp -m udp --dport 1122 -j ACCEPT
qb | -A OUTPUT -o eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
qb | -A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT
qb | -A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
qb | -A OUTPUT -o lo -j ACCEPT
qb | --------------------
qb | 2021-08-06 06:35:34.116563 [WARNING] ENABLE_SSL is set to , SSL is not enabled. This could cause issues with logging if other apps use the same Cookie name (SID).
qb | 2021-08-06 06:35:34.136992 [WARNING] If you manage the SSL config yourself, you can ignore this.
qb | 2021-08-06 06:35:34.159639 [INFO] A group with PGID 1000 does not exist, adding a group called 'qbittorrent' with PGID 1000
qb | 2021-08-06 06:35:34.567451 [INFO] An user with PUID 1000 does not exist, adding an user called 'qbittorrent user' with PUID 1000
qb | 2021-08-06 06:35:35.203655 [INFO] UMASK defined as '001'
qb | 2021-08-06 06:35:35.228318 [INFO] Starting qBittorrent daemon...
qb | Logging to /config/qBittorrent/data/logs/qbittorrent.log.
qb | 2021-08-06 06:35:36.258990 [INFO] qBittorrent PID: 233
qb | 2021-08-06 06:35:36.261327 [INFO] Started qBittorrent daemon successfully...
qb | 2021-08-06 06:35:36.491684 [INFO] Network is up