amnezia-vpn / amnezia-client

Amnezia VPN Client (Desktop+Mobile)
https://amnezia.org
GNU General Public License v3.0
5.86k stars 368 forks source link

Split-tunneling doesn't work on iOS with Xray #958

Open nenkoru opened 3 months ago

nenkoru commented 3 months ago

Describe the bug Split-tunneling doesn't work on iOS with Xray

To Reproduce Steps to reproduce the behavior:

Expected behavior A website which netblock is not in the list should be opened via a direct connection

Smartphone:

Additional context [1] https://github.com/nenkoru/amnezia_split_tunnel/releases/download/2024-08-09/split_tunneling_amnezia.json This one includes Google, Facebook, Twitter netblocks. When openning ifconfig.me or 2ip.ru from iphone you could clearly see the ip address of the remote server that the tunnel goes through.

The issue is not reproduced when using AmneziaWG, it behaves as expected(ifconfig.me shows an ip address of the direct connection not the tunneled one)

nenkoru commented 3 months ago

output

A gif showing exactly that behaviour. Notice that with AmneziaWG ifconfig.me shows the ip address of a VPS and 2ip.ru shows the ip address of the direct connection. But with XRay it shows ip of a VPS for both 2ip.ru and ifconfig.me

yarovikov commented 3 months ago

I can confirm. On Mac OS Sonoma too

lexfreedomcom commented 3 months ago

The same on my Mac OS Sonoma. After rebooting system apps starts crashing and closing...

976

eugene-egorov commented 2 months ago

тоже крашится. окно на мгновение появляется и пропадает. процесс висит в диспетчере. тоже похоже нажал на раздельное туннелирование. переустановка не помогает

mrdrprofuroboros commented 2 months ago

confirming for iOS 17.6.1 works fine on macOS Sonoma 14.5 though

jstted commented 1 month ago

Experiencing the same issue on iOS 18.0 with version 4.6.0.4. However, it works fine on macOS 15.0 with version 4.7.0.0. Hopefully, the next release for iOS will resolve this problem

EntonyHop commented 3 weeks ago

Same issue ipad Os 18.1