iptables v1.4.14: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)

后端 未结 13 2427
轻奢々
轻奢々 2020-12-14 01:00

I\'m trying to set iptable rules, and I got following error message when I use iptable :

iptables v1.4.14: can\'t initialize iptables table `nat\': Table doe         


        
相关标签:
13条回答
  • 2020-12-14 01:46

    If you are running puppet it may set /proc/sys/kernel/modules_disabled to 1, inhibiting further module loading. When the machine is reboot, it gets set back to 0, allowing for changes, such as loading the iptables modules. After a certain amount of time puppet will set it back to 1 to protect the system from kernel root kits. Therefore, whatever modules that we are going to need should be loaded during or shortly after boot time.

    0 讨论(0)
提交回复
热议问题