RH Linux 6.2 K 2.2

/proc/sys/net/ipv4/ip_forward says '0',
I need to make Linux machine act as a router, how to do this..
what are the steps to allow only particular clients in the LAN to use the
Internet with NAT
Should limit all the incoming to this machine and not to the internal
network

Any help ........Pls
Vijay


----- Original Message -----
From: "Shane McKeown" <[EMAIL PROTECTED]>
To: "Linux Newbie" <[EMAIL PROTECTED]>
Sent: Friday, March 23, 2001 2:29 AM
Subject: Ip_Forwarding


> Hi all
>
> I have just finished setting up my linux box to
> provide ip_forwarding, and have confirmed that
> ip_forwarding is active
>
> cat /proc/sys/net/ipv4/ip_forward returns a '1'.
>
> My system is Linux Mandrake 7.1, 2.2.19
>
> I can dial up to the internet from the linux box, a
> and when I ping both the linux boxes' internal and
> external IP's from another computer on my LAN
> I get replies that I can see both.
> I.e. I can ping both addresses.
>
> The problem occurs when I try to ping an external
> internet address such as www.altavista.com from
> a PC other than the Linux box.  Using tracert(its
> a Win2000 PC), I can only ping as far as the linux
> box, no further.
>
> What have I missed?
>
> This is the listing from syslog:
> Mar 22 19:53:53 linux1 pppd[1125]: pppd 2.4.0 started
> by root, uid 0
> Mar 22 19:53:53 linux1 pppd[1125]: Using interface
> ppp0
> Mar 22 19:53:53 linux1 pppd[1125]: Connect: ppp0 <-->
> /dev/ttyS1
> Mar 22 19:53:57 linux1 kernel: PPP BSD Compression
> module registered
> Mar 22 19:53:57 linux1 kernel: PPP Deflate Compression
> module registered
> Mar 22 19:53:57 linux1 pppd[1125]: local  IP address
> 212.1.135.14
> Mar 22 19:53:57 linux1 pppd[1125]: remote IP address
> 212.1.128.21
> Mar 22 19:53:57 linux1 pppd[1125]: primary   DNS
> address 212.1.128.157
> Mar 22 19:53:57 linux1 pppd[1125]: secondary DNS
> address 212.1.128.156
>
>
> So from this I can ping 212.1.135.14(IP assigned by
> ISP)
> but none of the other IP's.
>
> Shane
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to