---
title: "Connect to a proxy"
method: POST
path: "/api/v1/admin/proxy"
tags: ["Admin", "Proxy"]
---

# Connect to a proxy

`POST /api/v1/admin/proxy`

Connect to a proxy. When no remote is provided, the node attempts to connect to the best known proxy.
When a remote is provided, it attempts to connect to that address.

## Request body

- ConnectProxyRequest — Request body for connecting to a proxy
  - `remote` string, nullable — Optional remote socket address of the proxy to connect to. If omitted, the node will attempt to connect to the best known proxy.

## Response `200`

Connected to proxy

- string — Network socket address in the form host:port or [IPv6]:port

## Other responses

- `404` — No valid proxy available or connection failed

---

[API](https://skmtc.net/threefoldtech/apis/mycelium-management.md) · [All operations](https://skmtc.net/threefoldtech/apis/mycelium-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/threefoldtech/mycelium-management/versions/65042c1a7b84/schema)
