Community discussions

 
astronyu
just joined
Topic Author
Posts: 8
Joined: Sun Nov 09, 2014 2:32 pm

How to Schedule blocking a client connected to external AP?

Thu Dec 08, 2016 3:03 pm

I have RB750GL as my main router 192.168.42.1
and DLINK 850L as my AP 192.168.42.4
An android box connected to 850L's AP and given static IP 192.168.42.6

I'm trying to restrict internet access for that device from 0000 to 0800.
I tried adding firewall rule to drop forward chain using both IP and MAC but it wasn't working.
/ip firewall filter
add action=drop chain=input comment="Block access from 0000 till 0800" disabled=no src-address=192.168.42.6 time=\
00h-08h,sun,mon,tue,wed,thu,fri,sat
Can anyone advice how to do this right?
 
User avatar
nickshore
Member
Member
Posts: 473
Joined: Thu Mar 03, 2005 4:14 pm
Location: Suffolk, UK.
Contact:

Re: How to Schedule blocking a client connected to external AP?

Thu Dec 08, 2016 3:52 pm

The input chain is for traffic to the router.

To restrict traffic going through the router to the client you should use the forward chain.

Nick
Nick Shore MTCNA MTCWE MTCRE MTCINE MTCTCE
LinITX.com - MultiThread Consultants
Get your MikroTik RBs and Training: http://linitx.com/brand/mikrotik
Official UK MikroTik Distributor
IRC chan: #routerboard on irc.z.je (IPv4 and IPv6)
 
astronyu
just joined
Topic Author
Posts: 8
Joined: Sun Nov 09, 2014 2:32 pm

Re: How to Schedule blocking a client connected to external AP?

Thu Dec 08, 2016 6:16 pm

The input chain is for traffic to the router.

To restrict traffic going through the router to the client you should use the forward chain.

Nick
Sorry, I was meant to say I tried both input and forward chain with no success.

Who is online

Users browsing this forum: talanfree and 80 guests