Blog Archives

Just thought I’d drop a post on a compatability issue which caused a lot of hassle for us. Problem: Problems establishing site to site VPN between FortiGate 1500D and Check Point 1430 appliance with Gaia embedded. Error: Main Mode Sent Notification to Peer: payload malformed – possibly a mismatch in pre-shared keys Background: We were […]

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 […]

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 “10.200.10.50” set user “fortibackup” set passwd “YourPassword” set directory “/home/fortibackup” set week_days sunday set time “23:00:00” set crptpasswd “CryptoKeyForYourBackup” end A […]

In order to enable the use of scripts, you have to enable it in FortiManager. You can run scripts directly to a FortiGate, Device Database or you can run it on a policy package. The following guide is for version 5.4 Enable script in FortiManager Go to System Settings > Admin Settings and tick off […]

When adding devices to your FortiManager using scripts, you can set the color of the object. I did not find any documentation for what color ID matches the actual color in the FortiManager. So I created this script and ran it in order to create objects in all the different colors config firewall address edit […]