Some home internet enabled equipment does not implement VPN connectivity which I would like to have. I want to setup one of these devices at a remote location and then have it live as if on my local LAN. The remote location has generic internet access (LAN router). I'm thinking about putting a RaspberryPi in between to smarten up the device's internet connection.
I would like to configure, if possible, the RaspberryPi to accept an incoming connection through ethernet from a device (or several, if using a switch) and then use the wi-fi connection to establish an outgoing internet connection through VPN.
The ethernet connection would control the LAN on that side (assigning IP's and all) The Wi-fi connection would allow traffic to go out once the VPN is established.
Is this possible?
This could be used to have remote devices running as if on the same lan (if at the other end of the VPN I have my LAN).