Fortigate- Local in Policy + Bulk Addresses

Last updated on March 26th, 2018 at 08:59 am

Step 1:
—Create Bulk ip addresses in Microsoft Word—

PingDom_Bulk.txt

Step 2:

—Insert Bulk Addresses from web gui—

Step 3:
—Open SSH and run commands—
For Example:

config firewall local-in-policy
edit 2
set intf Be
set srcaddr PingMonitor
set dstaddr all
set service PING
set schedule always
set status enable
set action accept
set auto-asic-offload disable
next
edit 20
set intf Be
set srcaddr all
set dstaddr all
set action deny
set service PING
set schedule always
set auto-asic-offload disable
set status enable
next
end
config firewall local-in-policy
edit 1
set intf Cel
set srcaddr PingMonitor
set dstaddr all
set service PING
set schedule always
set status enable
set action accept
set auto-asic-offload disable
next
edit 10
set intf Cel
set srcaddr all
set dstaddr all
set action deny
set service PING
set schedule always
set auto-asic-offload disable
set status enable
next
end

Leave a comment

Your email address will not be published. Required fields are marked *