increase mtu

This commit is contained in:
Kr328 committed 2020-04-08 00:43:47 +08:00
1 parent 40ae2d456c
commit 2346095323
1 file changed
+1 -1
@@ -16,7 +16,7 @@ import kotlinx.coroutines.*
class TunService : VpnService(), CoroutineScope by MainScope() {
companion object {
// from https://github.com/shadowsocks/shadowsocks-android/blob/master/core/src/main/java/com/github/shadowsocks/bg/VpnService.kt
private const val VPN_MTU = 9000
private const val VPN_MTU = 65535
private const val PRIVATE_VLAN4_SUBNET = 30
private const val PRIVATE_VLAN6_SUBNET = 126
private const val PRIVATE_VLAN4_CLIENT = "172.31.255.253"