On 2006-06-22, Ohmster <(E-Mail Removed)> wrote:
> Jim Cochrane <allergic-to-(E-Mail Removed)> wrote in
> news:slrne9jsn1.e9e.allergic-to-(E-Mail Removed):
>
>> [Not an answer to the question, but:]
>>
>> Haven't you overlooked some other alternatives, like removing the
> network
>> card or configuring the firewall to block all traffic from her
> computer,
>> and telling her she'll have to transport her data back and forth from
>> school via disks instead of using the internet?
>
> If I remove the network card, then the computer will have no Internet or
> LAN access at all. Not what I had in mind. Yes, I do want to configure
> the firewall to block Internet from her computer, but not permanently. I
> want to restrict access to the Internet from that computer to certain
> hours of the day, such as, no Internet during the day when she has chores
> to do. No Internet late at night when the scum comes out on the net to
> prey on young girls. I can configure firestarter to block Internet to her
> computer, it is a GUI front end for iptables. It does not, however, have
> scheduling available. I do not run the computer in run level 5 (X
> windows), I prefer run level 3 (Command prompt with networking.). She
> does not transfer data back and forth to school, she uses the Internet to
> look up stuff for school, general learning, and play. Unfortunately, most
> of that "play" is being an young, pretty girl on the Internet with a
> picture. Now she has the attention of scads of "young" men, all vying for
> her attention, she feels like the queen of the world with all of this
> attention, and you and I both know that this is not for real, most of
> these "boys" are actually many decade old men, trying to lure young
> girls.
>
> I need the proper switches and syntax to use with the iptables command to
> restrict ipmasqurading to her computer via her local IP address
> (192.168.0.5) and another iptables command with the proper syntax and
> switches to remove that rule and return the iptables the way it was
> before adding the restriction commands. I want to do this with an CLI
> command, rather than a GUI program, so that I can pass off the scheduling
> to cron.
Well, I meant my suggestion as an alternative to the one you proposed, if
you could not find an answer to your question, of taking her computer alway
altogether (although, figuratively, taking away internet access may be
effectively the same thing for her). But my suggestion, I suppose, was not
very helpful, since it's not hard to do what you're asking, and I see that
someone has provided the iptables settings you asked for.
cron is, of course, the tool to use to turn her access on and off at the
desired times and it sounds like you know how to use it.
I think there's another needed component to solve your basic problem,
however, and I suspect you realize this and are working on it - that is,
the internet vampires you're talking about also come out in the day
time, and she needs to learn to pay attention, and not trust anyone
she doesn't know well - that not everyone is who they appear to be,
especially on the internet.
--