Playing with Fortigate #2271
Replies: 6 comments 19 replies
-
I know at least @melvync did (based on #1933). At that time, I set up a FortiOS instance with an evaluation license, fixed the tasks, and never started it again.
That's interesting. IIRC, at the time when I was fixing the |
Beta Was this translation helpful? Give feedback.
-
I've created this PR to fix the weird MTU behaviour I saw, by forcing it to 1500, if not set in the interface parameters and refresh the docs regarding the licensing with the current latest version. |
Beta Was this translation helpful? Give feedback.
-
Still playing with the Fortigate... (I know I should stop and move on 😄) I have now got a local branch working with the separate vdom for management and traffic.
It works great if I add the With the limitation of 3 interfaces, one being the management, it doesn't leave much space for a loopback interface if you wanted to connect your fw 'in-line'. In the topology I am planning to use, the FW would have the management interface, and 2 interfaces connected: north and south. @ssasso @ipspace which option do you think is best:
|
Beta Was this translation helpful? Give feedback.
-
I think I have an idea so that someone could use either type of vagrant box, the one with multi-vdom, or the single vdom one. This way it won't be a breaking change. By default the vdom we will use everywhere will be the vdom If you think this is a good idea, I would just need some help on how can I add a new variable to the node parameters, so that I can use it in the playbook? Unless there is a different way I am not aware of to achieve this. In the topology file I would envision something like this: nodes:
fw1:
device: fortios
module: [ ospf ]
libvirt.uuid: xxxxx
data_vdom: "netlab" # if not set, it will default to "root" and I should then be able to use it in the vdom: "root"
data_vdom: "root" so the data_vdom is either I could potentially investigate in the future the Fortigate ansible module, to see how I could configure the fortigate to take this variable into account and enable multi-vdom, and if not, to disable it... then the default box would work directly. |
Beta Was this translation helpful? Give feedback.
-
@sdargoeuves thanks for digging into this! If you have time and willingness to experiment a bit more, I would suggest:
|
Beta Was this translation helpful? Give feedback.
-
I'm quite happy with how it currently works: PR:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I don't know how many users are using fortigate in their netlab environment? I know @petercrocker did, and it was time I started to play with it myself. I'll be curious to understand what version is being used, as I downloaded
7.4.7
and realised their Permanent trial mode is quite restrictive: 3 interfaces max 🫤.❤️ Thanks to this fix: being able to NOT have a loopback, means I can connect my firewall to 2 devices 🥳!
Maybe a version prior to
7.2.1
with the 15-day trial license is more usable... but it will be quite annoying to have to rebuild the vagrant box frequently.Anyway, so far so good with the
7.4.7
despite the restrictions, I need to understand better the rest of the restrictions to make my mind up!Beta Was this translation helpful? Give feedback.
All reactions