fix: decrease mtu

This commit is contained in:
metacubex
2022-12-08 21:20:21 +08:00
parent fff0cc277d
commit ee0b2f9361
2 changed files with 3 additions and 3 deletions

View File

@@ -217,7 +217,7 @@ class TunService : VpnService(), CoroutineScope by CoroutineScope(Dispatchers.De
}
companion object {
private const val TUN_MTU = 65535
private const val TUN_MTU = 9000
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"