by using this Forward proxy is working well by putting proxy address in the browser, but it’s not working as transparent.
Is it the problem with routing or any changes to be done in squid ?
As I explained several times the ‘accept’ rule makes sure that the traffic from 10.5.0.0/16 to the Squid proxy doesn’t have source NAT applied to it.
You only seem to have the bottom one in your configuration.
Also, again - and for the last time: that will also require that your Squid box has a route back to 10.5.0.0/16. At this point I’ve lost any and all overview of what you’ve changed where.
I have the same problem like “nbsdubai”, I solved it by removing the masquerade from MKT router as indicated and I see the clients web pages log in my squid, until here everything perfect. The problem is that my paypal payment system does not work, I mean: it’s a Hotspot to which the clients connect, pay via paypal and begin to surf. The problem is then that when the client has paid, (with masquerade disabled) the system cannot load the success.php which is in my server, but when I enable the masquerade, everything works fine, but of course I cannot log the information of the clients in my squid, I just get it but with the ip of the Hotspot.