TUTORIAL
Remote access your Raspberry Pi securely Use a secure service to gain remote access to your Raspberry Pi
MAKER
T Lucy Hattersley Lucy is editor of The MagPi and has worked remotely for years. She has a Raspberry Pi ready to be connected to from anywhere in the world.
@lucyhattersley
he small footprint and low energy demands of Raspberry Pi make it ideal for remote deployment, and accessing Raspberry Pi from another computer is a common user request. There are many different solutions for remote access to Raspberry Pi. The most common is to use one of two techniques: SSH (magpi.cc/ssh) and VNC (magpi.cc/vnc). SSH and VNC involve opening a port on Raspberry Pi (VNC uses port 5900+N and SSH uses port 22). This potentially exposes your Raspberry Pi. Hackers actively look for Raspberry Pi devices with these open ports and default passwords. This is why you must change your password when turning on VNC (magpi.cc/security). Some people take things further and use a third-party service to help protect their Raspberry
You’ll Need > Raspberry Pi > remote.it account > Raspberry Pi OS > VNC Viewer
magpi.cc/vncviewer
Use the http://find. remote.it webpage to locate your Raspberry Pi on the network and add it to your remote.it account
56
magpi.cc
Remotely access your Raspberry Pi securely
Pi. In this tutorial, we’re taking a look at remote.it (magpi.cc/remoteit) to set up a work network using Raspberry Pi as a remote access gateway. With remote.it, you can access a Raspberry Pi remotely without port forwarding. You do this by accessing the remote.it server as a proxy, or by using remote.it’s software to form a peer-topeer network. Remote.it claims this is a safer way to set up a gateway than a traditional VPN (magpi.cc/vpnhackers).
01
Create an account
To connect to your Raspberry Pi remotely you’ll need to set up an account. Open the web browser and head to https://remote.it. Click on ‘Sign up’ and enter your email address. You will