Re: Configuring RedHat Linux 7.1 as a gateway server without IPChains.

From: Gurdeep Singh (gurdeepsingh@itnation.com)
Date: 12/03/01


Date: Mon, 03 Dec 2001 11:27:57 +0530
From: Gurdeep Singh <gurdeepsingh@itnation.com>
To: security-discuss@linuxsecurity.com

Simple Solution:

On your RedHat 7.x,
Edit /etc/sysctl.conf to match the following lines, and your gateway
will be functional.

# Disables packet forwarding
net.ipv4.ip_forward=1
# Enables source route verification
net.ipv4.conf.all.rp_filter = 1
# Disables the magic-sysrq key
kernel.sysrq = 0

Regards,

Gurdeep

"Prem Chandra Kumar.N" wrote:
>
> Hi,
> I need to configure RedHat Linux 7.1 as a gateway server for allowing my user's to access the internet from my local private network. I want to configure without IPCHAINS.
> I tried using netcfg utility, it did not work
> Please anyoone helpl me how to configure the same with an example.
>
> Regards
> Prem Kumar.N
>
> ------------------------------------------------------------------------
> To unsubscribe email security-discuss-request@linuxsecurity.com
> with "unsubscribe" in the subject of the message.
------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.