I have setup squid proxy in bridge mode at my wan side.Means
wan router --------> squid proxy(bridge mode)----------->linux server-----------> client
(gateway is wan router) (gateway is wan router)
In this senarion my linux server's gateway is wan router.And my squid and all the stuffs are working fine.
For that i have added a single firewall rule in the squid device which is in bridge mode..
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128 for squid caching.
so everything is working fine,
But i can not access my linux server from out side.
i tried to add a mangle prerouting rule for linux server.
But i m not able to access linux server from out side.