mirror of
https://github.com/dovecoteescapee/ByeDPIAndroid.git
synced 2024-11-20 12:34:39 +00:00
Bump version and change default DNS to 1.1.1.1
This commit is contained in:
parent
2809eb3982
commit
a5a53762d5
@ -10,7 +10,7 @@
|
||||
|
||||
Приложение для Android, которое запускает локальный VPN-сервис для обхода DPI (Deep Packet Inspection) и цензуры.
|
||||
|
||||
Приложение локально запускает [ByeDPI](https://github.com/hufrea/byedpi) и перенаправляет весь TCP трафик через него.
|
||||
Приложение локально запускает [ByeDPI](https://github.com/hufrea/byedpi) и перенаправляет весь трафик через него.
|
||||
|
||||
## Установка
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
Android application that runs a local VPN service to bypass DPI (Deep Packet Inspection) and censorship.
|
||||
|
||||
The application locally runs [ByeDPI](https://github.com/hufrea/byedpi) and redirects all TCP traffic through it.
|
||||
The application locally runs [ByeDPI](https://github.com/hufrea/byedpi) and redirects all traffic through it.
|
||||
|
||||
## Installation
|
||||
|
||||
|
@ -13,8 +13,8 @@ android {
|
||||
applicationId = "io.github.dovecoteescapee.byedpi"
|
||||
minSdk = 21
|
||||
targetSdk = 34
|
||||
versionCode = 5
|
||||
versionName = "1.0.1"
|
||||
versionCode = 6
|
||||
versionName = "1.0.2-rc1"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
@ -191,7 +191,7 @@ class ByeDpiVpnService : LifecycleVpnService() {
|
||||
|
||||
val sharedPreferences = getPreferences(this)
|
||||
val port = sharedPreferences.getString("byedpi_proxy_port", null)?.toInt() ?: 1080
|
||||
val dns = sharedPreferences.getString("dns_ip", null) ?: "9.9.9.9"
|
||||
val dns = sharedPreferences.getString("dns_ip", null) ?: "1.1.1.1"
|
||||
|
||||
val vpn = createBuilder(dns).establish()
|
||||
?: throw IllegalStateException("VPN connection failed")
|
||||
|
@ -41,7 +41,7 @@
|
||||
<com.takisoft.preferencex.EditTextPreference
|
||||
android:key="dns_ip"
|
||||
android:title="@string/dbs_ip_setting"
|
||||
android:defaultValue="9.9.9.9"
|
||||
android:defaultValue="1.1.1.1"
|
||||
app:useSimpleSummaryProvider="true"/>
|
||||
|
||||
<com.takisoft.preferencex.EditTextPreference
|
||||
|
Loading…
Reference in New Issue
Block a user