amnezia-vpn / amnezia-client

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

Custom Split tunneling #796

Open farhadsaberi opened 7 months ago

farhadsaberi commented 7 months ago

Hi, I want all addresses to be routed based on the country instead of having to do this manually. Many applications support this.

Example:

geoip:ir geosite:ir

https://github.com/Chocolate4U/Iran-v2ray-rules

amzaf commented 3 months ago

The current split tunneling implementation is unable to handle rule-based routing. Specifically, splitting the traffic that goes to the local sites. It would be great if Amnezia could leverage the freely available geodata databases of v2fly/v2ray projects to make geographic routing possible.

https://github.com/v2fly/geoip/