Linux in General > Os Talk

Client system can't access my linux box

<< < (2/2)

Ricky:
well. you are doing many mistakes...

Since you have following structure..

Internet ---> WinXp ---> LinuxBOX(RH9) ----> All clients

then in winxp box which connectect to internet should have ICS enabled.

Now I think your eth0 of LinuxBox is connected to Winxp box then you should set your eth0 to obtain Ip address automatically, you can set this using redhat's graphical utitlity to set ethernet cards.

Now as your eth0 in LinuxBox is connected to now internet so change
in the following

--- Code: ---iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
--- End code ---
change ppp0 to eth0 and in next line eth0 to eth1

Now your squid configuration is also wrong..
See the tuturial again about squid configuration and specifically look for the Localnet section..

linuxgirl:
Hello Ricky,
I am most grateful for  the professional advice you gave to me.
I should have written since, but i was on leave. I used  Squid to share my internet access after i resume from my leave yesterday and it worked for my LAN.  
Thanks Ricky

Navigation

[0] Message Index

[*] Previous page

Go to full version