if platformInterface != nil && platformInterface.UnderNetworkExtension() {
if platformInterface != nil && platformInterface.UnderNetworkExtension() {
- tunMTU = 4000
+ // In Network Extension, when MTU exceeds 4064 (4096-UTUN_IF_HEADROOM_SIZE), the performance of tun will drop significantly, which may be a system bug.