# pfSense Firewall

## Rules

Now that we have the network setup, its time to setup some basic firewall rules to ensure that users are not able to pivot into our main network.

![](https://1937192737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObuEPM0wMmlYGGoxYCbD%2Fuploads%2FxnzmP8f8TxF1GD4Yeknz%2Fimage.png?alt=media\&token=03c11258-cc58-41a2-b69a-35b1e8d17f14)

I also have created a VPN server to enable users from external networks to practice pentesting the network together with me. I'll be creating another rule for that network as shown below.

![](https://1937192737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObuEPM0wMmlYGGoxYCbD%2Fuploads%2FqhojCD2zaBAs6g3sHGot%2Fimage.png?alt=media\&token=bfc115bb-e78d-4525-96bd-3e1fd9da1605)


---

# 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://ad.4pfsec.com/network-setup/pfsense-firewall.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.
