[ale] Problems with an IPTables Firewall! Help please!

John Cole JohnC at LGEFCU.org
Tue Oct 1 12:44:54 EDT 2002


Ouch!  um, it was still at 0!.
though, the following line in my init script looks like this:  (I added that
line above the if just now) (should the 1 have a parenthesis or not?)

############################################################################
###
#
# Kernel Parameter Configuration
#

# Required to enable IPv4 forwarding.
# Redhat users can try setting FORWARD_IPV4 in /etc/sysconfig/network to
true
echo 1 > /proc/sys/net/ipv4/ip_forward
if [ "$SYSCTL" = "" ]
then
    echo "1" > /proc/sys/net/ipv4/ip_forward
else
    $SYSCTL net.ipv4.ip_forward="1"
fi

Thanks everyone for the help so far!

John Cole

-----Original Message-----
From: Joseph A Knapka [mailto:jknapka at earthlink.net]
To: ale at ale.org
Sent: Tuesday, October 01, 2002 12:29 PM
To: John Cole
Cc: 'ale at ale.org'
Subject: Re: [ale] Problems with an IPTables Firewall! Help please!


John Cole wrote:
> Howdy all!
> 
> I have setup a Redhat 7.2 linux box with 2 nics. (inside/outside).
> I ran a PHP based IPTables configuration http://morizot.net/firewall/ to
> setup the firewall.  Now, it doesn't seem to like doing forwarding of
> traffic!  (actually, it worked once, then I rebooted and now it doesn't
work
> anymore!!)


Wild guess: did you (or your init scripts) do

echo 1 > /proc/sys/net/ipv4/ip_forward

?

Cheers,

-- Joe



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be

sent to listmaster at ale dot org.
Disclaimer: The information contained in this email is proprietary and
confidential.  It is intended solely for the use of the person identified
and intended as the recipient. This document is forwarded to you in such a
form (E-mail) that LGEFCU cannot guarantee the completeness and/or
correctness of its contents and information. If you have received this
E-mail message in error, please notify us immediately. Please also delete
this document from your computer. This document may not be reproduced,
copied, distributed, published, modified, or furnished to third parties,
without the prior written consent of LGEFCU. LGEFCU specifically disclaims
any responsibility or liability for any personal information or opinions of
the author expressed in this email.

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list