Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Remotely accessing Raspberry Pi from internet

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

This program is used to assist in finding and resolving common problems with wireless connections.
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

721 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