There are lot of 3rd party services like remote.it & dataplicity providing IoT devices remote connectivity but if you are looking for something secure & concerned about your device data privacy then you can follow this post to configure your RPi for remote access on public network.
Follow these brief steps:
- 1. Install & boot your RPi: https://www.raspberrypi.org/help/noobs-setup/2/
- 2. Enable SSH from Raspi-Configuration drop-down menu.
- 3. Install xrdp for remote desktop connection: sudo apt-get install xrdp
- 4. Configure static IP for your Raspberry Pi: https://www.modmypi.com/blog/how-to-give-your-raspberry-pi-a-static-ip-address-update
- 5. Install DUC client DNS to map local/physical RPi IP to a public IP address so that you can connect RPi from any network.
- no-ip: https://my.noip.com/#!/dynamic-dns
- dydns: https://dyn.com/
- Please note these services are paid after some trials but you can always look for alternatives here: https://www.makeuseof.com/tag/5-best-dynamic-dns-providers-can-lookup-free-today/
- 6. Port forwarding your router if PORT:8080 is blocked on your local network: https://www.pcworld.com/article/244314/how_to_forward_ports_on_your_router.html
- 7. Also, check your firewalls & xrdp status
- 8. Use Remote Desktop Connection if on Windows & Remmina Remote Desktop Client if on Ubuntu. You can also enable vnc server in RPi & use VNC Viewer Client on Windows/Linux/Mac.
- 9. For ssh tunneling use Putty: http://www.putty.org/
Reference: https://pimylifeup.com/raspberry-pi-port-forwarding/
0 comments:
Post a Comment
Thanks for your comment. We will try to reply as soon as possible.
Regards
VSL Creations