This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
voice:pbx:freepbx:freepbx_firewall [2020/10/07 09:51] gcooper |
voice:pbx:freepbx:freepbx_firewall [2024/02/06 09:27] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== FreePBX Security ====== | ====== FreePBX Security ====== | ||
+ | **Background**: | ||
- | **Responsive Firewall | + | **Pro Tips Video**: https://www.youtube.com/watch?v=CD_k5PrY7Xc |
- | **Responsive Firewall HowTo**: http:// | + | **Setup Guide**: https:// |
- | **Overview**: | + | ===== Safe Mode ===== |
- | **Getting Started**: http://wiki.freepbx.org/ | + | <note important> |
- | **Permissions**: http://wiki.freepbx.org/ | + | The **firewall rules activation will be delayed by five minutes** to allow an admin to fix the access problem.</note> |
- | **Responsive Firewall**: http:// | + | ===== Firewall |
- | ===== Safe Mode ===== | + | **Basic Firewall Configuration - Watch First**: https:// |
+ | |||
+ | Run the **Firewall Wizard**: | ||
+ | |||
+ | **FreePBX -> Connectivity -> Firewall -> Settings (tab) -> Re-Run Wizard** | ||
+ | |||
+ | * Whitelist Host? -> **Yes** | ||
+ | * Whitelist Network? -> **No** | ||
+ | * Enable Responsive Firewall? -> **Yes** | ||
+ | * Automatically configure Asterisk IP Settings? -> **Yes** | ||
+ | |||
+ | **FreePBX -> Connectivity -> Firewall -> Networks (tab)** | ||
+ | |||
+ | :!: This tab overrides the default permission for an interface. | ||
+ | |||
+ | * **Trusted** -> Only add trusted **admin** IP, network or FQDN | ||
+ | * **Local** -> Add IP, network or FQDN for **normal voice traffic** (where phones are) | ||
+ | |||
+ | **FreePBX -> Connectivity -> Firewall -> Interfaces (tab)** | ||
+ | |||
+ | :!: This tab sets the **Default Traffic Zones**. | ||
+ | |||
+ | * You must set at least one interface as **Internet** | ||
+ | * Single-interface systems will be set as **Internet** ('' | ||
+ | * '' | ||
+ | |||
+ | **FreePBX -> Connectivity -> Firewall -> Responsive Firewall (tab)** | ||
+ | |||
+ | * Enable for any protocol in use | ||
+ | * This will open ports for limited access | ||
+ | * Too many failures will result in that IP being blocked | ||
+ | |||
+ | **FreePBX -> Connectivity -> Firewall -> Intrusion Detection (tab)** | ||
- | <note important> | + | |
+ | | ||
===== Older Suggested Firewall Example ===== | ===== Older Suggested Firewall Example ===== |