{"id":15433,"date":"2021-09-22T02:30:34","date_gmt":"2021-09-22T06:30:34","guid":{"rendered":"https:\/\/qxf2.com\/blog\/?p=15433"},"modified":"2021-09-22T02:30:34","modified_gmt":"2021-09-22T06:30:34","slug":"access-raspberrypi-over-the-internet-using-remote-it","status":"publish","type":"post","link":"https:\/\/qxf2.com\/blog\/access-raspberrypi-over-the-internet-using-remote-it\/","title":{"rendered":"Access RaspberryPi over the internet using Remote.it"},"content":{"rendered":"<p>To Access RaspberryPi over the internet, we need to do port forwarding.<br \/>\nThere are a number of ways to do that:<\/p>\n<ul>\n<li><strong>Set up port forwarding on your router:<\/strong> But port forwarding on your home\/local router to access your Pi is extremely dangerous.<\/li>\n<\/ul>\n<ul>\n<li><strong>Go with third-party online port forwarding services:<\/strong> It is recommended to go with this option to avoid security vulnerability.<\/li>\n<\/ul>\n<p>I looked for third-party online port forwarding services and found <a href=\"https:\/\/remote.it\/\" rel=\"noopener\" target=\"_blank\">remote.it<\/a>. I found it very easy and straightforward to integrate RaspberryPi with it and was able to connect to my RaspberryPi over the internet.<\/p>\n<hr>\n<h3>How to integrate your RaspberryPi with Remote.it:<\/h3>\n<p>There are 4 simple steps to do that:<\/p>\n<ul>\n<p>1. <strong>Register at <a href=\"https:\/\/app.remote.it\/auth\/#\/sign-up\" rel=\"noopener\" target=\"_blank\">remote.it<\/a><\/strong><\/ul>\n<ul>\n2. <strong>Install remote.it packages on your Raspberry Pi<\/strong><br \/>\nUse the following command to install remote.it package on your RaspberryPi.<\/p>\n<pre>\r\nsudo apt update\r\nsudo apt install remoteit\r\n<\/pre>\n<p>After installation of remote.it package on RaspberryPi, at end of the installation logs, you will see the information for further device configuration. You need this information in the next step and it looks like this:<\/p>\n<pre>\r\n================================================================================\r\n\r\nContinue your device configuration at http:\/\/find.remote.it\r\n                                   or http:\/\/raspberrypi.local:29999\r\n                                   or http:\/\/192.168.0.100:29999\r\n\r\n================================================================================\r\n<\/pre>\n<\/ul>\n<ul>\n3. <strong>Add Raspberry Pi device to remote.it:<\/strong> Use one of the URLs from the previous step and navigate to the page. You will see your device on-page and you just need to add your device to remote.it.<br \/>\n<strong>Note: You must be on the same wifi network else you won&#8217;t able to see your device<\/strong><\/p>\n<\/ul>\n<ul>\n4. <strong>Access your device via ssh:<\/strong> Switch to another network, log in to your remote.it accounts. You will see your Pi under devices, click on your <strong>Device > Connect > ssh<\/strong>. <figure id=\"attachment_15497\" aria-describedby=\"caption-attachment-15497\" style=\"width: 753px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/remote-it-ssh-option.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/remote-it-ssh-option.png\" alt=\"RaspberryPi ssh Option\" width=\"753\" height=\"256\" class=\"size-full wp-image-15497\" srcset=\"https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/remote-it-ssh-option.png 753w, https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/remote-it-ssh-option-300x102.png 300w\" sizes=\"auto, (max-width: 753px) 100vw, 753px\" \/><\/a><figcaption id=\"caption-attachment-15497\" class=\"wp-caption-text\">RaspberryPi ssh Option<\/figcaption><\/figure><br \/>\nAfter clicking on ssh option, you will get ssh details.  Look at the following screenshots.<figure id=\"attachment_15500\" aria-describedby=\"caption-attachment-15500\" style=\"width: 759px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/ssh-details-remote-it.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/ssh-details-remote-it.png\" alt=\"RaspberryPi ssh Details\" width=\"759\" height=\"735\" class=\"size-full wp-image-15500\" srcset=\"https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/ssh-details-remote-it.png 759w, https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/ssh-details-remote-it-300x291.png 300w\" sizes=\"auto, (max-width: 759px) 100vw, 759px\" \/><\/a><figcaption id=\"caption-attachment-15500\" class=\"wp-caption-text\">RaspberryPI ssh Details<\/figcaption><\/figure><br \/>\nUse ssh details and ssh into your RaspberryPi device. <figure id=\"attachment_15501\" aria-describedby=\"caption-attachment-15501\" style=\"width: 900px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/able-ssh-from-another-network.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/able-ssh-from-another-network-1024x494.png\" alt=\"Able to ssh from another network\" width=\"900\" height=\"434\" class=\"size-large wp-image-15501\" srcset=\"https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/able-ssh-from-another-network-1024x494.png 1024w, https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/able-ssh-from-another-network-300x145.png 300w, https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/able-ssh-from-another-network-768x371.png 768w, https:\/\/qxf2.com\/blog\/wp-content\/uploads\/2021\/08\/able-ssh-from-another-network.png 1050w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><figcaption id=\"caption-attachment-15501\" class=\"wp-caption-text\">Able to ssh from another network<\/figcaption><\/figure>\n<\/ul>\n<hr>\n<p>Hope this blog is helpful for your IoT projects.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>To Access RaspberryPi over the internet, we need to do port forwarding. There are a number of ways to do that: Set up port forwarding on your router: But port forwarding on your home\/local router to access your Pi is extremely dangerous. Go with third-party online port forwarding services: It is recommended to go with this option to avoid security [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[293,232,294,158],"tags":[],"class_list":["post-15433","post","type-post","status-publish","format-standard","hentry","category-iot","category-raspberry-pi","category-remote-it","category-ssh"],"_links":{"self":[{"href":"https:\/\/qxf2.com\/blog\/wp-json\/wp\/v2\/posts\/15433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qxf2.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qxf2.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qxf2.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/qxf2.com\/blog\/wp-json\/wp\/v2\/comments?post=15433"}],"version-history":[{"count":15,"href":"https:\/\/qxf2.com\/blog\/wp-json\/wp\/v2\/posts\/15433\/revisions"}],"predecessor-version":[{"id":15544,"href":"https:\/\/qxf2.com\/blog\/wp-json\/wp\/v2\/posts\/15433\/revisions\/15544"}],"wp:attachment":[{"href":"https:\/\/qxf2.com\/blog\/wp-json\/wp\/v2\/media?parent=15433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qxf2.com\/blog\/wp-json\/wp\/v2\/categories?post=15433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qxf2.com\/blog\/wp-json\/wp\/v2\/tags?post=15433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}