It sounds like you need to turn the Auto VPN on at HQ and B5. Then from the HQ location you need to advertise all networks you want to be reachable over the VPN. B5 will then route traffic destined to those networks to HQ and HQ will route them to the final destination.
... View more