---
title: "Failsafe rules"
description: "Reference for the Calico Enterprise failsafe inbound and outbound port lists that prevent host network policy from cutting off control-plane connectivity."
product: "Calico Enterprise"
version: "3.23 (latest)"
section: "Reference"
canonical_url: "https://docs.tigera.io/calico-enterprise/latest/reference/host-endpoints/failsafe"
---

# Failsafe rules

To avoid completely cutting off a host via incorrect or malformed policy, Calico Enterprise has a failsafe mechanism that keeps various pinholes open in the firewall.

By default, Calico Enterprise keeps the following ports open on *all* host endpoints:

| Port | Protocol | Direction          | Purpose                        |
| ---- | -------- | ------------------ | ------------------------------ |
| 22   | TCP      | Inbound            | SSH access                     |
| 53   | UDP      | Outbound           | DNS queries                    |
| 67   | UDP      | Outbound           | DHCP access                    |
| 68   | UDP      | Inbound            | DHCP access                    |
| 179  | TCP      | Inbound & Outbound | BGP access (Calico networking) |
| 6443 | TCP      | Inbound & Outbound | Kubernetes API server access   |

The lists of failsafe ports can be configured via the configuration parameters `FailsafeInboundHostPorts` and `FailsafeOutboundHostPorts` described in [Configuring Felix](https://docs.tigera.io/calico-enterprise/latest/reference/component-resources/node/felix/configuration.md) . They can be disabled by setting each configuration value to "\[]".

> **SECONDARY:** Removing the inbound failsafe rules can leave a host inaccessible.
>
> Removing the outbound failsafe rules can leave Felix unable to connect to the datastore.
>
> Before disabling the failsafe rules, we recommend creating a policy to replace it with more-specific rules for your environment: see [Creating policy for basic connectivity](https://docs.tigera.io/calico-enterprise/latest/reference/host-endpoints/connectivity.md).
