StreisandEffect / streisand

Streisand sets up a new server running your choice of WireGuard, OpenConnect, OpenSSH, OpenVPN, Shadowsocks, sslh, Stunnel, or a Tor bridge. It also generates custom instructions for all of these services. At the end of the run you are given an HTML file with instructions that can be shared with friends, family members, and fellow activists.
https://twitter.com/streisandvpn
Other
23.17k stars 1.99k forks source link

Is it possible to have an exclude list for openconnect? #1738

Open saleh-old opened 4 years ago

saleh-old commented 4 years ago

I'm using openconnect via the CLI on macOS. Is it possible to add a list of domains, IPs, etc to NOT pass via the VPN?

trochdewei commented 4 years ago

You can try to play with no-route option in server config

saleh-old commented 4 years ago

@trochdewei I found an example from https://ocserv.gitlab.io/www/manual.html:

no-route = 192.168.5.0/255.255.255.0

I'm a newbie in network, could you please guide on how to replace that with a list domains(or IPs)? for example let's say I want to exclude google.com and yahoo.com