# Fortigate IPS DoS configuration Sample
qvrexhqfw2 $ show ips DoS block_dos
config ips DoS
edit "block_dos"
config anomaly
edit "tcp_syn_flood"
set status enable
set log enable
set action block
set threshold 10
next
edit "tcp_port_scan"
set status enable
set log enable
set action block
set threshold 10
next
edit "tcp_src_session"
set status enable
set log enable
set action block
set threshold 10
next
edit "tcp_dst_session"
set status enable
set log enable
set action block
set threshold 10
next
edit "udp_flood"
set status enable
set log enable
set action block
set threshold 10
next
edit "udp_scan"
set status enable
set log enable
set action block
set threshold 10
next
edit "udp_src_session"
set status enable
set log enable
set action block
set threshold 10
next
edit "udp_dst_session"
set status enable
set log enable
set action block
set threshold 10
next
edit "icmp_flood"
set status enable
set log enable
set action block
set threshold 10
next
edit "icmp_sweep"
set status enable
set log enable
set action block
set threshold 10
next
edit "icmp_src_session"
set status enable
set log enable
set action block
set threshold 10
next
edit "icmp_dst_session"
set status enable
set log enable
set action block
set threshold 10
next
edit "ip_src_session"
set status enable
set log enable
set action block
set threshold 10
next
edit "ip_dst_session"
set status enable
set log enable
set action block
set threshold 10
next
end
next
end
qvrexhqfw2 $ sh firewall interface-policy
config firewall interface-policy
edit 1
set interface "dmz"
set srcaddr "all"
set dstaddr "all"
set service "ANY"
set ips-DoS-status enable
set ips-DoS "block_dos"
next
end