Created on
10-23-2023
11:49 PM
Edited on
08-26-2025
07:35 AM
By
Stephen_G
Description |
This article describes how it is possible to configure VRF route leak and have an internet connection. |
Scope | FortiOS version 7.0 or higher. |
Solution |
PC1---VRF10----FGT-----wan1--VRF0
config system global set vdom-mode multi-vdom end
Software VDOM link:
v7.0.x and later - not required:
config system vdom-link
NPU vdom link:
v7.4.x and below - required. v7.6.1 and later - not required.
config system global set single-vdom-npuvlink enable end
FG101E-2 (vdom) # edit root current vf=root:0 FG101E-2 (root) # config system settings FG101E-2 (settings) # set allow-subnet-overlap enable <----- Only allows to configuration of the same subnet on different interfaces. Cannot use the same subnet on different VRFs. FG101E-2 (settings) # end
The configuration of the interfaces looks as follows:
Creating Firewall policies:
In this example as port 1 is VRF 10, it is necessary to send it to VRF 0. Important: NAT needs to be disabled, otherwise, the traffic is not going to flow properly.
Seconds method:
Some of the common mistakes that can be made in this process are:
Disabling the NAT will help solve this problem.
It is necessary to create a static route VRF 0 in this example.
The routing table for VRF=0: S* 0.0.0.0/0 [10/0] via 10.9.15.254, wan1, [1/0] S 10.200.1.0/24 [10/0] is directly connected, VRF0-VRF10, [1/0]
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.