> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aviatrix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FireNet Design Patterns

> FireNet supports High Performance Encryption Mode.

## Hybrid to On-prem

<img src="https://mintcdn.com/aviatrix-14b37c43/vKpoXYmi49a-T1vW/images/concepts-architectures/architecture/security/hybrid.png?fit=max&auto=format&n=vKpoXYmi49a-T1vW&q=85&s=0387c744fd4f72029c17052c4901eea6" alt="500" width="1678" height="1132" data-path="images/concepts-architectures/architecture/security/hybrid.png" />

## Hybrid with High Performance Encryption Mode

FireNet supports High Performance Encryption Mode.

<img src="https://mintcdn.com/aviatrix-14b37c43/vKpoXYmi49a-T1vW/images/concepts-architectures/architecture/security/insane.png?fit=max&auto=format&n=vKpoXYmi49a-T1vW&q=85&s=eadce005074917664ac2452dc94e5e1d" alt="500" width="1636" height="1162" data-path="images/concepts-architectures/architecture/security/insane.png" />

## FireNet in Multi-Regions

<img src="https://mintcdn.com/aviatrix-14b37c43/vKpoXYmi49a-T1vW/images/concepts-architectures/architecture/security/multi-regions.png?fit=max&auto=format&n=vKpoXYmi49a-T1vW&q=85&s=2b613f2ab704b92ce60b98a019899290" alt="500" width="1886" height="1118" data-path="images/concepts-architectures/architecture/security/multi-regions.png" />

## Dual Transit FireNet Network

You can deploy two Firewall Networks, one dedicated for East-West traffic
inspection and another for egress inspection.

You must follow this configuration sequence:

1. Disable the Traffic Inspection of the FireNet Gateway intended for egress
   control.
2. Enable Egress Control for FireNet Gateway intended for egress control.
3. Build connection policies.

<img src="https://mintcdn.com/aviatrix-14b37c43/vKpoXYmi49a-T1vW/images/concepts-architectures/architecture/security/dual-firenet.png?fit=max&auto=format&n=vKpoXYmi49a-T1vW&q=85&s=6f87c2903d5eb02a7a24f8c39fb6c347" alt="500" width="2136" height="1122" data-path="images/concepts-architectures/architecture/security/dual-firenet.png" />

## Distributed Egress in a Multi-Region Deployment

If you need to have a distributed egress for each region, make sure you filter
out the default route 0.0.0.0/0 when you build the Aviatrix Transit Gateway
peering, as shown in the diagram below.

<img src="https://mintcdn.com/aviatrix-14b37c43/vKpoXYmi49a-T1vW/images/concepts-architectures/architecture/security/multi-egress.png?fit=max&auto=format&n=vKpoXYmi49a-T1vW&q=85&s=b9c5b30222708bb5b770bdd6ca191a70" alt="500" width="2128" height="1122" data-path="images/concepts-architectures/architecture/security/multi-egress.png" />

## Ingress Protection via Aviatrix Transit FireNet

This Ingress Protection design pattern is to have the traffic forward to
firewall instances directly in Aviatrix Transit FireNet VPC/VNet as shown in the
diagram below. In this design pattern, each firewall instance must configure (1)
SNAT on its LAN interface that connects to the Aviatrix FireNet Gateway and (2)
DNAT to the IP of application server/load balancer. The drawback of this design
is that the source IP address is not preserved when traffic reaches the
application.

<img src="https://mintcdn.com/aviatrix-14b37c43/vKpoXYmi49a-T1vW/images/concepts-architectures/architecture/security/ingress-transit-firenet-topology.png?fit=max&auto=format&n=vKpoXYmi49a-T1vW&q=85&s=d968c29a84716cbe1e3a8b96484feb0a" alt="500" width="940" height="767" data-path="images/concepts-architectures/architecture/security/ingress-transit-firenet-topology.png" />

For an example configuration workflow, see
[Ingress Protection via Aviatrix Transit FireNet with FortiGate](https://legacy.docs.aviatrix.com/documentation/latest/security/fortigate-ingress-protection-firenet.html).

# Hybrid to On-prem

<img src="https://mintcdn.com/aviatrix-14b37c43/vKpoXYmi49a-T1vW/images/concepts-architectures/architecture/security/hybrid.png?fit=max&auto=format&n=vKpoXYmi49a-T1vW&q=85&s=0387c744fd4f72029c17052c4901eea6" alt="" width="1678" height="1132" data-path="images/concepts-architectures/architecture/security/hybrid.png" />

# Hybrid with High Performance Encryption Mode

FireNet supports High Performance Encryption Mode.

<img src="https://mintcdn.com/aviatrix-14b37c43/vKpoXYmi49a-T1vW/images/concepts-architectures/architecture/security/insane.png?fit=max&auto=format&n=vKpoXYmi49a-T1vW&q=85&s=eadce005074917664ac2452dc94e5e1d" alt="" width="1636" height="1162" data-path="images/concepts-architectures/architecture/security/insane.png" />

# FireNet in Multi-Regions

<img src="https://mintcdn.com/aviatrix-14b37c43/vKpoXYmi49a-T1vW/images/concepts-architectures/architecture/security/multi-regions.png?fit=max&auto=format&n=vKpoXYmi49a-T1vW&q=85&s=2b613f2ab704b92ce60b98a019899290" alt="multi-regions" width="1886" height="1118" data-path="images/concepts-architectures/architecture/security/multi-regions.png" />

## Dual Transit FireNet Network

You can deploy two Firewall Networks, one dedicated for East-West traffic
inspection and another for egress inspection.

You must follow this configuration sequence:

1. Disable the Traffic Inspection of the FireNet Gateway intended for egress
   control.
2. Enable Egress Control for FireNet Gateway intended for egress control.
3. Build connection policies.

<img src="https://mintcdn.com/aviatrix-14b37c43/vKpoXYmi49a-T1vW/images/concepts-architectures/architecture/security/dual-firenet.png?fit=max&auto=format&n=vKpoXYmi49a-T1vW&q=85&s=6f87c2903d5eb02a7a24f8c39fb6c347" alt="Dual FireNet" width="2136" height="1122" data-path="images/concepts-architectures/architecture/security/dual-firenet.png" />

## Distributed Egress in a Multi-Region Deployment

If you need to have a distributed egress for each region, make sure you filter
out the default route 0.0.0.0/0 when you build the Aviatrix Transit Gateway
peering, as shown in the diagram below.

<img src="https://mintcdn.com/aviatrix-14b37c43/vKpoXYmi49a-T1vW/images/concepts-architectures/architecture/security/multi-egress.png?fit=max&auto=format&n=vKpoXYmi49a-T1vW&q=85&s=b9c5b30222708bb5b770bdd6ca191a70" alt="Multi-Egress" width="2128" height="1122" data-path="images/concepts-architectures/architecture/security/multi-egress.png" />

## Ingress Protection via Aviatrix Transit FireNet

This Ingress Protection design pattern is to have the traffic forward to
firewall instances directly in Aviatrix Transit FireNet VPC/VNet as shown in the
diagram below. In this design pattern, each firewall instance must configure (1)
SNAT on its LAN interface that connects to the Aviatrix FireNet Gateway and (2)
DNAT to the IP of application server/load balancer. The drawback of this design
is that the source IP address is not preserved when traffic reaches the
application.

For an example configuration workflow, see
[Ingress Protection via Aviatrix Transit FireNet with FortiGate](https://docs.aviatrix.com/documentation/latest/security/fortigate-ingress-protection-firenet.html).

<img src="https://mintcdn.com/aviatrix-14b37c43/vKpoXYmi49a-T1vW/images/concepts-architectures/architecture/security/ingress-transit-firenet-topology.png?fit=max&auto=format&n=vKpoXYmi49a-T1vW&q=85&s=d968c29a84716cbe1e3a8b96484feb0a" alt="Ingress Transit FireNet" width="940" height="767" data-path="images/concepts-architectures/architecture/security/ingress-transit-firenet-topology.png" />
