Hi Team,
We are trying to use the free style and exclude the traffic from the logs. Though we configured using the below link we still see the logs in the syslog. May i know if this config is correct at all?
Configuring advanced syslog free-style fi... - Fortinet Community
We need to exclude complete subnet.
config log syslogd filter
config free-style
edit 1
set category traffic
set filter "srcip 10.0.0.0 255.255.255.0"
set filter-type exclude
next
end
end
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.
hi,
maybe try , set filter "srcip 10.0.0.*" or set filter "srcip 10.0.0.0 10.0.0.255"
i also have the same problem, this is not working :(
I set up
...
edit 3
set category traffic
set filter "srcip 192.168.234.*"
set filter-type exclude
next
tested, and it does work. FOS v7.2.8.
cool thanks ! however what if i want /30 instead of /24
Thank you @ede_pfau if i use 192.168.10.* then it will cover complete 192.168.10.0/24.
But what we need need subnets like /22, /26, /27. Not really sure why this is not working with the existing config though :(
config free-style
edit 3
set category traffic
set filter "srcip 192.168.234.1-192.168.234.62"
set filter-type exclude
next
end
This will exclude 192.168.234.0/26. That is, include explicit ranges of IPs.
Unfortunately, this also did not work :(
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.