An example policy is configured as below:
With same source address, but different destination address - top is FQDN, bottom is Internet Service
Example:
Policy Order # 1:
set srcintf "port4"
set dstintf "port2"
set srcaddr "group"
set dstaddr "*.google.com"
Policy Order #2:
set srcintf "port4"
set dstintf "port2"
set srcaddr "group"
set internet-service enable
set internet-service-name "Google_InternetService"
The traffic is passing through bottom policy #2 if I visit an IP which resolves to a *.google.com, even if there is Policy Order # 1.
Why is that so?
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hello,
Based on the query I believe the second policy with ISDB gets the hit because these are predefined services in the ISDB.
whereas
For wildcard FQDN addresses to work, the FortiGate should allow DNS traffic to pass through.
Initially, the wildcard FQDN object is empty and contains no addresses. When the client tries to resolve a FQDN address, the FortiGate will analyze the DNS response. The IP addresses contained in the answer section of the DNS response will be added to the corresponding wildcard FQDN object.
>>You can test out again by checking if the wildcard address being used has resolved to IPs and shows the list,
# diagnose firewall fqdn list
# diagnose firewall iprope list 100004 --->use this command to check the IP which has resolved for the *google.com and it has the list on it
Cross check using this details on the forward traffic logs for the traffic and verify if the iprope list and fqdn list has the IP in it
Regards
Elangkajan K
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1732 | |
1106 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.