---
title: "POST /bypass"
method: POST
path: "/bypass"
---

# POST /bypass

`POST /bypass`

## Request body

- BypassSpec
  - `id` string, required
  - `socketPath` string
  - `pidFilePath` string
  - `logFilePath` string
  - `portMapping` PortSpec[]
    - `protos` Proto[]
    - `parentIP` string
    - `parentPort` integer
    - `childIP` string
    - `childPort` integer
  - `ignoreSubnets` string[]

## Response `201`

BypassStatus

- BypassStatus
  - `id` string, required
  - `pid` integer, required
  - `spec` BypassSpec
    - `id` string, required
    - `socketPath` string
    - `pidFilePath` string
    - `logFilePath` string
    - `portMapping` PortSpec[]
      - `protos` Proto[]
      - `parentIP` string
      - `parentPort` integer
      - `childIP` string
      - `childPort` integer
    - `ignoreSubnets` string[]

---

[API](https://skmtc.dev/rootless-containers/apis/bypass4netnsd-api.md) · [All operations](https://skmtc.dev/rootless-containers/apis/bypass4netnsd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rootless-containers/bypass4netnsd-api/revisions/5e10d15a41b3/schema)
