1

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?

Tiffany Walker
  • 6,681
  • 14
  • 56
  • 82

1 Answers1

2

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
dchirikov
  • 640
  • 4
  • 6