Sunday, February 14, 2010

Accesing Internet

This
time I am going to talk about the proxies available. [In layman's term
proxy is our gateway to access Internet from the local Intranet]

1. vsnlproxy.iitk.ac.in (port 3128)
2. ernetproxy.iitk.ac.in (port 3128)
3. bsnlproxy.iitk.ac.in (port 3128)
4. nknproxy.iitk.ac.in (port 3128)
5. No proxy - I prefer to call it transparent proxy[technically, that's what it is] set the preferred nameserver[in LAN settings] to 172.31.1.130 and then u can access internet without using an explicit proxy name [as soon as you open any internet website for the first time, it will ask for
your cc username and password]

Note:
1. When using any of the first 4 proxies, one has to set "no proxy" for all the websites inside IITK [to access them].
A simple No Proxy setting which can be use to set no proxy for all websites [inside campus] is "localhost, 127.0.0.1,.iitk.ac.in,172.0.0.0/8" [for firefox]

2. Switch proxy is a good addon (for Firefox) for fast switching switch between proxies (when one goes down just switch to another) http://bit.ly/switchproxy
3. For all those Linux geeks out there
How to configure internet access from command line
A. To use one of first 4 proxies for internet for "sudo apt-get upgrade", configure /etc/wgetrc [no I won't give the full steps, just the hint, you use Linux, learn to read "man pages"]
B. [REcommended]To use (transparent proxy) internet, use http://bit.ly/firewall-auth , its a Python script written by Siddharth Agarwal (Y7 cse)
My suggestion: start a screen [command name screen], start "python _script name_", detach the screen [ctrl-A d], the script keeps running in the screen providing full internet access on the terminal.

4. I am receiving quite a lot of [similar] queries regarding my previous mails. Instead of mailing me directly, please post queries as comments on the blog.

No comments:

Post a Comment