Re: [Openvpn-users] Why is the tun0 mtu 52 bytes lower than the link-mtu I set?

2021-04-25 Thread Alex K
On Wed, Apr 21, 2021, 23:56 Nikolaos Kakouros wrote: > I am experimenting with openvpn and I try to understand how the mtu is > calculated. If I set `--link-mtu 1460`, then the tun0 mtu I see with `ip a` > is 1408. I understand that the IP + UDP headers are 28 bytes. What are the > other 24 bytes

[Openvpn-users] Why is the tun0 mtu 52 bytes lower than the link-mtu I set?

2021-04-21 Thread Nikolaos Kakouros
I am experimenting with openvpn and I try to understand how the mtu is calculated. If I set `--link-mtu 1460`, then the tun0 mtu I see with `ip a` is 1408. I understand that the IP + UDP headers are 28 bytes. What are the other 24 bytes openvpn substracts? I thought it would have sth to do with