SCIENTIFIC-LINUX-USERS Archives

July 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Sat, 16 Jul 2011 01:25:02 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (53 lines)
On Sat, Jul 16, 2011 at 1:13 AM, Tom H <[log in to unmask]> wrote:
> On Sat, Jul 16, 2011 at 12:05 AM, Todd And Margo Chester
> <[log in to unmask]> wrote:
>> On 07/15/2011 08:14 PM, Katherine Lim wrote:
>> On Sat, Jul 16, 2011 at 1:09 PM, Todd And Margo Chester
>> <[log in to unmask]> wrote:
>>>
>>> On 07/15/2011 07:31 PM, William Scott wrote:
>>>>
>>>> On 16 July 2011 11:50, Todd And Margo Chester<[log in to unmask]>
>>>>  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.
>>
>> Hmm.  Maybe I am going at this wrong.  In Slack12, they
>> use a /etc/rc.d/rc.modules file and just put the module to
>> load into it.
>
> From a colleague working on our RHEL 6 deployment (similar to F14/F15):
>
> root # vi /etc/sysconfig/modules/ip_nat_ftp.modules
> #!/bin/sh
> exec /sbin/modprobe ip_nat_ftp
> root # chmod +x /etc/sysconfig/modules/ip_nat_ftp.modules
>
> Perhaps you should also start using the new name, nf_nat_ftp (although
> its alias, ip_nat_ftp, the previous name, still works).

Although iptables modules should be loaded, as others have been
pointing out, through "/etc/sysconfig/iptables-config".

ATOM RSS1 RSS2