Based on your description it appears like you want to setup a layer2 vpn. Please review this article.