Search squid archive

RE: [squid-users] squid + iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> $route -n
> Kernel IP routing table
> Destination     Gateway         Genmask        
> Flags Metric Ref    Use Iface
> 192.168.2.0     0.0.0.0         255.255.255.0   U   
>  0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U   
>  0      0        0 lo
> 0.0.0.0         192.168.2.1     0.0.0.0         UG  
>  1      0        0 eth0
> 
> (ie : 192.168.2.1 = proxybox)
> 
>
**************************************************************
> Route of proxybox :
> 
> root@margaritas:/home/kth# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask        
> Flags Metric Ref    Use Iface
> 192.168.2.0     0.0.0.0         255.255.255.0   U   
>  0      0        0 eth1
> 192.168.0.0     0.0.0.0         255.255.255.0   U   
>  0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U   
>  0      0        0 lo
> 0.0.0.0         192.168.0.254   0.0.0.0         UG  
>  0      0        0 eth0
> 

You are not having route entry to use DNS server to
resolve the domain names in client machine. Try as,

route add -net 192.168.0.0 netmask 255.255.0.0 dev
eth0

ping <dns server>
ping www.google.com

It has to resolve there.

It will work.

Best Regards,
Squid Runner Team

SquidRunner - An Automatic Squid Builder 
Web: http://freshmeat.net/projects/squidrunner/
Mail: squidrunner_dev at yahoo dot com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux