Banning Local User For Accessing Internet

Support section for FREESCO v0.3.x

Postby bec » Sun Oct 12, 2008 7:21 am

Hi,

I would like to ban an address access to the internet during a specific period (2200 - 0700), but in that period allow access to send & receive mail (ports 25 & 110??)

I have figured out the first part:
bl,192.168.101.101,2200,0700

How do I allow the specific ports? Is it:
alp,25,192.168.101.101
alp,110,192.168.101.101

Does this work when it's all put together?

I seem to have times when the time based banning doesn't kick in automatically. Is there a job that needs to be running to kick in the time based banning?

Thanks for your help.

Brian
User avatar
bec
Member
 
Posts: 68
Joined: Sat Jun 29, 2002 8:37 am
Location: Melbourne, Australia

Postby Lightning » Sun Oct 12, 2008 1:20 pm

For this type of configuration I would put the times on the port setting as well. So you would have something like

bl,192.168.101.101,2200,700
alp,25,192.168.101.101,2200,700
alp,110,192.168.101.101,2200,700

Also note that it is 700 and not 0700
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3049
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Banning Local User For Accessing Internet

Postby psv » Tue Nov 10, 2009 9:29 am

whether there is a difference what rule is the first ???
psv
Newbie
 
Posts: 9
Joined: Fri Oct 02, 2009 12:24 am

Re: Banning Local User For Accessing Internet

Postby Lightning » Wed Nov 11, 2009 12:47 am

The order you put the rules does not matter. The system sorts the rules automatically and puts "allow" rules before "deny" rules.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3049
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA


Return to FREESCO Support for v0.3.x

Who is online

Users browsing this forum: No registered users and 0 guests

cron