# Block a Browser

## Step 1: Name your Rule

When naming your firewall it is best practice to use a name that encapsulates the rule.&#x20;

Example:

<div align="left"><img src="https://374896401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV6MMrAUfaxxHHZ312kIp%2Fuploads%2FfXDApaJO76fhp1w0LpyV%2Fname%20block%20browser.png?alt=media&#x26;token=e555bf65-53dd-4400-88e6-0a31a51b080c" alt=""></div>

## Step 2: Set Matching Rule

The fields below reflect a rule that applies to the United States.&#x20;

{% hint style="info" %}
Hint: Use your browser and search up your browsers user agent.
{% endhint %}

Example:

{% hint style="info" %}
Expression: (ip.geoip.country eq "US")
{% endhint %}

![](https://374896401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV6MMrAUfaxxHHZ312kIp%2Fuploads%2Fum8OWc4veYPGSPhIzTdZ%2Fimage.png?alt=media\&token=ea6f8d14-69ed-4639-b411-dd912c61749e)

## Step 3: Select Action

This block action will be executed with every request matching the fields above.

Example:

<div align="left"><img src="https://374896401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV6MMrAUfaxxHHZ312kIp%2Fuploads%2FnbHbsMI0b2MuDwRWvARl%2Fblockaction.PNG?alt=media&#x26;token=41c3718a-c081-4824-8130-68f088caaf9d" alt=""></div>

## Step 4: Deploy Rule

Select Deploy firewall rule to have all your changes reflect instantly. &#x20;

<div align="left"><img src="https://374896401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV6MMrAUfaxxHHZ312kIp%2Fuploads%2FEOszKLHYR9m8sglzAYa6%2FDeploy%20Rule.PNG?alt=media&#x26;token=bbddad56-f48d-42d6-9e9c-74560a5f9831" alt=""></div>

## Step 5:Check Rule Deployment

Client View: Visit host from a device that matches the rules.\
Example:

<div align="left"><img src="https://374896401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV6MMrAUfaxxHHZ312kIp%2Fuploads%2FHiTkxjXcTfLIsPNoxTHb%2Fclientview%20blocked.PNG?alt=media&#x26;token=1a2153d1-aa6c-43ed-9d78-9a1fe878a1ff" alt=""></div>
