mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2025-04-02 21:36:15 +03:00
Improve: increase tun mtu
This commit is contained in:
parent
03bc3c0876
commit
f856c3f85f
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ class TunService : VpnService(), CoroutineScope by CoroutineScope(Dispatchers.De
|
|||
}
|
||||
|
||||
companion object {
|
||||
private const val TUN_MTU = 9000
|
||||
private const val TUN_MTU = 65535
|
||||
private const val TUN_SUBNET_PREFIX = 30
|
||||
private const val TUN_GATEWAY = "172.19.0.1"
|
||||
private const val TUN_PORTAL = "172.19.0.2"
|
||||
|
|
Loading…
Add table
Reference in a new issue