firstness
Posts: 20
Joined: Thu Oct 01, 2015 2:36 am

VPN access without port forwarding?

Fri Oct 02, 2015 4:15 am

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?

kcx
Posts: 15
Joined: Tue Apr 21, 2015 10:29 pm
Location: Central Texas

Re: VPN access without port forwarding?

Fri Oct 02, 2015 5:35 am

..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

fruitoftheloom
Posts: 21080
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: VPN access without port forwarding?

Fri Oct 02, 2015 5:46 am

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
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

kcx
Posts: 15
Joined: Tue Apr 21, 2015 10:29 pm
Location: Central Texas

Re: VPN access without port forwarding?

Fri Oct 02, 2015 6:33 am

Wow! Weaved looks VERY interesting!
Tons of uses.

Return to “Beginners”