I have access via an OpenVPN tunnel to my University, and can access files located on the server there using Tunnelblick. This provides access through an insecure wireless network, as well as over the internet.
However, if I connect using Tunnelblick from home, I can either view my files, or view stuff on the rest of the internet.
It took me a while, but I figured out how to change the openVPN settings so that only a subset of IP addresses go through the VPN.
Assuming you are on a Mac, your settings file will be similar to
~/Library/openvpn/connection_name.conf, but with connection_name being something else. You need to edit this file, which is probably write protected. I’m not going to tell you how to fix that problem - if you can’t do that you have no business hacking with routing tables!
Find the entry near the bottom that looks like:
Comment this out (put a # at the start).
Now add in a line that looks somewhat like this:
route <network-address> <netmask> <gateway-address>
route 184.108.40.206 255.255.0.0 220.127.116.11
For Flinders Uni Infoeng, it should be:
route 18.104.22.168 255.255.255.0 22.214.171.124
You may need to authorise your Mac after saving the file. But when you connect with Tunnelblick, you should now be able to access addresses within the desired range, and the rest of the googlenet at the same time. Happy surfing!