> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/vps/firewall/create-new-firewall.md).

# Create new firewall

Create a new firewall. Use this endpoint to set up new firewall configurations for VPS security.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/vps/v1/firewall" method="post" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
