Improve: increase tun mtu

This commit is contained in:
Kr328 2022-07-02 11:02:07 +08:00 committed by djoeni
parent 03bc3c0876
commit f856c3f85f

View File

@ -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"