Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-05-2004, 11:58 AM   #1
LQ Newbie
Registered: Mar 2003
Posts: 10

Rep: Reputation: 0
Restrict Access to Internet from one computer on LAN

My son and wife share a machine that dual boots into Fedora and eXPee and
sometimes Knoppix for Kids.

I want to restrict access for my son to only 3 or 4 websites, but allow my
wife to go anywhere (within reason, hehe).

All the machines on the LAN get an IP from a RH7.3, running a masquerading
iptables firewall script and dhcp. _That machine also runs various web
services. _Say the shared machine is, the RH is, and
there are several other machines not to be restricted.

Does anyone know how to do this?

I've been looking at DansGuardian and Sqid, but not sure they would work like
I need.

I thought perhaps make them authenticate to get the IP, and then by user name
I can either close it up or open it. _Does that sound like the direction to
Old 06-06-2004, 02:16 AM   #2
LQ Newbie
Registered: May 2004
Location: Romania, Europe
Distribution: Slackware 8.1
Posts: 28

Rep: Reputation: 15
I don't know how you authenticate them to get the IPs but if you managet to get an IP for each user you can solve the problem quite easy with squid.

Also, if the squid is running the solution with iptables I described in other tread doesn't work.

With squid you could write some rules like this:

acl son src
acl son_sites
http_access allow son son_sites
http_access deny son

carefull where you place those rules in squid.conf

this will filter your son's access presuming he'll get th .5 ip after authentication


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
restrict internet access to the root only anubhuti_k Linux - Security 1 02-15-2005 12:59 AM
Can I access a FC2 computer from XP over a LAN? deanbrown3d Linux - Newbie 14 08-19-2004 10:47 AM
Whenever I access the internet, my computer crashes. young1024 Linux - General 6 05-24-2004 03:41 PM
How to restrict website access in a LAN? mummrra Linux - Networking 3 12-05-2003 01:56 PM
How can I get access to a computer on my LAN? teeno Linux - Networking 5 07-17-2001 07:44 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration