On Sat, Jul 16, 2011 at 1:09 PM, Todd And Margo Chester < [email protected]> wrote:
> On 07/15/2011 07:31 PM, William Scott wrote: > >> On 16 July 2011 11:50, Todd And Margo Chester<[email protected]**> >> wrote: >> >>> Hi All, >>> >>> Not having a good time researching this in Google, unless >>> I want to do it in Ubuntu. >>> >>> I am trying to make the following command permanent: >>> modprobe ip_nat_ftp >>> >> >> Have a look in /etc/sysconfig/iptables-config >> >> I should have said I am running SL6 x64. > > It is there. But, running /etc/rc.d/init.d/iptables throws an > error on ip_nat_ftp if I do not previously load ip_nat_ftp > with modprobe. > > What I am after is to load ip_nat_ftp at boot time with > modprobe.d. > > A tape and gum approach would be to load ip_nat_ftp > in /etc/rc.d/init.d/iptables before it did anything with > /etc/sysconfig/iptables-**config, but I really would like > to learn the right way to do it in modprobe.d. > > -T > Did you get any errors after editing the IPTABLES_MODULES line in /etc/sysconfig/iptables-config to: IPTABLES_MODULES="ip_nat_ftp"
