> I should have said I am running SL6 x64. So am I.
Quick paste of my console before and after changes. [root@server1 modprobe.d]# lsmod | grep nf_ nf_conntrack_ipv4 9440 2 nf_defrag_ipv4 1449 1 nf_conntrack_ipv4 nf_conntrack 79643 2 nf_conntrack_ipv4,xt_state [root@server1 modprobe.d]# vi /etc/sysconfig/iptables-config [root@server1 modprobe.d]# service iptables restart iptables: Flushing firewall rules: [ OK ] iptables: Setting chains to policy ACCEPT: filter [ OK ] iptables: Unloading modules: [ OK ] iptables: Applying firewall rules: [ OK ] iptables: Loading additional modules: ip_nat_ftp [ OK ] [root@server1 modprobe.d]# lsmod | grep nf_ nf_nat_ftp 3473 0 nf_nat 22788 1 nf_nat_ftp nf_conntrack_ftp 12911 1 nf_nat_ftp nf_conntrack_ipv4 9440 4 nf_nat nf_defrag_ipv4 1449 1 nf_conntrack_ipv4 nf_conntrack 79643 5 nf_nat_ftp,nf_nat,nf_conntrack_ftp,nf_conntrack_ipv4,xt_state > > 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 >
