--- Ronneil Camara <[EMAIL PROTECTED]> wrote:
> > -----Original Message-----
> > From: Ina Patricia Lopez
> [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, April 13, 2000 3:50 PM
> > To: [EMAIL PROTECTED]
> > Subject: [plug] ip masquerading
> > 
> > 
> > hello guys!
> >   just bought a redhat linux 6.0 CD, kernel
> 2.2.5-15. 
> > i installed it on one of my machines. so far, some
> > things that i want are working except...ip
> > masquerading. how do i know if ip masq is already
> > included on its kernel ? how do i activate it ?
> > 
> > thanks.
> > ina patricia
> 
> ip masq is already compiled in the kernel. Just
> replace the word FALSE in
> /etc/sysconfig/network with TRUE.
> 
cant find FALSE or TRUE.  this is my
/etc/sysconfig/network file

NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME=linux
DOMAINNAME=isg
GATEWAY=10.10.255.254
GATEWAYDEV=eth0

> You will also have to setup ipchains rules.
> 
> A very simple ipchains rule.
> 
> ipchains -P forward DENY
> ipchains -A forward -i ppp0 -j MASQ
> echo 1 > /proc/sys/net/ipv4/ip_forward # this is
> similar to replacing FALSE
> w/ TRUE (above)
> 
> Check out
>
http://www.linux.org/help/ldp/howto/IPCHAINS-HOWTO.html
> 
> I'd recommended you replace your current kernel with
> 2.2.14. There's a
> buffer 
> overflow which kills all your ipchains rules. This
> have been fixed since
> 2.2.12 & l8r.
> 
> hope this helps...
> 
> -
> Philippine Linux Users Group. Web site and archives
> at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to
> [EMAIL PROTECTED]
> 

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com

-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to