cbeuw / Cloak

A censorship circumvention tool to evade detection by authoritarian state adversaries
GNU General Public License v3.0
3.42k stars 304 forks source link

Feature request - Routing based on GeoIp #208

Open maj0rmil4d opened 1 year ago

maj0rmil4d commented 1 year ago

Hey there, I hope u doing well.

Plz add a feature that we could set a different upstream OpenVpn for a specific geo location. here is an example:

Route packets with Iran Ip dst to Openvpn1 and route the rest of packets to Openvpn2

Thanks <3

LindaFerum commented 1 year ago

Well, I think you can already jerry-rig something pretty close (not same but close) on client side.

Not exactly "same" but close.

On android for example, assuming you use Shadowsocks with Cloak you'd need to install more than 1 browser (say, install Brave and Firefox)

Then just pick one browser (for example Firefox) as "browser for Iran" (I assume you're IN Iran right now) and then use Shadowsocks's per-app VPN feature to specifically exclude Firefox from VPN.

Now you can browse Iranian sites in Firefox using your naked IP, and use Chome, Brave and every other browser to go through Cloak.

Should [probably] be doable on Windows too though I am not sure how. Haven't used windows in a while lol.