squid behind another squid
HI,
i am running squid as a demo to my teacher.
the problem is that my squid can access the internet through the the squid of our institute.
my system admins wont give me a global IP or let me bypass the institutue's squid.
so ok i ran this command and every thing seemed to be ok.
[root@NIIT158 root]# squid -N -d1
2004/07/29 05:37:19| Starting Squid Cache version 2.5.STABLE3 for i686-pc-linux-gnu...
2004/07/29 05:37:19| Process ID 3957
2004/07/29 05:37:19| With 1024 file descriptors available
2004/07/29 05:37:19| Performing DNS Tests...
2004/07/29 05:37:19| Successful DNS name lookup tests...
2004/07/29 05:37:19| DNS Socket created at 0.0.0.0, port 32770, FD 4
2004/07/29 05:37:19| Adding nameserver 10.10.10.1 from /etc/resolv.conf
2004/07/29 05:37:19| Adding nameserver 202.83.166.172 from /etc/resolv.conf
2004/07/29 05:37:19| Unlinkd pipe opened on FD 9
2004/07/29 05:37:19| Swap maxSize 102400 KB, estimated 7876 objects
2004/07/29 05:37:19| Target number of buckets: 393
2004/07/29 05:37:19| Using 8192 Store buckets
2004/07/29 05:37:19| Max Mem size: 8192 KB
2004/07/29 05:37:19| Max Swap size: 102400 KB
2004/07/29 05:37:19| Rebuilding storage in /var/spool/squid (DIRTY)
2004/07/29 05:37:19| Using Least Load store dir selection
2004/07/29 05:37:19| Current Directory is /root
2004/07/29 05:37:19| Loaded Icons.
2004/07/29 05:37:19| Accepting HTTP connections at 0.0.0.0, port 3128, FD 10.
2004/07/29 05:37:19| Accepting ICP messages at 0.0.0.0, port 3130, FD 11.
2004/07/29 05:37:19| WCCP Disabled.
2004/07/29 05:37:19| Ready to serve requests.
2004/07/29 05:37:41| Done scanning /var/spool/squid swaplog (0 entries)
2004/07/29 05:37:41| Finished rebuilding storage from disk.
2004/07/29 05:37:41| 0 Entries scanned
2004/07/29 05:37:41| 0 Invalid entries.
2004/07/29 05:37:41| 0 With invalid flags.
2004/07/29 05:37:41| 0 Objects loaded.
2004/07/29 05:37:41| 0 Objects expired.
2004/07/29 05:37:41| 0 Objects cancelled.
2004/07/29 05:37:41| 0 Duplicate URLs purged.
2004/07/29 05:37:41| 0 Swapfile clashes avoided.
2004/07/29 05:37:41| Took 22.6 seconds ( 0.0 objects/sec).
2004/07/29 05:37:41| Beginning Validation Procedure
2004/07/29 05:37:42| Completed Validation Procedure
2004/07/29 05:37:42| Validated 0 Entries
2004/07/29 05:37:42| store_swap_size = 0k
2004/07/29 05:37:42| storeLateRelease: released 0 objects
then i went on to a windows client and configured the browser to access the internet through my squid.
the result was
Connection failed
(113) No route to host
can any one tell me what is the problem . when i sit on the squid server and access the net it is ok cause ofcourse i dont go through my squid to access the internet. i connect directly to the internet through the institutue's squid.
so why is the client not being able to get access to web pages?
|