[GH-ISSUE #931] Split tunneling not working on arch linux (4.8.1.9) #269

Closed
opened 2026-10-14 03:17:36 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @jrzkaminski on GitHub (Aug 4, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/931

Describe the bug
Hello! Tidal is banned in my country, so I access it over VPN. The Amnezia VPN client (v4.8.1.9) itself works fine, however, split tunneling does not work. When I just push "Connect" button, everything works fine. But when I enable split tunneling with tidal in the list, it does not load, non-blocked websites work as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Add listen.tidal.com and tidal.com to split tunneling list (or any website)
  2. Click on 'Connect'
  3. See the website not loading

Expected behavior
Tidal to work when split tunneling is enabled.

Desktop (please complete the following information):

  • OS: Arch Linux
  • Version 6.10.2-arch1-1 (64-bit)

If there is any additional info I could provide, please, ask

Screenshot_20240804_232117

upd. Not working on 4.8.1.9 still

Originally created by @jrzkaminski on GitHub (Aug 4, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/931 **Describe the bug** Hello! Tidal is banned in my country, so I access it over VPN. The Amnezia VPN client (v4.8.1.9) itself works fine, however, split tunneling does not work. When I just push "Connect" button, everything works fine. But when I enable split tunneling with tidal in the list, it does not load, non-blocked websites work as expected. **To Reproduce** Steps to reproduce the behavior: 1. Add listen.tidal.com and tidal.com to split tunneling list (or any website) 2. Click on 'Connect' 3. See the website not loading **Expected behavior** Tidal to work when split tunneling is enabled. **Desktop (please complete the following information):** - OS: Arch Linux - Version 6.10.2-arch1-1 (64-bit) If there is any additional info I could provide, please, ask ![Screenshot_20240804_232117](https://github.com/user-attachments/assets/a6655c96-51e5-4ab9-a964-9cffc18bbc77) upd. Not working on 4.8.1.9 still
Author
Owner

@DaniSchestov commented on GitHub (Oct 14, 2024):

Same on OpenSuse TW and Ubuntu 22.04
strace with Split enabled:

LOG:1728903288,I,[server] Peer Connection Initiated with [AF_INET]127.0.0.1:1194
LOG:1728903288,,PUSH: Received control message: 'PUSH_REPLY,route-gateway 100.126.0.1,topology subnet,ping 10,ping-restart 120,ifconfig 100.126.0.2 255.255.0.0,peer-id 0,cipher AES-256-GCM'
"Set vpn local address 100.126.0.2, gw 255.255.0.0"
LOG:1728903288,,OPTIONS IMPORT: timers and/or timeouts modified
LOG:1728903288,,OPTIONS IMPORT: --ifconfig/up options modified
LOG:1728903288,,OPTIONS IMPORT: route-related options modified
LOG:1728903288,,OPTIONS IMPORT: peer-id set
LOG:1728903288,,OPTIONS IMPORT: adjusting link_mtu to 1626
LOG:1728903288,,OPTIONS IMPORT: data channel crypto options modified
LOG:1728903288,,Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
LOG:1728903288,,Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
LOG:1728903288,,net_route_v4_best_gw query: dst 0.0.0.0
Set VPN route gateway ""
LOG:1728903288,,net_route_v4_best_gw result: via 172.18.1.254 dev wlp2s0
Set VPN route gateway "172.18.1.254"
LOG:1728903288,I,TUN/TAP device tun0 opened
LOG:1728903288,,MANAGEMENT: >STATE:1728903288,ASSIGN_IP,,100.126.0.2,,,,
STATE:1728903288,ASSIGN_IP,,100.126.0.2,,,,
LOG:1728903288,I,net_iface_mtu_set: mtu 1500 for tun0
LOG:1728903288,I,net_iface_up: set tun0 up
LOG:1728903288,I,net_addr_v4_add: 100.126.0.2/16 dev tun0
LOG:1728903288,I,/opt/AmneziaVPN/client/bin/update-resolv-conf.sh tun0 1500 1626 100.126.0.2 255.255.0.0 init
LOG:1728903288,,MANAGEMENT: >STATE:1728903288,ADD_ROUTES,,,,,,
STATE:1728903288,ADD_ROUTES,,,,,,
LOG:1728903288,,net_route_v4_add: 194.87.51.153/32 via 172.18.1.254 dev [NULL] table 0 metric -1
LOG:1728903288,I,Initialization Sequence Completed
LOG:1728903288,,MANAGEMENT: >STATE:1728903288,CONNECTED,SUCCESS,100.126.0.2,127.0.0.1,1194,127.0.0.1,53296
STATE:1728903288,CONNECTED,SUCCESS,100.126.0.2,127.0.0.1,1194,127.0.0.1,53296

No routes additions from split tunnel list
As a workaround we can use update-resolv-conf.sh to add needed routes, but it's unnatural)

<!-- gh-comment-id:2410871754 --> @DaniSchestov commented on GitHub (Oct 14, 2024): Same on OpenSuse TW and Ubuntu 22.04 strace with Split enabled: >LOG:1728903288,I,[server] Peer Connection Initiated with [AF_INET]127.0.0.1:1194 >LOG:1728903288,,PUSH: Received control message: 'PUSH_REPLY,route-gateway 100.126.0.1,topology subnet,ping 10,ping-restart 120,ifconfig 100.126.0.2 255.255.0.0,peer-id 0,cipher AES-256-GCM' "Set vpn local address 100.126.0.2, gw 255.255.0.0" >LOG:1728903288,,OPTIONS IMPORT: timers and/or timeouts modified >LOG:1728903288,,OPTIONS IMPORT: --ifconfig/up options modified >LOG:1728903288,,OPTIONS IMPORT: route-related options modified >LOG:1728903288,,OPTIONS IMPORT: peer-id set >LOG:1728903288,,OPTIONS IMPORT: adjusting link_mtu to 1626 >LOG:1728903288,,OPTIONS IMPORT: data channel crypto options modified >LOG:1728903288,,Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key >LOG:1728903288,,Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key >LOG:1728903288,,net_route_v4_best_gw query: dst 0.0.0.0 Set VPN route gateway "" >LOG:1728903288,,net_route_v4_best_gw result: via 172.18.1.254 dev wlp2s0 Set VPN route gateway "172.18.1.254" >LOG:1728903288,I,TUN/TAP device tun0 opened >LOG:1728903288,,MANAGEMENT: >STATE:1728903288,ASSIGN_IP,,100.126.0.2,,,, >STATE:1728903288,ASSIGN_IP,,100.126.0.2,,,, >LOG:1728903288,I,net_iface_mtu_set: mtu 1500 for tun0 >LOG:1728903288,I,net_iface_up: set tun0 up >LOG:1728903288,I,net_addr_v4_add: 100.126.0.2/16 dev tun0 >LOG:1728903288,I,/opt/AmneziaVPN/client/bin/update-resolv-conf.sh tun0 1500 1626 100.126.0.2 255.255.0.0 init >LOG:1728903288,,MANAGEMENT: >STATE:1728903288,ADD_ROUTES,,,,,, >STATE:1728903288,ADD_ROUTES,,,,,, >LOG:1728903288,,net_route_v4_add: 194.87.51.153/32 via 172.18.1.254 dev [NULL] table 0 metric -1 >LOG:1728903288,I,Initialization Sequence Completed >LOG:1728903288,,MANAGEMENT: >STATE:1728903288,CONNECTED,SUCCESS,100.126.0.2,127.0.0.1,1194,127.0.0.1,53296 >STATE:1728903288,CONNECTED,SUCCESS,100.126.0.2,127.0.0.1,1194,127.0.0.1,53296 No routes additions from split tunnel list As a workaround we can use update-resolv-conf.sh to add needed routes, but it's unnatural)
Author
Owner

@Nethius commented on GitHub (Feb 21, 2025):

Thank you for your report. Please note that GitHub is not a support channel. For assistance, please contact our support team via chat at https://t.me/amnezia_support_bot or via email at support@amnezia.org.

Our team will review the details and help resolve the issue.

<!-- gh-comment-id:2674733473 --> @Nethius commented on GitHub (Feb 21, 2025): Thank you for your report. Please note that GitHub is not a support channel. For assistance, please contact our support team via chat at https://t.me/amnezia_support_bot or via email at [support@amnezia.org](mailto:support@amnezia.org). Our team will review the details and help resolve the issue.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#269
No description provided.