FortiOS 7.4 Hardening, Zaafiyet ve NPU Analiz Motoru (fortinet.yukaruc.tech)
// 01. SİSTEM, PERFORMANS, CPU/RAM VE CRASHLOG ANALİZİ
get system status
get system performance status
diagnose sys top 2 20
diagnose sys top-mem 20
diagnose debug crashlog read
execute tac report
// 02. PAKET AKIŞ ANALİZİ (DEBUG FLOW) & CANLI SNIFFER (TCPDUMP)
diagnose debug reset
diagnose debug flow filter addr <Hedef_IP>
diagnose debug flow show function-name enable
diagnose debug flow show iprope enable
diagnose debug flow trace start 100
diagnose debug enable
# Canlı Paket Yakalama (Sniffer - Verbose Level 4 + Interface Name):
diagnose sniffer packet any "host <IP> and port 443" 4 0 l
// 03. HARDWARE ACCELERATION (NP7 / NP6 / SPU OFFLOAD) & SESSION TABLOSU
diagnose sys session stat
diagnose sys session filter dst <Hedef_IP>
diagnose sys session list | grep -E "npu|no_ofld_reason"
diagnose npu np7 pdq
diagnose npu np7 dce-drop-all
get hardware npu np6 port-list
// 04. IPSEC IKEv2 & SSL-VPN TEŞHİS KOMUTLARI
get vpn ipsec tunnel summary
diagnose vpn ike gateway list
diagnose vpn tunnel list
diagnose debug application ike -1
diagnose debug application sslvpn -1
diagnose debug application fnbamd -1
diagnose debug enable
// 05. ROUTING, BGP, OSPF & SD-WAN HEALTH-CHECK
get router info routing-table all
get router info routing-table details <IP_Adresi>
get router info bgp summary
get router info ospf neighbor
diagnose sys sdwan health-check
diagnose sys sdwan service4
diagnose ip arp list
[NEDEN GÖÇ EDİLMELİ?] FORTIOS 7.4+ SSL-VPN DEPRECATION & PSIRT RİSKLERİ
Fortinet, FortiOS 7.4 "SSL VPN to IPsec VPN Migration" rehberi doğrultusunda uzaktan erişim mimarisinde SSL-VPN yerine IPsec IKEv2 Dial-up VPN kullanımını standart haline getirmiştir. IPsec IKEv2; NP7/NP6 çipleriyle tam donanım hızlandırması (SPU Offload) sunar ve FortiOS 7.4 ile gelen TCP Port 443 Kapsüllemesi (transport udp-fallback-tcp) sayesinde kısıtlı misafir/otel ağlarında bile kesintisiz çalışır.
# FortiOS 7.4 Örnek IPsec IKEv2 Dial-Up (TCP 443 Fallback Destekli) Konfigürasyonu:
config vpn ipsec phase1-interface
edit "IKEv2_Dialup_Corporate"
set type dynamic
set interface "wan1"
set ike-version 2
set peertype any
set net-device disable
set mode-cfg enable
set proposal aes256gcm-prfsha384 aes256-sha256
set dhgrp 20 19 14
set eap enable
set eap-identity send-request
set transport udp-fallback-tcp
set ipv4-start-ip 10.212.134.10
set ipv4-end-ip 10.212.134.200
set ipv4-netmask 255.255.255.0
set dns-mode auto
set dpd on-idle
next
end
config vpn ipsec phase2-interface
edit "IKEv2_Dialup_Corporate_P2"
set phase1name "IKEv2_Dialup_Corporate"
set proposal aes256gcm aes256-sha256
set pfs enable
set dhgrp 20 19 14
next
end