---
title: "Create a new ip_port policy, any traffic to this ip/port/protocol will be blocked"
method: POST
path: "/policy/create/ip_port"
tags: ["Policy"]
---

# Create a new ip_port policy, any traffic to this ip/port/protocol will be blocked

`POST /policy/create/ip_port`

## Query parameters

- `ip` string, required
- `port` string, required
- `protocol` string, required
- `name` string, required

## Response `200`

Success

## Other responses

- `400` — The request was invalid or cannot be otherwise served.

---

[API](https://skmtc.dev/firewalla/apis/firewalla-api.md) · [All operations](https://skmtc.dev/firewalla/apis/firewalla-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/firewalla/firewalla-api/revisions/8ddb0f8ea886/schema)
