Solved

Remotely accessing Raspberry Pi from internet

Posted on 2016-10-15
4
155 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 15

Assisted Solution

by:Giovanni Heward
Giovanni Heward earned 500 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 500 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

Suggested Solutions

Title # Comments Views Activity
Isolated network on ESXi 6.5 8 135
Change to New Domain, carry Wks configs foward? 4 67
Can i use a GC as a DC? 7 75
Dell SonicWall Connection 18 58
Let’s list some of the technologies that enable smooth teleworking. 
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

734 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