Page 1 of 1

VPN access without port forwarding?

Posted: Fri Oct 02, 2015 4:15 am
by firstness
My home network is behind two layers of NAT. I only have access to the first layer (home router) but not the outer layer (building network router), so I can't use port forwarding. I would like to be able to VPN into my home network. Is there any way to access the RPi on my home network from the outside?

Re: VPN access without port forwarding?

Posted: Fri Oct 02, 2015 5:35 am
by kcx
..well a hacky but completely useable workaround is to get a free AWS linux instance and have your Pi setup a reverse tunnel to it, forwarding your pi's ssh port to the AWS host, however restricting access to it to only the AWS localhost to increase the security (you'll need an account on the AWS host to connect to localhost:2222).

You could put something like this in a loop or in inittab or whatever (assuming AWS host has put it's own ssh server on port 43905-- best to move it off 22 just to avoid scanning):

ssh -i ~/.ssh/tun -R 2222:localhost:22 tun@AWSip -p 43905 -T -N

Re: VPN access without port forwarding?

Posted: Fri Oct 02, 2015 5:46 am
by fruitoftheloom
firstness wrote:My home network is behind two layers of NAT. I only have access to the first layer (home router) but not the outer layer (building network router), so I can't use port forwarding. I would like to be able to VPN into my home network. Is there any way to access the RPi on my home network from the outside?
:?: :?: :?: :?:

http://www.weaved.com/in-action/weaved-iot-kit

https://developer.weaved.com/portal/members/betapi.php

Re: VPN access without port forwarding?

Posted: Fri Oct 02, 2015 6:33 am
by kcx
Wow! Weaved looks VERY interesting!
Tons of uses.