By Manny Fernandez

May 27, 2020

Separate VRF for Out-of-Band Management in FortiOS

Separate VRF for Out-of-Band Management in FortiOS

I am currently running FortiOS 6.4 on this FortiGate.  The use case is to have an out-of-band interface that points to a separate routing table or in this case, a VRF which stands for Virtual Routing and Forwarding.  In my scenario I will create one interface port22 as the out-of-band interface.   I configured a fake IP address and routed to a fake network just for this article.

2020-05-23_19-47-27

Here you can see the standard interface configuration.  The only difference is the addition of the set vrf 1 statement.

Note: The default VRF is 0.

Essentially anything routed across via this interface, will be part of VRF1.

2020-05-23_19-48-18

Here we can see entry 5 where I am creating a static route to 10.200.200.0/24 with a gateway of 1.1.1.2 and the device is port22 (This route is now part of VRF1).

When we look at the routing table, we can see the two routes.

2020-05-23_19-46-34

by issuing the get route info routing-table all you can see that there is a route to 10.200.200.0/24 via 1.1.1.2 under the VRF=1 section.

Note: See the default routing table which is VRF=0.

Hope this helps.

Netkit telnetd CVE-2026-141380: Find It, Kill It, and Fence It Off

Netkit telnetd CVE-2026-141380: Find It, Kill It, and Fence It Off

Netkit telnetd CVE-2026-141380 gives attackers pre-auth root on Debian, Ubuntu and Kali. Find exposed hosts, remove telnetd and block it on FortiGate.

Read More
FortiGate SSH Public Key Authentication: Every Check It Runs and How to Lock It Down

FortiGate SSH Public Key Authentication: Every Check It Runs and How to Lock It Down

Set up FortiGate SSH public key login, learn every check the FortiGate runs during it, and close the password path that stays open by...

Read More
AI Data Leakage: Myths, Reality, and Locking It Down With Local Models

AI Data Leakage: Myths, Reality, and Locking It Down With Local Models

Learn what AI data leakage really means, which myths to ignore, and how to lock down local models with Ollama, host firewalls and FortiGate...

Read More