amnezia-vpn / amnezia-client

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

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

Open nenkoru opened 1 month ago

nenkoru commented 1 month 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 1 month 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 1 month ago

I can confirm. On Mac OS Sonoma too

lexfreedomcom commented 4 weeks ago

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

976

eugene-egorov commented 1 week ago

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