Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I did the following in command line:

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

How do I get the kernel to use and bring those modules backup on a restart?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Follow the documentation:

# 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
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.