fortigate

Using DHCP to deliver static routes

According to RFC 3442, we can assign static routes using DHCP option 121. This is a very useful resource in all kind of environments, but most people doesn’t know about it. Basically, using option 121 on your DHCP server, you can deliver static routes to dhcp-clients. Let’s see how to do this using Mikrotik: ip dhcp-server option add code=121 name=route_192.168.11 value=0x18c0a80ba010101 And set this option in your network config: /ip dhcp-server network add address=192.

Managing FortiOS with Terraform

You want to manage your FortiOS device like Fortigate using a more reliable and a “zero-touch” environment. The Fortinet’s main goal with this provider, I guess, is for those who want to fully automate their environments on AWS, Azure, GCP or another cloud provider. But you can use this provider to maintain your Fortigate box as well in a very efficient way I must say. Yeah, I know, Ansible. Maybe It’s a better way to do this kind of management with Ansible, but I just want to show you that it is possible to do it in a different way.