Squid and Mikrotik in a LAN

Hi.


http://img183.imagevenue.com/img.php?image=01699_Drawing1_122_454lo.jpg

I have this setup and i have configured all the browsers to access directly the proxy on linux box (i dont want to make a transparent proxy). The problem is that MT recognizes all the traffic as one Ip (the ip of the linux box). What can i do to prevent this (cause i want to be able to manage the clients ip traffic).
I have also tried to enable the MT proxy (squid version) and give it as parent proxy the ip of the Linux box. This works but i find that the response is slower.

So my question one more time is this. What can i do to use the proxy in my linux box but that the clients ips get recognized in MT???

Thanks.
I know i have may posted this twice but i got no response and i don’t think the solution doesn’t exist.

The problem solved, i think .. :laughing:

From Squid, use tcp_outgoing_address option.
Make sure you add the correct ip address inside the linux box where you want the ip is the ip Squid use for outgoing connection.