PDA

Bekijk de volledige versie : Firewal filter LAN to WAN



klebsiela
24-11-2010, 10:14
Hi I have ASUS WL-500gP with 5 computers on it.

I would like to disable internet access for some of them at night. I read some previous posts and I believe I've tried all possible combinations with no success. Firmware is Oleg's firmware 1.9.2.7-10.

Example:
I would like to block Internet access for 192.168.1.3 at Sundays between 21:00 and 23:00.
As soon as I enable LAN to WAN filter, accessibility depends solely on "Packets not specified will be" DROP or ACCEPT. If I choose ACCEPT internet is enabled and if I choose DROP it is totaly blocked irrespective of day of the week or time choosen. The trick is I believe in LAN to WAN filter tables which I cant configure properly....


Any suggestions?

thanks in advance

Bojan

wpte
25-11-2010, 01:13
what about this:

Enable LAN to WAN Filter?: yes
Time of Day to Enable LAN to WAN Filter: 21:00 - 23:00
Packets(LAN to WAN) not specified will be: ACCEPT

Source IP - Port Range - Destination IP - Port Range - Protocol
192.168.1.3 1-65535 [leave this box empty] 1-65535 - tcp

just an example :p

otherwise you can do it by ip-tables.
http://www.cyberciti.biz/tips/iptables-for-restricting-access-by-time-of-day.html

you probable need a separate rule chain for that (the chain with the computer ip's blocked)

klebsiela
26-11-2010, 08:41
Thanks I will try.

BK

klebsiela
26-11-2010, 09:06
Obviously I didn't try everything yet because now it works. The problem may be, that I didn't enable all ports but only port 80.

Thank you very very much!!!

Bojan

BK