# Create Pfsense App

To launch the application, follow these steps:

**Step 1: Select the application name and version**

**Step 2: Choose an Instance type** (a combination of CPU, RAM, and GPU)

**Step 3: Choose Volume settings**

**Step 4: Choose Network settings**, including the following actions:

* Select a VPC for the application.
* Choose the priority order for the External and Internal network interfaces. Note that these interfaces will be arranged exactly in the order you enter them.
* Choose Security settings: Select "New security group rules" to create a new group with specific parameters for your application, or select "Existing security group" to inherit rules from an existing group.

**Step 5: Choose Server Group settings**

* To enable high availability (HA) for your firewall servers, select "Dedicated SOFT ANTI AFFINITY group" to create a new server group for your firewall application, or select "Existing server group" if it already exists.

**After the virtual machine has been provisioned, modify the Security Group to open the following ports for the virtual machine:**

* **Access via vServer Console (from web portal):** By default, the password is left blank.
* **Configure SSH/Web access (from web portal):** By default, you will log in with a blank password, then the application will redirect you to the password change page. Please change the password immediately (leave the Old Password blank).

**Note:** Marketplace applications will launch within a few minutes.

**Configure the interface via Console**

* **Assign Interface:**
  * Assign WAN: vtnet0
  * Assign LAN: vtnet1
* **Assign IP to LAN network:**
  * Get the IP assigned on the Portal to assign to the LAN interface.
* **Assign IP to the interface:**
  * The Pfsense Local IP is [https://LocalIP/](https://localip/)


---

# Agent Instructions: 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:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vserver/vmarketplace/network-software-installation/pfsense-on-hcm03/create-pfsense-app.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
