Zeroshell can use iptables either for routed or bridged traffic. I do not understand why you want to use ebtables.
Transparent proxy already works in Zeroshell without using ebtables.
In any case the proxy of Zeroshell is not a web cache. It is instead able to scan the web page for Virus.