> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/fpp/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/fpp/latest/concepts/vppacl.md).

# VPPACL CR

The `VPPACL` Custom Resource (CR) is applied on the Core Cluster and is used to configure a firewall in VPP using the Access Control List (ACL) rules. The object consists of two arrays: **rules** and **bindings**. Use **fpp-manager.cennso.com/plumbing-instance** to target the configuration towards an FPP pod instance.

```yaml
apiVersion: fpp-manager.cennso.com/v1alpha1
kind: VPPACL
metadata:
  name: deny-traffic
  namespace: fpp
  labels:
    fpp-manager.cennso.com/created-for: node-op
    fpp-manager.cennso.com/plumbing-instance: vpp-webserver
spec:
  # The **bindings** section contains a list of interfaces to which the following `rules` are applied.
  bindings:
      # ifname as specified in VPPInterface `spec.ifname`
    - ifName: srv
      # direction can be `input` or `output`
      direction: "input"
  # Rules are used to match traffic with a certain pattern and perform a defined action.
  rules:
      # Action to perform. The possible values are `deny`, `accept`, and `reflect`.
    - action: "deny"
      # Source CIDR
      source: "198.19.1.0/24"
      # Source port range
      srcPort: "1024-3000"
      # Destination CIRD
      dest: "198.19.2.0/24"
      # Destination port range
      dstPort: "80-8080"
      # Protocol. The possible values are `tcp`, `udp`, `sctp`, `icmp`, and `icmp6`.
      protocol: "tcp"
```
