First of I'm very sorry but this questions is not so so specific.
All I am looking for is a tutorial or a resource for creating a site-to-site VPN. Actually, I not even sure if that is what I should call it. I live in China and I want to access youtube and stuff. And I don't want to buy a proxy service so I'm trying to make my own VPN or proxy with Ruby on Rails.
So again, my question is where is a resource for creating site-to-site VPN with Ruby on Rails.