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

# profclaw tunnel

> profclaw tunnel - start and stop Cloudflare and Tailscale tunnels to expose your local profClaw instance for remote access without port forwarding.

## Synopsis

```bash theme={null}
profclaw tunnel <subcommand> [flags]
```

## Description

Manage network tunnels for exposing your local profClaw instance to the internet. Supports Cloudflare Quick Tunnels and Tailscale mesh networking.

## Subcommands

| Subcommand | Description |
| - | - |
| `status` | Show tunnel status (default) |
| `start` | Start a Cloudflare quick tunnel |
| `stop` | Stop the active Cloudflare tunnel |
| `tailscale` | Show detailed Tailscale status |

## Flags

| Flag | Type | Default | Description |
| - | - | - | - |
| `--port <n>` | number | 3000 | Local port to tunnel |
| `--json` | boolean | | Output as JSON |

## Examples

```bash Start a Cloudflare tunnel theme={null}
profclaw tunnel start
# Output: Tunnel active at https://random-name.trycloudflare.com
```

```bash Start on custom port theme={null}
profclaw tunnel start --port 4000
```

```bash Check tunnel status theme={null}
profclaw tunnel status
```

```bash Check Tailscale status theme={null}
profclaw tunnel tailscale
```

## Prerequisites

* **Cloudflare**: `cloudflared` must be installed (`brew install cloudflared`)
* **Tailscale**: `tailscale` must be installed and authenticated

## Related

* [Cloudflare Integration](https://docs.profclaw.ai/integrations/cloudflare.md)
* [Tailscale Integration](https://docs.profclaw.ai/integrations/tailscale.md)
* [Self-Hosted Guide](https://docs.profclaw.ai/guides/self-hosted.md)


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