# Pyxsoft Firewall

> A free nftables firewall for WHM, and a modern replacement for ConfigServer (CSF).

Source: https://www.pyxsoft.com/firewall
Updated: 2026-11-19

---

Pyxsoft Firewall is a free firewall for cPanel servers, built on nftables and managed from WHM or with the `pxf` command. No license needed.

## Requirements

cPanel and WHM on a RHEL-based server. It is not available on servers without cPanel. CorePanel has the firewall built in.

## What the installer does

1. Disables and uninstalls CSF if it is installed.
2. Stops, disables and masks firewalld.
3. Installs the package pxf-cpanel from the Pyxsoft repository.
4. Checks the firewall with `pxf status`.

## Install

```
curl -s https://www.pyxsoft.com/extra/install-firewall | bash
```

Documentation: [/docs/firewall/installation](https://www.pyxsoft.com/docs/firewall/installation). Command reference: [/docs/firewall-cli/pxf-cli-command-reference](https://www.pyxsoft.com/docs/firewall-cli/pxf-cli-command-reference).

To protect the sites as well as the network, add [pxShield](https://www.pyxsoft.com/waf) and [Pyxsoft Anti Malware](https://www.pyxsoft.com/anti-malware).
