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

# nsc proxy

Provides proxy support for instance services.

`proxy` opens a local proxy to a service running on a Namespace instance.

## Usage

```bash theme={null}
nsc proxy [instance-id] [--service <service>]
```

### Example

Proxy a VNC service from a running instance:

```bash theme={null}
nsc proxy 85a32emcg99ii --service vnc
```

```text nocopy Output theme={null}
VNC:
  Endpoint: 127.0.0.1:54321
  Username: admin
  Password: secret123
```

## Options

### --service, -s \<service>

The service to proxy (e.g. `vnc`, `rdp`).

### --output, -o \<format>

Output format. One of `plain` or `json`. Default is `plain`.

### --output\_to \<path>

If specified, write the JSON configuration to this path.

### --once

If set, stop the proxy after a single connection.

### --websocket

If set, outputs information to connect to the service directly using websockets.


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