Trigus42 / alpine-qbittorrentvpn

Multiarch docker image with the latest qBittorrent-nox client (WEB UI) and WireGuard/OpenVPN tunnel
GNU General Public License v3.0
69 stars 10 forks source link

Disable IPV6 firewall #18

Closed inertia666 closed 2 years ago

inertia666 commented 2 years ago

I am trying to get your example wireguard docker-compose file working on a Raspberry Pi 4.

Initally, I was getting an "RTNETLINK answers: Permission denied" error so tried running the container as privileged. This did not help.

After adding - net.ipv6.conf.all.disable_ipv6=0

Things started go further but then I get this:

#] ip -6 route add ::/0 dev wireguard table 51820
qbittorrent    | [#] ip -6 rule add not fwmark 51820 table 51820
qbittorrent    | [#] ip -6 rule add table main suppress_prefixlength 0
qbittorrent    | [#] ip6tables-restore -n
qbittorrent    | modprobe: can't change directory to '/lib/modules': No such file or directory
qbittorrent    | ip6tables-restore v1.8.7 (legacy): ip6tables-restore: unable to initialize table 'raw'
qbittorrent    |
qbittorrent    | Error occurred at line: 1
qbittorrent    | Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
qbittorrent    | [#] resolvconf -d wireguard -f
qbittorrent    | [#] ip -6 rule delete table 51820
qbittorrent    | [#] ip -6 rule delete table main suppress_prefixlength 0
qbittorrent    | [#] ip link delete dev wireguard

My wireguard config is not using IPV6 so I am unsure how to get this running on my Pi.

dessalines commented 1 year ago

I'm also getting this issue.