April 22, 20251 yr Hey folks, I'm wondering what is the best way to enable nf_tables in Unraid 7? By default, for some reason, it is not enabled on my machine, even though it is available in system drivers. currently I have this line in my go file, which does the trick: modprobe nf_tables Maybe there is a right way to enable it? otherwise can I leverage modprobe.d?
April 25, 20251 yr Community Expert You will need to leverage modprbe.d configs ...in the flash drive when unraid is booted, the flash drive is located at /boot cd /boot/config/modprobe.d touch nf_tables.conf and add the modprobe nf_tables... Otherwise, you can just add that to the go file. cd /boot/config nano go adding the terminal pearl script / command to run root@Docker:/boot/config# cat go #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & adding the modprobe nf_tables to call I'm partial to using the user script plugin. and running linux script at first array start. you could also make a run once at boot that will run modprob nf_tables to activate it after unraid is on and running... Edited April 25, 20251 yr by bmartino1 typo
May 7, 20251 yr Author On 4/26/2025 at 12:36 AM, bmartino1 said: and add the modprobe nf_tables... does this really work in modprobe.d? I think syntax is different
May 7, 20251 yr Community Expert 9 hours ago, noonamer said: does this really work in modprobe.d? I think syntax is different I know of the nf_tables more form config edits... for mod probe configs, they usual its starts with options... I'm not familiar with that configs mod probe. so I dont' know its parameters that a modprobe.d would edit...(why stopped at the touch file...) If going the modproe.d route, you will need to look up how to form that conf file for nf_tables... As It May not be possible if using kerneal level edits... AS unriad is not a networking device and is running a striped kernel. The config Linux headers and other for this option may not really exist... user script at first array start may be you only choice here... https://www.linuxquestions.org/questions/slackware-arm-108/nftables-kernel-module-not-loaded-4175625065/ this may be a kernel arm with kernel v6 issue with the 10000 lines removed from v5 to v6... this may also need a 3rd party slack pack install for unraid... https://slackware.pkgs.org/15.0/slackware-x86_64/nftables-1.0.1-x86_64-1.txz.html adding the binary to the /boot/extra or is it /boot/config/extra... (been a while)... Regardless, unraid is running Slackware linux, and you may need to 3rd party install the application... I gave you generic and general info on how to do it on unraid on original reply... Edited May 7, 20251 yr by bmartino1
May 8, 20251 yr Author as you can see modprobing in go file just works. I was curious if there is a "better" way to do that.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.