I was going to make another drawing but it appears that more than one would be required in order to show everything.
So I'll try some written explanation first:
- in each branch office, you will need one Zentyal server between you LAN and your WAN access (i.e. satelite to IPSTAR)
- in main office, you will need one Zentyal server between LAN and IPSTAR network, this LAN being also connected to HQ which provides internet access (if I understand well)
High level view:
- set-up VPN tunnels (Zentyal to Zentyal) from each branch office to main office.
- for all premises, be sure you have defined Zentyal as HTTP proxy server
- on Zentyal in main office, be sure Zentyal server is pointing to HTTP proxy in HQ (assuming I'm correct with my previous assumption.
when user from any office will access internet, it will first reach Zentyal HTTP proxy.
- in main office, it will be redirected to central proxy (somewhere in Europe

)
- in branch office, it will be redirected first (via VPN tunnel) to Zentyal server in main office that will redirect to HQ
does this makes sense?