Unable to access Internet from LAN using Linux Gateway

We have win98 machines and Linux machine connected in a workgroup with  Linux RedHat 7.1 configured as gateway .
eth0- IP)
eth1 - 192.168.X.X (Public IP)
External gateway (192.168.0.X)
I can access the Internet from my Linux Machine ..however if i try to access it from other machines setting Linux m/c as gateway ..i cannot access the Internet.
Running Traceroute shows following behaviour.
1) On Linux :
In 1 hop it reaches 192.168.0.X
2) On Win machine:
1st hop ->  Linux machine
2nd hop -> Request Timed Out !!

Who is Participating?
svenkarlsenConnect With a Mentor Commented:
You will need to enable the Linux box as a router, - try checking this out:

Ravi GoruTechnical ConsultantCommented:

hii nishi ..

just try these two lines as root !!

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

ipchains -A forward -j masq

and then try browsing for other machines :))

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.