Created
December 31, 2023 15:18
-
-
Save Torxsmind/8f96b4afaf36df41fceb327f93069c52 to your computer and use it in GitHub Desktop.
Create Windows firewall rules to allow Fortigate FSSO Collector inbound communications.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| https://community.fortinet.com/t5/FortiGate/Technical-Tip-List-of-TCP-and-UDP-ports-used-by-the-FSSO/ta-p/194130 | |
| UDP/8002 – DC Agent keepalive and push logon info to Collector Agent | |
| TCP/8001 – FortiGate to FSSO Collector Agent connection (SSL) | |
| TCP/8000 – FortiGate to FSSO Collector Agent connection | |
| TCP/8000 – NTLM | |
| #> | |
| $fgtIP = '192.168.0.1' | |
| $DCs = @('192.168.0.51', '192.168.0.52', '192.168.0.61', '192.168.0.62') | |
| New-NetFirewallRule -Action Allow ` | |
| -Description "Allow FortiGate to FSSO Collector Agent connection" ` | |
| -Direction Inbound ` | |
| -Enabled True ` | |
| -Group Fortinet_SSO ` | |
| -LocalPort 8000,8001 ` | |
| -DisplayName Fortinet-Allow-FGT_to_SSO_Collector ` | |
| -Protocol TCP ` | |
| -RemoteAddress $fgtIP ` | |
| New-NetFirewallRule -Action Allow ` | |
| -Description "DC Agent keepalive and push logon info to Collector Agent" ` | |
| -Direction Inbound ` | |
| -Enabled True ` | |
| -Group Fortinet_SSO ` | |
| -LocalPort 8002 ` | |
| -DisplayName Fortinet-Allow-DCAgent_to_SSO_Collector ` | |
| -Protocol UDP ` | |
| -RemoteAddress $DCs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment