FortiGate

Download 230
Last updated Aug 6, 2023

fortigate-kill-session

Close specified network session on the FortiGate device. Requires 'System Configuration' permission.

fortigate-kill-session src=SRC srcport=SRCPORT dst=DST dstport=DSTPORT protocol=PROTOCOL
src=SRC
Source IP address
srcport=SRCPORT
Source port
dst=DST
Destination IP address
dstport=DSTPORT
Destination port
protocol=PROTOCOL
tcp or udp