> For the complete documentation index, see [llms.txt](https://docs.higiocloud.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.higiocloud.vn/network/3.-load-balancer/open-firewall-rule-to-public-service-to-internet.md).

# Open Firewall Rule To Public Service To Internet

## <mark style="color:green;">**Overview**</mark> <a href="#overview" id="overview"></a>

The default Edge gateway firewall rule on Tenant is set to **Deny all**. We must create firewall rules for traffic to virtual services from the internet. [More detail on edge way firewall.](/network/1.-working-with-network/using-edge-gateway-firewall.md)

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

{% tabs %}
{% tab title="I. Create IP set" %}
**Step 1:** Log in to the HI GIO PORTAL as an Organization Administrator and Navigate to&#x20;

**Step 2: Networking > Edge Gateway > Security > IP Sets.**

Press **NEW** to define the **IP Set for VIPs.**

* ***Name:** type IP Set name (example VIP-Web)*
* ***IP Address:** type IP Address or IP Range (this IP for VIP that was created before).*

<figure><img src="/files/d5DTY8nseqDqdENB8XfQ" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="II. Create an Edge Firewall Rule" %}
**Step 1:** Log in to the HI GIO PORTAL as an Organization Administrator and Navigate to&#x20;

**Networking > Edge Gateway > Services > Firewall.**

**Step 2:** Press **EDIT RULES** to add NEW RULE for VIP&#x73;**.**

<figure><img src="/files/tGS3Gnnp98dHupw5BL2g" alt=""><figcaption></figcaption></figure>

* ***Name:** type Rule name (example Allow\_VSWeb)*
* ***Applications:** choose your application types (example: HTTP and HTTPS)*
* ***Source:** Any (for internet users)*
* ***Destination:** Select **IP Set** configured before (example VS\_192.168.2.10)*
* ***Action:** Allow*

**Step 3:** Click **Save** to complete EDIT RULES

<figure><img src="/files/pCxYsyRrLA9toNg57bc5" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
In case we’re using a distributed firewall in our environment. we should create and distribute firewall rules for virtual service and pool
{% endhint %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.higiocloud.vn/network/3.-load-balancer/open-firewall-rule-to-public-service-to-internet.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
