binhex / arch-qbittorrentvpn

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

iptable_mangle not found in directory /lib/modules/5.10.60-qnap #178

Closed shroomzofdoom closed 1 year ago

shroomzofdoom commented 1 year ago

I've been running a similar docker config on my qnap NAS for over a year with no issues. Then, classic qnap-- upgrade, nothing works, had to recreate everything.

My new docker mostly works-the application and all services start. I can hit the webui for all of the -arrs but not qbitttorrent.

I believe this is the most relevant section of the log (complete log below)

2023-05-06 12:20:33,787 DEBG 'start-script' stdout output:
[info] Attempting to load iptable_mangle module...

2023-05-06 12:20:33,956 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/5.10.60-qnap

2023-05-06 12:20:33,980 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module using modprobe, trying insmod...

2023-05-06 12:20:34,037 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory

2023-05-06 12:20:34,045 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN
[info] unRAID/Ubuntu users: Please attempt to load the module by executing the following on your host: '/sbin/modprobe iptable_mangle'
[info] Synology users: Please attempt to load the module by executing the following on your host: 'insmod /lib/modules/iptable_mangle.ko'

I tried insmod and modprobe, just get insmod: can't insert '/lib/modules/5.10.60/iptable_mangle.ko': No such file or directory

Not sure if the location of the qnap kernel module is relevant but I tried everything in Q2 FAQ multiple ways: https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md - no joy.

It seems like this is pretty common issue for qnap users

Is there to force the module to load differently for qnap or any instruction/update?

Thanks in advance for taking a look!!

My supervisord.log output: https://pastebin.com/embed_iframe/9AAmC2MU