我在命令行中做了以下操作:
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如何让内核在重新启动时使用并备份这些模块?
发布于 2013-01-11 05:55:01
遵循文档:
# 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.moduleshttps://serverfault.com/questions/466014
复制相似问题