Squid to specific gateway
is there anyway to make the squid requests routed through a specific gateway ?
or is there anyway to make the squid transfer the client ip to getaway ?
You can set the outgoing source address for requests which will effectively set the gateway used.
That is done using the tcp_outgoing_address directive in the custom options before auth field.
You would need static IP(s) to use that though.