vpn conection to raspberry over pppd

Colin Law clanlaw at gmail.com
Mon Dec 8 14:01:48 UTC 2014


On 8 December 2014 at 13:57, robert rottermann <robert at redcor.ch> wrote:
> Thanks Karl
> On 07.12.2014 22:25, Karl Auer wrote:
>>
>> On Sun, 2014-12-07 at 21:56 +0100, robert rottermann wrote:
>>>
>>> Now I would like to set up a vpn between my ubuntu box and the remote
>>> raspberry of which I do not know the io addres.
>>
>> Does your Ubuntu box have a public address? In that case simply have the
>> Raspberry "phone home".
>
> this is in deed what I would like to do.
> However, I would like to have a remote shell running on my home computer, so
> I can work on the raspberry.
> As the rasperry does not have a valid ip (it is behind NAT) I look for a way
> that the raspy initiates the connection.
> But the shell should run localy.

Do you specifically need a VPN connection or would ssh be sufficient?
If so then you can use reverse ssh tunnelling.  See
http://www.howtoforge.com/reverse-ssh-tunneling

Colin




More information about the ubuntu-users mailing list