Can't connect to the internet
I have 3 pcs: A (Redhat 9.0), B(Redhat 9.0), C (windows XP pro).
PC A has 2 interfaces: one to the internet and another to PC B. PC B has 2 interfaces: one to PC A and another on to PC C. On PC B, I run squid as proxy and set the gateway to the ip of PC A. PC C has one interface connecting to PC B. i set PC B as proxy for PC C (No gateway). My PC B can connect to the internet by using PC A as gateway. MY PC C can see webpage from PC A by using Proxy which is set to PC B ip (I have apache running on PC A). On PC A, there is no firewall or something that block packet from PC C. My problem is why PC C can't connect to the internet? Thanks, |
fist, what error message do u get on PC C, while u r trying to browse internet trou proxy? i mean, do u get squid error page? or get default xp host not found message?
if u dont have to run squid on PC B, try followings: on PC B: echo "1" > /proc/sys/net/ipv4/ip_forward on PC C set PC B as gateway set your ISP nameserver as DNS on PC A check iptables if it has POSTROUTING rule for PC C. and make sure it doesnt block PC C ip adress in FORWARD chain. good luck. |
Thanks, now it works.
i just need to set on pc B the dns name. Thanks, |
algebra??
Holy yikes, I'm glad you figured it out.... I got lost somewhere in PC B..... why don't ya get a router for the same amount of money you spent on all the network cards.
|
All times are GMT -5. The time now is 01:43 AM. |