pfsense:pfblockerng:install_pfblockerng:setup_dnsbl_blocking
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
pfsense:pfblockerng:install_pfblockerng:setup_dnsbl_blocking [2021/01/28 10:44] – created peter | pfsense:pfblockerng:install_pfblockerng:setup_dnsbl_blocking [2023/04/22 09:22] (current) – [Enable DNSBL] peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PFSense - pfBlockerNG - Install pfBlockerNG - Setup DNSBL Blocking ====== | ====== PFSense - pfBlockerNG - Install pfBlockerNG - Setup DNSBL Blocking ====== | ||
+ | ===== Enable DNSBL ===== | ||
+ | |||
+ | Navigate to **Firewall -> pfBlockerNG -> DNSBL**. | ||
+ | |||
+ | In **DNSBL**: | ||
+ | |||
+ | * Enable DNSBL: | ||
+ | * Wildcard Blocking (TLD): | ||
+ | |||
+ | <WRAP warning> | ||
+ | **WARNING: | ||
+ | |||
+ | Do not enable this on systems with less than 8GB RAM! | ||
+ | |||
+ | This setting enables additional processing to block ALL sub-domains for advanced blocking. | ||
+ | |||
+ | For example, a list with sharewiz.net would also result in blog.sharewiz.net also being blocked if TLD is enabled. | ||
+ | |||
+ | </ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | In **DNSBL Webserver Configuration**: | ||
+ | |||
+ | * Virtual IP Address: **10.10.10.1**. | ||
+ | * VIP Address Type: **IP Alias**. | ||
+ | * Port: **8081**. The default. | ||
+ | * SSL Port: **8443**. | ||
+ | * Webserver Interface: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | In **DNSBL Configuration**: | ||
+ | |||
+ | * Permit Firewall Rules: | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** | ||
+ | |||
+ | * If you ONLY have one LAN interface, leave this setting unchecked. | ||
+ | * If you have multiple LAN interfaces, check this setting and select each interface to protect. | ||
+ | |||
+ | </ | ||
+ | |||
+ | * Scroll to the bottom of the page and click the **Save** button. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | In **DNSBL Whitelist**: | ||
+ | |||
+ | * See [[PFSense: | ||
+ | * Enter the following white-list domains and modify as you like: | ||
+ | * < | ||
+ | .play.google.com | ||
+ | .drive.google.com | ||
+ | .accounts.google.com | ||
+ | .www.google.com | ||
+ | .github.com | ||
+ | .outlook.live.com | ||
+ | .edge-live.outlook.office.com # CNAME for (outlook.live.com) | ||
+ | .outlook.ha-live.office365.com # CNAME for (outlook.live.com) | ||
+ | .outlook.ha.office365.com # CNAME for (outlook.live.com) | ||
+ | .outlook.ms-acdc.office.com # CNAME for (outlook.live.com) | ||
+ | .amazonaws.com | ||
+ | .login.live.com | ||
+ | .login.msa.akadns6.net # CNAME for (login.live.com) | ||
+ | .ipv4.login.msa.akadns6.net # CNAME for (login.live.com) | ||
+ | .mail.google.com | ||
+ | .googlemail.l.google.com # CNAME for (mail.google.com) | ||
+ | .pbs.twimg.com | ||
+ | .wildcard.twimg.com # CNAME for (pbs.twimg.com) | ||
+ | .sites.google.com | ||
+ | .www3.l.google.com # CNAME for (sites.google.com) | ||
+ | .docs.google.com | ||
+ | .mobile.free.fr | ||
+ | .plus.google.com | ||
+ | .samsungcloudsolution.net | ||
+ | .samsungelectronics.com | ||
+ | .icloud.com | ||
+ | .microsoft.com | ||
+ | .windows.com | ||
+ | .skype.com | ||
+ | .googleusercontent.com | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | In **DNSBL IPs**: | ||
+ | |||
+ | * List Action: **Deny Both**. | ||
+ | * Enable Logging: **Enable**. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | Scroll to the bottom of the page and click the **Save** button. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Setup DNSBL EasyLists ===== | ||
+ | |||
+ | Navigate to **Firewall -> pfBlockerNG -> Feeds**. | ||
+ | |||
+ | Scroll down to the **DNSBL Category** section. | ||
+ | |||
+ | Select the **Easylist** by clicking on the **+** key towards the left side. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Set EasyList Feeds to: | ||
+ | |||
+ | * State: **ON** | ||
+ | * Action: **Unbound** | ||
+ | * Update Frequency: **Once per day** | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Scroll to the bottom of the page and click the **Save** button. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Setup Custom DNSBL Lists ===== | ||
+ | |||
+ | See [[PFSense: | ||
+ | |||
+ | Navigate to **Firewall -> pfBlockerNG -> DNSBL -> DNSBL Groups**. | ||
+ | |||
+ | Click the **Add** button. | ||
+ | |||
+ | Give it a **Name** and **Description**. | ||
+ | |||
+ | Add in as many **DNSBL Source Definitions** as needed. | ||
+ | |||
+ | Set: | ||
+ | |||
+ | * State: **ON** | ||
+ | * Action: **Unbound** | ||
+ | * Update Frequency: **Once per day** | ||
+ | |||
+ | For Example: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Return to [[PFSense: | ||
+ | |||
+ | ---- |
pfsense/pfblockerng/install_pfblockerng/setup_dnsbl_blocking.1611830694.txt.gz · Last modified: 2021/01/28 10:44 by peter