Do you have a database connection to the DB holding that remote gateway's history? If so, you don't need an RTP at all, just construct history tag paths using the local DB connection, and the remote gateway's name and tag provider name as the parts of the "driver" term. See this topic and linked topics: