Description |
This article describes how to configure and mark IPsec ESP traffic Differentiated Services Code Point. |
Scope | FortiGate. |
Solution |
IPSec Encapsulating Security Payload(ESP) traffic can be prioritized through the Differentiated Services Code Point marking. By default, the FortiGate will actually use the same DSCP marking for the 'inside' encapsulated packet, for the outside encrypted packet.
This is possible by executing the following commands: config vpn ipsec phase1-interface edit <tunnel> set npu-offload di end
Once this is done, can set a specific DSCP marking for this traffic. It can be all zeroes to disable marking.
config vpn ipsec phase2-interface edit <tunnel> set phase1name <tunnel> set proposal aes128-sha256 set diffserv enable <- Make sure the DSCP option is enabled. set diffservcode 101110 <- Configure the DSCP value. set src-addr-type name set dst-addr-type name set src-name "Test_ESP_local" set dst-name "Test_ESP_remote end Refer to this article for more information on DSCP codes: Technical Tip: Differentiated Services Code Point (DSCP) marking. |
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 2024 Fortinet, Inc. All Rights Reserved.