Internet Access filtering

I am looking for a router which can block all internet access except specified one domain. For example, I only want all of my computers behind my router cannot access internet except http://www.aaa.com and the mail server of aaa.com . I also want one of the computers can have full access. Would somebody please suggest a router which can let me do that task? thanks.
mikekwokAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

fatladCommented:
This is very difficult to do as a domain name may not always have the same IP address, and I don't think it is possible to have an ACL query a DNS server.

You may be better off with a proxy server or a content management system such as websense (I have never configured this but I have seen serveral clients who have implemented it). These will allow you to either set a white and black list of sites or in the case of websense set the type of traffic you want to allow at certain times, for example block pornography all the time, allow sports and news during lunch and after work etc. You could then allow the single computer with unrestricted access to bypass the proxy (might need a static ip)

I would generally try and prevent any computers apart from a mail server from being able to send SMTP traffic out to any site, it should not be necessary. I think in most mail server software you can again create a black list of domains where mail is not sent or accepted from.

If you go for these then this four line ACL should do the trick.

access list 101 ip permit mail_server_ip(w.x.y.z) any eq smtp
access list 101 ip permit proxy_server_ip(w.x.y.z) any eq http
access list 101 ip permit unrestricted_PC_ip(w.x.y.z) any
access list 101 ip deny any any

Hope that helps

Fatlad
0
mikekwokAuthor Commented:
The domain name has fixed IP address. Any router support filtering except specified IP?
0
fatladCommented:
In that case try this:

access list 101 ip permit mail_server_ip(w.x.y.z) any eq smtp
access list 101 ip permit any allowed_domin_ip(w.x.y.z) any eq http
access list 101 ip permit unrestricted_PC_ip(w.x.y.z) any
access list 101 ip deny any any

The first line remains the same, only allowing the mail server to send and recieve mail, the second allows any pc to internet access to the IP of the allowed domain. The third remains the same allowing the super surfer access from a predifined PC and the last one is just a reminder that an ACL has a deny any any at the end.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

mikekwokAuthor Commented:
I would like to ask which router can support the function I want but not setting up the linux and setting up access rules. Do you know which router can support domain filtering ?
0
fatladCommented:
Most Cisco boxes with an IP IOS image will do this. It will depend on the interfaces you require.
0
mikekwokAuthor Commented:
Would you introduce the model no to me ? thanks.
0
fatladCommented:
If you tell me what type of interface you need I can make a few recommendations
0
mikekwokAuthor Commented:
what do u mean interface ?
0
fatladCommented:
well what are you planning on connecting to the router, I expect one side will be an ethernet or fastethernet connection, on your network. The other side could be anything, ADSL, Cable, Leased Line, OC3, it depends on what you are trying to do.
0
mikekwokAuthor Commented:
one side connect to adsl modem, the other sied connect to ethernet
0
fatladCommented:
does the modem have an ethernet port on it?
0
mikekwokAuthor Commented:
I have found a router which is suitable for me . It is PCi BRL-04FPU.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.