Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Internet Sharing Through Proxy With Constraints

I have internet connection in my machine which is in LAN , host OS is vista . host computer has BSNL router attached to it.

I want to share my internet connection to the LAN with certain constraint by setting up Proxy on my machine..

for e.g.

Restriction i want to apply are:

Data Usage [for e.g. user must not exceed her usage beyond 50MB] Site Restriction [User must not be able to open certain sites] User Must enter her password while accessing first time internet [when resource connect proxy server]

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

To do this, you will have to either a) install some kind of proxy server on your computer, or b) configure it to act as a router.

First you need to decide which kind of access you want to give to other computers. If you only want to provide HTTP/HTTPS (i.e. web browsing), you need a), a "web proxy". If you want to allow any kind of internet traffic, you need b).

The rest of your question (data volume restriction, restriction on sites, password protection) will depend on whether you need a) or b). Password protection in particular will be difficult for b) (as some programs that try to access the net may have no way to prompt for a pw).

Quick pointers: For a) (web proxy), there are many implementations. A popular one is Squid, but there are many others. For b), look for "internet connection sharing".

Edit:

If you want to restrict access using a proxy, you need to setup a proxy like Squid, and configure "content filtering", and "authentication".

For setting up Squid on Windows, see http://wiki.squid-cache.org/KnowledgeBase/Windows

For restricting which sites can be accessed, see e.g. http://www.freesoftwaremagazine.com/articles/web_blocking_squid

For authentication, see http://wiki.squid-cache.org/Features/Authentication

For data volume restriction, I don't know of any of-the box solution. It might make more sense to just monitor bandwith use and warn users who overdo it; that way the full bandwidth is availiable to everyone as long as there are no problems. Otherwise, you'll have to look for other/ additional software.

You might also want to look at other options for proxy software:

http://serverfault.com/questions/161747/top-five-proxy-server-applications

share|improve this answer
    
yes i want to go for [a]. and how to configure Squid for Restricting Users. –  Jigar Joshi Jul 19 '10 at 10:32
    
Thanks Sleske for your help. i will let you know once i will configured it successfully. –  Jigar Joshi Jul 19 '10 at 12:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.