-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed shadow socks predefined ports
- Loading branch information
Showing
3 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
android/app/src/main/kotlin/net/mullvad/mullvadvpn/constant/WireguardConstant.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
package net.mullvad.mullvadvpn.constant | ||
|
||
import net.mullvad.mullvadvpn.lib.model.Port | ||
import net.mullvad.mullvadvpn.lib.model.PortRange | ||
|
||
val WIREGUARD_PRESET_PORTS = listOf(Port(51820), Port(53)) | ||
val UDP2TCP_PRESET_PORTS = listOf(Port(80), Port(5001)) | ||
val SHADOWSOCKS_PRESET_PORTS = listOf(Port(80), Port(443)) | ||
val SHADOWSOCKS_PRESET_PORTS = emptyList<Port>() | ||
val SHADOWSOCKS_AVAILABLE_PORTS = | ||
listOf(PortRange(IntRange(0, 65535))) // Currently we consider all ports to be available |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters