> ## 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.

# External Connection (Site2Cloud) and Distributed Cloud Firewall

> Distributed Cloud Firewall (DCF) rules can be pushed to Spoke or Transit Gateways as follows:

Distributed Cloud Firewall (DCF) rules can be pushed to Spoke or Transit
Gateways as follows:

* External connection terminating on Spoke
  ([L7](https://docs.aviatrix.com/docs/enterprise/8.2/reference/general/general-glossary.md#firewall) DCF
  for Active/Passive; L4 DCF for Active/Active)
* External connection terminating on Transit
  ([L4 only](https://docs.aviatrix.com/docs/enterprise/8.2/reference/general/general-glossary.md#firewall)
  for Active/Passive and Active/Active)

> [!NOTE]
>
> If you roll back your 7.2.4820 gateways to 7.1, any DCF rules that include
> External Connections will no longer be evaluated or enforced. This is expected
> behavior, because the DCF with External Connections feature was introduced in
> 7.2.4820.

## External Connections with DCF Prerequisites

If the following conditions are met you can enforce Distributed Cloud Firewall
(DCF) rules on External Connection (Site2Cloud) interfaces:

* [DCF feature is enabled](https://docs.aviatrix.com/docs/enterprise/8.2/guides/security/dcf/dcf-enable-feature.md);
  this makes the DCF on External Connections feature available.
* [Enforcement on External Connections setting is enabled](https://docs.aviatrix.com/docs/enterprise/8.2/guides/security/dcf/dcf-settings.md#enforcement-on-external-connections)

## External Connections (S2C) with DCF Capabilities

| External Connections (S2C) Capabilities | Supported | Not Supported |
| - | - | - |
| Gateways | Spoke Gateway Transit Gateway | Standalone Gateway PSF Gateway |
| Connection Type | BGP over LAN BGP over IPsec BGP over GRE Static Route-Based (Mapped) Static Route-Based (ActiveMesh) Static Route-Based | Static Policy-Based (Unmapped) Static Route-Based (Custom Mapped) |
| L4/L7 DCF | Spoke Gateway Transit Gateway | No L7 enforcement on Transit Gateway |
| Cloud Type | AWS Azure | AWS GovCloud Azure Government GCP OCI China CSPs |

## Related Topics

* [Site2Cloud External Connection Workflow](https://docs.aviatrix.com/docs/enterprise/8.2/guides/connectivity/vpn/s2c-configuration-workflow.md)
* [Creating Distributed Cloud Firewall Rules](https://legacy.docs.aviatrix.com/documentation/latest/security/dcf-create-rules.html)
* [Distributed Cloud Firewall Field Reference](https://legacy.docs.aviatrix.com/documentation/latest/security/dcf-rule-dialog-reference.html)
* [Aviatrix Integration with Microsoft's SSE Solution](https://docs.aviatrix.com/docs/enterprise/8.2/guides/connectivity/vpn/s2c-aviatrixgw-to-microsoft-entra.md)
* [Site2Cloud Configuration with External Devices](https://legacy.docs.aviatrix.com/documentation/latest/network/s2c-externaldevices.html)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.