Solved

Remotely accessing Raspberry Pi from internet

Posted on 2016-10-15
4
59 Views
Last Modified: 2016-11-05
Hello,

I plan to make a remote device using the raspberry pi and a few cameras that a user can login through the internet. I want the device to be plug and play, such that the user can plug in the cameras to the raspberry pi, power on the device, login to the home internet connection and after this the device can be accessed from the internet.

Most instructions that I have googled, suggest port forwarding, but this is not an option as it requires tweaking the router settings that would be an extra load on the user end.

I came across weaved IoT kit that enables remote connections to networked devices through various ports over the internet. However, this service requires commercial licensing and I want to start off with something free, if possible.

Please suggest some ways.

Thanks in advance.
0
Comment
Question by:Soumen Roy
  • 2
  • 2
4 Comments
 
LVL 14

Assisted Solution

by:Giovanni Heward
Giovanni Heward earned 500 total points
Comment Utility
You'll need to look at creating an egress solution rather than ingress.  The Weaved IoT Kit uses a cloud based server to facilitate communication.

In other words, your raspberry pi would need to connect outbound over a common port (i.e. 443/TCP) to a server you control on the Internet.  "Inbound" connections to access your raspberry pi would actually connect to the same cloud server hosted on the Internet and "forward" or "translate" the access requests back through the channel the raspberry pi had previously established.

pi-cloud.png
1
 

Author Comment

by:Soumen Roy
Comment Utility
Could you please refer me some instructions to understand how the whole thing works?
0
 
LVL 14

Accepted Solution

by:
Giovanni Heward earned 500 total points
Comment Utility
Here's a resource showing how to do a reverse ssh tunnel:
https://www.tunnelsup.com/raspberry-pi-phoning-home-using-a-reverse-remote-ssh-tunnel/

Obviously you can skip over the "covert" aspects of this tutorial and just try to understand the concepts of whats taking place.

If SSH won't do the job you're looking for, you most likely will need to code your own solution, which will be a lot more expensive/involved than just purchasing the Weaved IoT Kit.
0
 

Author Comment

by:Soumen Roy
Comment Utility
Isn't there someway I could design/develop an ssh client with native android ui that logs in to the pi, and there after the login, it allows us to run various scripts and programs through buttons on the UI?
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now