pfsense:install_pfsense:create_firewall_rules
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pfsense:install_pfsense:create_firewall_rules [2021/01/05 17:48] – [Deny traffic to other internal interfaces] peter | pfsense:install_pfsense:create_firewall_rules [2022/10/20 09:12] (current) – [IOT Firewall Rules] peter | ||
---|---|---|---|
Line 12: | Line 12: | ||
====== LAN Firewall Rules ====== | ====== LAN Firewall Rules ====== | ||
+ | |||
+ | Navigate to **Firewall -> Rules -> LAN**. | ||
LAN Firewall rules will cover: | LAN Firewall rules will cover: | ||
Line 79: | Line 81: | ||
====== CLEAR Firewall Rules ====== | ====== CLEAR Firewall Rules ====== | ||
+ | |||
+ | Navigate to **Firewall -> Rules -> CLEAR**. | ||
The requirements for this interface are: | The requirements for this interface are: | ||
Line 142: | Line 146: | ||
====== IOT Firewall Rules ====== | ====== IOT Firewall Rules ====== | ||
+ | |||
+ | Navigate to **Firewall -> Rules -> IOT**. | ||
IOT devices should be prevented from accessing anything that is not-essential to them. | IOT devices should be prevented from accessing anything that is not-essential to them. | ||
Line 148: | Line 154: | ||
* Allow ICMP pings to facilitate debugging. | * Allow ICMP pings to facilitate debugging. | ||
+ | * Redirect any non-local DNS lookups. | ||
+ | * Redirect any non-local NTP time lookups. | ||
* Deny traffic to other internal interfaces. | * Deny traffic to other internal interfaces. | ||
* Deny traffic to any local networks. | * Deny traffic to any local networks. | ||
* Allow internet traffic via default gateway. | * Allow internet traffic via default gateway. | ||
- | * Redirect any non-local DNS lookups. | ||
- | * Redirect any non-local NTP time lookups. | ||
* Reject any other traffic. | * Reject any other traffic. | ||
Line 170: | Line 176: | ||
* Log: **Not Checked**. | * Log: **Not Checked**. | ||
* Description: | * Description: | ||
- | |||
- | ---- | ||
- | |||
- | ===== Reject traffic to other internal interfaces ===== | ||
- | |||
- | Navigate to **Firewall -> Rules**. | ||
- | |||
- | Click **IOT**. | ||
- | |||
- | * Click **↴+Add**. | ||
- | * Action: | ||
- | * Disabled: | ||
- | * Interface: | ||
- | * Address Family: | ||
- | * Protocol: | ||
- | * Source: | ||
- | * Destination: | ||
- | * Invert match: | ||
- | * **Single host or alias**. | ||
- | * Address: | ||
- | * Destination Port Range: | ||
- | * From: **Any**. | ||
- | * To: **Any**. | ||
- | * Log: **Not Checked**. | ||
- | * Description: | ||
- | * Click **Save**. | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | </ | ||
---- | ---- | ||
Line 276: | Line 252: | ||
There should be two rules created for the NTP and DNS redirects at the bottom. | There should be two rules created for the NTP and DNS redirects at the bottom. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Reject traffic to other internal interfaces ===== | ||
+ | |||
+ | Navigate to **Firewall -> Rules**. | ||
+ | |||
+ | Click **IOT**. | ||
+ | |||
+ | * Click **↴+Add**. | ||
+ | * Action: | ||
+ | * Disabled: | ||
+ | * Interface: | ||
+ | * Address Family: | ||
+ | * Protocol: | ||
+ | * Source: | ||
+ | * Destination: | ||
+ | * Invert match: | ||
+ | * **Single host or alias**. | ||
+ | * Address: | ||
+ | * Destination Port Range: | ||
+ | * From: **Any**. | ||
+ | * To: **Any**. | ||
+ | * Log: **Not Checked**. | ||
+ | * Description: | ||
+ | * Click **Save**. | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
---- | ---- | ||
Line 296: | Line 302: | ||
* To: **Any**. | * To: **Any**. | ||
* Log: **Not Checked**. | * Log: **Not Checked**. | ||
- | * Description: | + | * Description: |
* Click **Save**. | * Click **Save**. | ||
Line 338: | Line 344: | ||
**NOTE: | **NOTE: | ||
</ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | The final ruleset for the IOT will be: | ||
+ | |||
+ | {{: | ||
---- | ---- | ||
Line 388: | Line 401: | ||
* Source: | * Source: | ||
* Destination: | * Destination: | ||
- | * Invert match: | + | * Invert match: |
* **Single host or alias**. | * **Single host or alias**. | ||
* Address: | * Address: | ||
Line 394: | Line 407: | ||
* From: **Any**. | * From: **Any**. | ||
* To: **Any**. | * To: **Any**. | ||
- | * Log: **Not Checked**. | + | * Log: **Checked**. |
* Description: | * Description: | ||
* Click **Save**. | * Click **Save**. | ||
Line 409: | Line 422: | ||
* Interface: | * Interface: | ||
* Address Family: | * Address Family: | ||
- | * Protocol: | + | * Protocol: |
* Source: | * Source: | ||
- | * Destination | + | * Destination: |
- | * Invert match: | + | |
- | * **Single host or alias**. | + | |
- | * Address: | + | |
- | * Destination Port Range: | + | |
- | * From: **Any**. | + | |
- | * To: **Any**. | + | |
* Log: **Not Checked**. | * Log: **Not Checked**. | ||
- | * Description: | + | * Description: |
* Click **Save**. | * Click **Save**. | ||
Line 429: | Line 436: | ||
---- | ---- | ||
- | ===== Block unknown IPv4 ===== | + | The final ruleset for the GUEST will be: |
- | * Click **↴+Add** | + | {{:pfsense:install_pfsense:pfsense_-_firewall_-_rules_-_guest.png?800|}} |
- | * Action: | + | |
- | * Disabled: **Not Checked**. | + | |
- | * Interface: | + | |
- | * Address Family: | + | |
- | * Protocol: | + | |
- | * Source = **Any**. | + | |
- | * Destination: | + | |
- | * Log: **Checked**. | + | |
- | * Description: | + | |
- | * Click **Save**. | + | |
- | + | ||
- | <WRAP info> | + | |
- | **NOTE: | + | |
- | </ | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | ===== Block unknown IPv6 ===== | + | |
- | + | ||
- | * Click **↴+Add**. | + | |
- | * Action: | + | |
- | * Disabled: | + | |
- | * Interface: | + | |
- | * Address Family: | + | |
- | * Protocol: | + | |
- | * Source: | + | |
- | * Destination: | + | |
- | * Log: **Not Checked**. | + | |
- | * Description: | + | |
- | * Click **Save**. | + | |
- | + | ||
- | <WRAP info> | + | |
- | **NOTE: | + | |
- | </ | + | |
---- | ---- |
pfsense/install_pfsense/create_firewall_rules.1609868905.txt.gz · Last modified: 2021/01/05 17:48 by peter