On 31/10/02 14:40 +0530, gvs wrote:
> Hi,
> 
> Please be patient and go through the following.
> 
> Consider three systems in a network whose IP addresses are
> System A  -  IP - 172.16.9.50
> System -B   IP - 172.16.9.100
> 
> System C    IP - 172.16.1.200
> 
> System's A and B are in one LAN and C on another LAN.
> A router has been placed between these two LANS.
> The router has two ethernet interfaces, one with IP (eth0) 172.16.9.227 and 
> another with IP
>   (eth1)172.16.1.227.
> 
> System A and B's  default gateway is 172.16.9.227
> System C's  default gateway is 172.16.1.227
> Full fledged routing is enabled between both the LAN's.
> 
> 
> - Squid(Proxy) server is configured on SystemB on port 3128.
> - System A is trying to browse System C(HTTP server is running on C).
> 
> My requirement is - when I browse System C or any other system from A the 
> packets are to be forwarded to systemB(by router) and from there onwards 
> squid server should process the packet.
What type of router are you using? If this is Cisco, redirect packets
destined for any host on port 80 except those originating from the proxy
to the squid box, which will be configured as a transparent proxy.

Or you could use WCCP.
<snip>

> The packet is received by 172.16.9.100 but getting dropped at IP level.
Ummm, dropped due to what error?
You could always configure the squid box as the default gateway for box
A, which saves a lot of trouble at the cost of one extra hop.
<snip>
> the kernel with MASQUERADING option. Could any one help me how to proceed 
> on this without any
> kernel compilations. Can this be done with "ipchains" and forwarding???? If 
> so, HOW??????
Most distribution kernels ship with MASQ enabled by default.
/sbin/ippchains -A forward -s 172.168.9.0/24 -d 0.0.0.0/0 -j MASQ

Devdas Bhagat


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to