Solved

Remotely accessing Raspberry Pi from internet

Posted on 2016-10-15
4
122 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 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
IPv6 and IPv4 Subnetting scheme 4 48
Help logging in to my router 12 62
VPN Ports 8 33
IR 1023 Scanning 4 28
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

830 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