我在命令行中执行了以下操作:
modprobe ipt_LOG modprobe ipt_multiport modprobe ipt_state modprobe ipt_limit modprobe ipt_recent modprobe ipt_owner modprobe iptable_nat modprobe tun/tap modprobe iptable_nat modprobe ipt_MASQUERADE modprobe ipt_POSTROUTING
我如何让内核使用,并重新启动这些模块备份?
按照文档 :
# cat >/etc/rc.modules << EOF modprobe ipt_LOG modprobe ipt_multiport modprobe ipt_state modprobe ipt_limit modprobe ipt_recent modprobe ipt_owner modprobe iptable_nat modprobe tun/tap modprobe iptable_nat modprobe ipt_MASQUERADE modprobe ipt_POSTROUTING EOF # chmod +x /etc/rc.modules