Skip to content
Snippets Groups Projects
Commit 9f76a377 authored by Kr328's avatar Kr328
Browse files

Improve: increase tun mtu

parent 26d3decd
No related branches found
No related tags found
No related merge requests found
...@@ -217,7 +217,7 @@ class TunService : VpnService(), CoroutineScope by CoroutineScope(Dispatchers.De ...@@ -217,7 +217,7 @@ class TunService : VpnService(), CoroutineScope by CoroutineScope(Dispatchers.De
} }
companion object { 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_SUBNET_PREFIX = 30
private const val TUN_GATEWAY = "172.19.0.1" private const val TUN_GATEWAY = "172.19.0.1"
private const val TUN_PORTAL = "172.19.0.2" private const val TUN_PORTAL = "172.19.0.2"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment