It depends on what you mean by a query.
If you want to access Pastel remotely via the user interface, then I would simply create a VPN connection from the outside to the local machine and then run Pastel remotely. You can create user profiles that limit the remote user from accessing certain sensitive info. You can also use systems such as LogMeIn or TeamViewer (my personal favourite).
Is that what you had in mind?
Did you like this article? Share it with your favourite social network.