ivpn / desktop-app

Official IVPN Desktop app
https://www.ivpn.net/apps/
GNU General Public License v3.0
351 stars 48 forks source link

Allow custom ports with V2Ray #321

Closed gorkapernas closed 10 months ago

gorkapernas commented 11 months ago

Description:

Currently, adding custom ports when V2Ray (Quick and TCP) is enabled is not possible, although the user can still use a custom port with V2Ray if it was added before enabling V2Ray.

As confirmed, the V2Ray service listens on its own IP address using the same ports as WireGuard and OpenVPN, on both TCP and UDP ports, so it seems like we should allow users to add and use custom ports for V2Ray connections, just as we normally do for WireGuard and OpenVPN.

stenya commented 11 months ago

commit: https://github.com/ivpn/desktop-app/commit/c2deb66307fca77ed1d58e8d898ea91de548ceb4

stenya commented 11 months ago

v3.12.1010

gorkapernas commented 11 months ago

@stenya I have a question, when using V2Ray with MultiHop, it is possible to also change ports (not the case without V2Ray), however, the option to add custom ports with MultiHop/V2Ray is not available, BUT it is possible to use a custom port defined previously with SingleHop. Should we also allow to add custom ports with MultiHop/V2Ray? If they can be used by defining them previously, I guess we can implement the option to add them, right?

stenya commented 11 months ago

@gorkapernas You are right. We must allow users to define custom ports with MultiHop+V2Ray. Feel free to move this ticket to "To do"

stenya commented 11 months ago

v3.12.1011

gorkapernas commented 11 months ago

Verified on v3.12.1011, all platforms, now it is also possible to define custom ports with Multihop and V2Ray enabled. This is good to go.

stenya commented 10 months ago

IVPN Client v3.13.1 has been released