openvpn and selective routing

Posted by mx2323 on Server Fault See other posts from Server Fault or by mx2323
Published on 2010-04-22T05:06:17Z Indexed on 2010/04/22 5:13 UTC
Read the original article Hit count: 155

Filed under:

hi everyone,

whats the best way to configure openvpn clients to go selectively go about using an openvpn connection? i want to setup a vpn server for friends in china, but i dont want them to use it for everything, just so they can access sites like youtube, facebook, cnn, etc. while they are in china through the vpn (these are blocked).

it would be nice if the vpn was a backup, so for instance if they are trying to go to facebook (which is blocked), it would go through the vpn connection once finding that the normal connection does not work.

this would save a lot of bandwidth cost actually, and give them a better browsing experience.

is this a iptable route thing? or a dns server that i push to my clients?

© Server Fault or respective owner

Related posts about openvpn