Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Remotely accessing Raspberry Pi from internet

Posted on 2016-10-15
4
Medium Priority
?
196 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 15

Assisted Solution

by:Giovanni Heward
Giovanni Heward earned 1000 total points
ID: 41845415
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
ID: 41847082
Could you please refer me some instructions to understand how the whole thing works?
0
 
LVL 15

Accepted Solution

by:
Giovanni Heward earned 1000 total points
ID: 41848089
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
ID: 41855394
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
Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

824 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