[CentOS] Using a CentOS 6 Machine as a gateway/router/home server

Tris Hoar trishoar at bgfl.org
Mon Jun 29 16:18:11 UTC 2015


On 29/06/2015 16:59, Max Pyziur wrote:
> On Sun, 28 Jun 2015, John R Pierce wrote:
>
>> On 6/28/2015 3:49 PM, Max Pyziur wrote:
>>>  I also seem to need to load
>>>  iptable_nat
>>>  nf_nat_ftp
>>>
>>>  via rc.local
>>>
>>>  Is this correct?
>>
>> only if you're running some Linux build from the 1990s.
>>
>> nothing on RHEL/CentOS should need anything in rc.local
>
>
> Then what is the appropriate way to ensure that these modules are loaded?
>
> Should they be placed in the /etc/init.d/iptables script?
> IPTABLES_MODULES="iptable_nat ip_nat_ftp ip_conntrack ip_conntrack_ftp"
>
> or somewhere else?
>
> Thanks
>
> Max

It should do it automatically for you. Try it. Editing system init 
scripts is rarely recommended.

Tris





*************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity 
to whom they are addressed. If you have received this email 
in error please notify postmaster at bgfl.org

The views expressed within this email are those of the 
individual, and not necessarily those of the organisation
*************************************************************


More information about the CentOS mailing list