> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hologram.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Device tunneling for beginners

> Create an inbound Spacebridge tunnel to a device using a Hologram SIM.

This guide shows how to create an inbound Spacebridge tunnel to a device (e.g., Raspberry Pi) connected with a Hologram SIM. We will be using a Raspberry Pi in this example, but you can securely tunnel into any device that gives you port level access.

## Create a secure device tunnel

**1. Ensure the device is online**

First, make sure your end device has an open data session. Using a Raspberry Pi, you have a variety of choices on how to do that, for example ModemManager + NetworkManager, ChatScript, or the tool of your preference.

**2. Establish the tunnel**

Follow the SSH tunneling instructions to establish the tunnel. If you've already uploaded your keys (required once), then only you will only need to create the tunnel.

> [card] [Establish a secure Spacebridge tunnel](https://docs.hologram.io/guides/communication/establish-a-secure-spacebridge-tunnel-to-a-device-using-ssh.md)

**3. Connect over SSH and close the tunnel**

Once your tunnel is set up you can SSH into the device. In this case, it is a Raspberry Pi.

```bash theme={null}
ssh pi@127.0.0.1 -p 5000
```

![Secure tunnel using Spacebridge example](https://mintcdn.com/hologram-b29df2a6/gBXuuJ66IPyI_nhw/images/secure-tunneling/secure-tunnel-example.png?fit=max\&auto=format\&n=gBXuuJ66IPyI_nhw\&q=85\&s=ce18c16d6fe03ffbc0a311a84d4b5b75)

**4. Close the tunnel using `Ctrl+C`**

## Related actions

> [card] [Enable/disable tunneling keys via API](https://docs.hologram.io/guides/communication/enable-and-disable-device-tunneling-keys-using-the-rest-api.md)

> [card] [View tunneling keys via API](https://docs.hologram.io/guides/communication/view-device-tunneling-keys-using-the-rest-api.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.