blob: 8135f9aaa1a9316d9343e62eb6108ab2e4ae9425 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
---
lastproofread: '2026-02-23'
---
(vpp-config-dataplane-ipsec)=
```{include} /_include/need_improvement.txt
```
# VPP IPsec Configuration
VPP supports IPsec (Internet Protocol Security) offloading from the
kernel, which speeds up cryptographic operations by leveraging VPP's
high-performance packet processing capabilities.
IPsec does not require any specific configuration on VPP side. If both
sources and destinations of the IPsec traffic are reachable via VPP
interfaces, VPP will automatically offload the IPsec processing from
the kernel. IPsec tunnels are configured in the VPN configuration
section, see {ref}`ipsec_general`.
## IPsec Configuration Parameters
### enable IPsec acceleration
When VPP is used for offloading IPsec, it creates a virtual interface to
connect to peers. The interface type is always 'ipsec', which is used for
IPsec tunnels.
```{cfgcmd} set vpp settings ipsec-acceleration
```
Enabling this option allows VPP to handle IPsec traffic more efficiently by
offloading processing from the kernel.
## Potential Issues and Troubleshooting
Improper IPsec configuration can lead to various issues, including:
- Failure to offload IPsec tunnels to VPP
- IPsec states or SAs are not synchronized between kernel and VPP
|