---
schema_version: "1"
id: 8df9177f21400a1e40906610507e088e8fc129cb298b14c840bf82ee68b39707
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.9/flex-local-configure.md
canonical_url: https://docs.mulesoft.com/gateway/1.9/flex-local-configure
source_site: docs.mulesoft.com
content_type: documentation
content_hash: a548de2a5ec0eb5a2ec1e911a648ed2514325ebeac2b71ad1993673a4511f137
description: MuleSoft Documentation Site
release: "1.9"
latest: false
---
---
product: Omni Gateway
version: 1.9
---

# 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.9/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.9/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.9/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.9/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.9/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.9/flex-local-proxy-protocol) - Flex Gateway supports PROXY protocol to
  perserve client IP address when servicing multi-layer connections.

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