Multiple commands in auto-script / set script-variable

Just a quick note about the auto-script functionality and how to run multiple commands, because this had me stomped on a Monday morning. (Thank you FortiNet for your sparse documentation) There is no fancy solution, no special new line characters, no encapsulating the commands in quatation marks and separating them by a delimiter or anything […]

Automated backup of Forti -Gate, -Manager & -Analyzer

Just a quick note on how to automate backup of your FortiGate, FortiAnalyzer and FortiManager. FortiManager / FortiAnalyzer Use the following configuration config system backup all-settings set status enable set protocol sftp set server “” set user “fortibackup” set passwd “YourPassword” set directory “/home/fortibackup” set week_days sunday set time “23:00:00” set crptpasswd “CryptoKeyForYourBackup” end A […]

Check Point and GRUB-problems

This post serves more as a reminder to myself about Grub rather than providing new and exciting information. The /boot/grub/grub.conf file is either empty, or corrupted. Check Point FW boots into grub command prompt – Manual boot If all you can see is a grub command prompt you need to do the following to manually […]

Failing to transfer image to Cisco CAP

When trying to load an image from tftp on your computer, the lightweight AP reverts its interfaces to DHCP because it is not able to find a controller. This happen when either archive download-sw or ordinary copy tftp flash It gives off the following error CAPWAP-3-STATIC_TO_DHCP_IP: Could not discover WLC using static IP. Forcing AP […]

How to show mac addresses in TCPdump

Just a quick tip on how to display MAC addresses in the TCPdump utility. Simply use the “-e” switch. tcpdump -i INTERFACENAME -e Without the -e switch: [CheckPoint]# tcpdump -i bond2.100 -n 12:28:42.257902 IP > . ack 1831 win 513 12:28:42.258620 IP > P 1:286(285) ack 1831 win 513 With the […]