Skip to main content
ataro
Explorer II
Jul 12, 2025 4:40 PM UTC
Solved

DCE-RPC for Active Directory Traffic

I am using Fortigate Firewalls between Windows clients and domain controllers. In this case by allowing DCE-RPC, does the firewall allow the required return sessions without allowing dynamic port range? What are the requirements like firmware, IPS etc?

funkylicious
SuperUser
Jul 15, 2025 2:54 PM UTC

config firewall service group
edit "Windows AD"
set member "DCE-RPC" "DNS" "KERBEROS" "LDAP" "LDAP_UDP" "SAMBA" "SMB"
next
end

 

L.E. i think once or twice i had to create a custom port range, 1024-65535 for TCP , but if any other ports are required, usually you can catch them in a deny rule which logs traffic or doing a debug.

"jack of all trades, master of none"

5 replies

sjoshi
Staff
Staff
Jul 12, 2025 4:44 PM UTC
Thanks, Salon
ataro
ataroAuthor
Explorer II
Jul 15, 2025 2:32 PM UTC

As per the article it seems like FG will allow dynamic traffic. Is there anyone practically implemented this for Windows systems between Domain Controller and Clients? That is, without allowing dynamic port range, all functionalities work fine for Active Directory?.

Translate
funkylicious
SuperUser
SuperUser
Jul 15, 2025 2:38 PM UTC

from my experience, using the service group built-in/default Windows AD is enough for devices to communicate with the DC.

Translate
"jack of all trades, master of none"
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024