Showing posts with label vpn. Show all posts
Showing posts with label vpn. Show all posts

Monday, February 1, 2010

VPN Service: Free For A While

A generous friend has setup a cluster of secure VPN servers in USA and is now offering the service for free for a couple of months to test the systems out.

If you don't know what a VPN is, it stands for Virtual Private Network; basically, you connect to the Internet, then to a VPN server and all your Internet traffic goes through that server.
Since the servers are in USA, you can access all websites that require you to be in the US, like Hulu online streaming site, watch copyrighted videos on youtube, and a lot more!

I've been using it for a while now and it's great!

You can now subscribe for free and enjoy the service. It works on Mac, Windows & Linux. To join, simply send an email to: promotion [theAtSign] vpnod.com, with subject vpnod.

An account will be automatically and instantly created for you where your email is your username and the password is autogenerated by the system. You'll also receive instructions on how to set it up on Windows.

If you need help on how to set it up on Mac or Linux, let me know. (Anonymous comments are enabled).

Sunday, January 17, 2010

Adding IPs to a Gateway

I've been using a VPN and I want only certain websites to go through the VPN, while the rest through my current connection.

On Linux, after connecting to the VPN, I can make it execute a shell script of my choice, by default named: ip-up.local -- below is my script:

#!/bin/bash
# add domain names to theHosts array -- don't edit anything else
# the script will have each site's IP pass through the gateway of the
# connection being established

theHosts=( pandora.com last.fm hulu.com youtube.com netflix.com )

ips=$(for host in ${theHosts[@]}; do host -4tA $host; done | awk '{print $4}')
for ip in $ips; do /sbin/route add -host $ip gw $4 dev $1; done

ip-up.local should be in /etc/ppp/

Make sure you check the option to tell your connection to not replace your existing default route.