binhex / arch-qbittorrentvpn

Docker build script for Arch Linux base with qBittorrent, Privoxy and OpenVPN
GNU General Public License v3.0
457 stars 48 forks source link

Issue with IP tables and this docker container specifically. #264

Closed whatthehell337 closed 2 months ago

whatthehell337 commented 2 months ago

Hoping this make make more sense to you, have spent all morning googling and trying everything I could find but not the most proficient in linux as of yet.

Running docker on Debian vm hosted on Proxmox, this is part of a larger stack setup in Portainer and the section relating to Qbit specifically is below, passwords removed for obvious reasons, I have just made the change to wireguard, it was previous openvpn and wanted to see if it made a difference, it did not.

If I disable the vpn entirely the container spins up fine with no errors at-all.

`
qbittorrentvpn: image: binhex/arch-qbittorrentvpn:latest restart: unless-stopped container_name: qbittorrentvpn volumes:

When trying to book with vpn enabled either wireguard or openvpn I get the below error, this example came from VPN_CLIENT=openvpn.

Created by... ___. .__ .__ \_ |__ |__| ____ | |__ ____ ___ ___ | __ \| |/ \| | \_/ __ \\ \/ / | \_\ \ | | \ Y \ ___/ > < |___ /__|___| /___| /\___ >__/\_ \ \/ \/ \/ \/ \/ https://hub.docker.com/u/binhex/ 2024-08-03 07:31:02.297494 [info] System information Linux c061b071387a 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux 2024-08-03 07:31:02.374207 [info] SHARED_NETWORK not defined (via -e SHARED_NETWORK), defaulting to 'no' 2024-08-03 07:31:02.450266 [info] PUID defined as '1000' 2024-08-03 07:31:02.675690 [info] PGID defined as '1000' 2024-08-03 07:31:02.791573 [info] UMASK defined as '022' 2024-08-03 07:31:02.866783 [info] Permissions already set for '/config' 2024-08-03 07:31:02.946278 [info] Deleting files in /tmp (non recursive)... 2024-08-03 07:31:03.053393 [info] VPN_ENABLED defined as 'yes' 2024-08-03 07:31:03.133864 [info] VPN_CLIENT defined as 'openvpn' 2024-08-03 07:31:03.210452 [info] VPN_PROV defined as 'pia' 2024-08-03 07:31:03.298242 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/uk_london.ovpn 2024-08-03 07:31:03.462757 [info] VPN remote server(s) defined as 'uk-london.privacy.network,' 2024-08-03 07:31:03.530551 [info] VPN remote port(s) defined as '1198,' 2024-08-03 07:31:03.598919 [info] VPN remote protcol(s) defined as 'udp,' 2024-08-03 07:31:03.676517 [info] VPN_DEVICE_TYPE defined as 'tun0' 2024-08-03 07:31:03.753085 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS) 2024-08-03 07:31:03.829000 [warn] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to name servers defined in readme.md modprobe: FATAL: Module ip6_tables not found in directory /lib/modules/6.1.0-23-amd64 ip6tables v1.8.10 (legacy): can't initialize ip6tables table filter: Table does not exist (do you need to insmod?) Perhaps ip6tables or your kernel needs to be upgraded. 2024-08-03 07:31:03.924318 [warn] ip6tables default policies not available, skipping ip6tables drops

The word filter 3 lines before the end was surrounded by '' but this stopped it being marked as code so I have removed to try and make this more readable.

Thank you in advanced for any support you may be able to provide.

whatthehell337 commented 2 months ago

Commenting incase anyone else has this issue, I removed all network adapters from my VM, deleted IP tables then re-added network adapter before a reboot and --reinstall of docker, not sure which step fixed it but after this is begun to work again.