/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


Johnny Vstberg wrote:

> Ok I got the mission to set up a masqip server at my cousins. I had no really 
>problem setting up masq ip (done that a lot of times now) but they requested me to set
> up access to separate people on the network..Etc "person 1" is allowed to use 
>internet whole day and night while "person 2" is only allowed "after school" Ok I
> figured out how to start access for certain IP4s..but how about stopping them? Never 
>figured that one out. If I knew that I could only setup a simple cron task to
> do everything. Hope anyone here has the answer

if you can bolt down the users to a particular host, then it's easy :)
instead of using a rule like:

  ipchains -A forward -i $extif -j MASQ

or

  ipchains -A forward -s $intnet -j MASQ

have a separate rule for each client host:

  ipchains -A forward -s $clientip -j MASQ

then you can use cron to add/remove rules as needed.

raf

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to