###### tags: `資安` `fortinet` `fortigate` `環境建置` Initial login admin / [empty] # Initial CLI settings #show system interface - check system interface #config system interface - set system interface #edit port1 - edit port 1 #set mode static - ip set to static #set ip 192.168.58.100/24 (vmware host only) - set ip #set allowaccess ping http https ssh fgfm - set service to allow #show - check settings #end - apply settings #execute reboot - reboot http or ssh can connect to fortigate fortigate 6 Evaluation license has expired. Upload a new license. Expired on 1969/12/31 sol. #execute factoryreset # Port Forwarding >Policy & Objects (left) >Virtual IPs >Create Virtual IP External IP set to 0.0.0.0 Mapped IP address set internal IP you are forwarding to. >Enable port forwarding >type the port you want to forward Create Policy allow port forwarding traffic >Policy & Objects (left) >Firewall policy >Create New >Source : all >Destination assign Virtual IP >Service : all >Action : accept >(NAT:disable)