Hi Everyone,
Currently i'm adding people to the Quarantine section of my 100D (5.6.x) by finding the ip in the Forward Traffic, but i wonder if there's a way to add IP's that haven't shown in the forward traffic via the command line?
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.
This KB article shows how you can add IPs via the CLI.
The below example will ban 10.0.1.111 for one hour:
diagnose user quarantine add src4 10.0.1.111 3600 admin
You could add these in a text file, and then upload them to the FortiGate all at once (System > Advanced > Configuration Scripts).
If i wanted them on a perma ban, is there a number for this?
As for the txt file, would i just repeat the command on each line?
solidblueliquid wrote:I know this is old, but it wasn't answered:If i wanted them on a perma ban, is there a number for this?
instead of 3600 for 1 hour, enter: indefinite or try 0
Hi Everyone..
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 |
---|---|
1661 | |
1077 | |
752 | |
443 | |
220 |
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.