Add MTU configuration option for Warp/WireGuard in Xray (#153)

* Add MTU configuration option for Warp/WireGuard in Xray

Add mtu parameter to the Warp/WireGuard configuration in Xray.

Setting a specific MTU can help prevent packet fragmentation issues when tunneling traffic through Warp/Cloudflare. A value of 1280 is chosen as a safe default, which ensures compatibility across different networks and avoids potential connectivity issues.

* Update warp-outbound-over-wg.md
This commit is contained in:
Davoyan
2025-09-11 00:59:52 +03:00
committed by GitHub
parent dadf095e29
commit a669d77d6d

View File

@@ -95,7 +95,8 @@ Add the following to your XRAY config under `outbounds`:
"publicKey": "YOUR_PUBLIC_KEY_FROM_FILE",
"endpoint": "engage.cloudflareclient.com:2408"
}
]
],
"mtu": 1280
}
}
```
@@ -140,7 +141,9 @@ Add the following to your XRAY config under `outbounds`:
// highlight-next-line-green
}
// highlight-next-line-green
]
],
// highlight-next-line-green
"mtu": 1280
// highlight-next-line-green
}
// highlight-next-line-green