RE: [squid-users] squid + iptables

From: squidrunner team <squidrunner_dev@dont-contact.us>
Date: Wed, 6 Apr 2005 03:59:10 -0700 (PDT)

>
> $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
Received on Wed Apr 06 2005 - 04:59:13 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:03 MDT