I'm having trouble setting up my Gateway/Firewall.  It's been a long time
since I have done this.  I entered the following into /etc/rc.d/rc.local

ipchains -P forward DENY
ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0.0.0.0/0

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

also in /etc/sysconfig/network

NETWORKING=yes
HOSTNAME="firegate.teviot.com.au"
GATEWAY="192.168.0.1"
GATEWAYDEV="eth0"
FORWARD_IPV4="yes"

The machine doesn't MASQ to or from the internet to intranet.

What am I doing wrong?

Regards
Adrian

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

                Phone:  +61 (0)4 1820 8910
            Facsimile:  +61 (0)4 0720 5410
                Email:  [EMAIL PROTECTED]
                Email:  [EMAIL PROTECTED]


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to