---
schema_version: "1"
id: d40a54bda61658a77b78abc224d6647f5e0594371ce48ab4c4b221d91599eb84
title: Configuring Flex Gateway in Local Mode
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/gateway/1.12/flex-local-configure.md
canonical_url: https://docs.mulesoft.com/gateway/1.12/flex-local-configure
source_site: docs.mulesoft.com
content_type: documentation
content_hash: cdf64b768551f302659bf52e8e666556cdaba18d72c8262fc085b7ac3784d250
description: MuleSoft Documentation Site
release: "1.12"
latest: false
---
---
product: Omni Gateway
version: 1.12
---

# Configuring Flex Gateway in Local Mode

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

- [Configure Replicas](https://docs.mulesoft.com/gateway/1.12/flex-local-rep-run) - Anypoint Flex Gateway enables you to create replicas,
  which are instances of Flex Gateway. By default, Flex Gateway runs as a single replica. Running
  multiple replicas enables scaling, load balancing, and high availability.

- [Configure TLS Context](https://docs.mulesoft.com/gateway/1.12/flex-local-tls-config) - Flex Gateway enables you to configure a TLS
  context to support regular TLS and mTLS in both inbound and outbound directions.

- [Configure Shared Storage](https://docs.mulesoft.com/gateway/1.12/flex-local-shared-storage-config) - Flex Gateway enables you to
  configure shared storage for distributed caching and rate limiting policies.

- [Configure a Forward Proxy](https://docs.mulesoft.com/gateway/1.12/flex-local-forward-proxy) - Flex Gateway enables you to configure a
  forward proxy to route external HTTP connections through a proxy connection.

- [Configure a Liveness Check](https://docs.mulesoft.com/gateway/1.12/flex-local-readiness-liveness) - Flex Gateway enables you to run a
  liveness check command to test gateway health. Additionally, Flex Gateways deployed on Kubernetes
  include a liveness probe to automatically restart pods after a specified number of failed checks.

- [Configure PROXY Protocol](https://docs.mulesoft.com/gateway/1.12/flex-local-proxy-protocol) - Flex Gateway supports PROXY protocol to
  perserve client IP address when servicing multi-layer connections.

- [Configure Distributed Tracing](https://docs.mulesoft.com/gateway/1.12/flex-local-tracing-config) - Flex Gateway enables you to configure
  distributed tracing for your APIs.

Refer to the [Declarative Configuration Reference Guide](https://docs.mulesoft.com/gateway/1.12/flex-local-configuration-reference-guide)
for information about configuring Flex Gateway via declarative configuration files.
