setup advanced filtering and access restrictions on dd-wrt using iptables

Posted by Nova deViator on Super User See other posts from Super User or by Nova deViator
Published on 2012-06-07T10:34:52Z Indexed on 2012/06/07 10:43 UTC
Read the original article Hit count: 259

I have a linksys WRT54GL router with a DD-WRT installed and I want to setup some advanced filtering that seem to not be available through "Access restrictions" web gui option. I guess I would be using IPTABLES then. I have ssh access to router and can run iptables, but I'm not so experienced with iptables. So here are my needs:

my policy would be deny all first and then allow exceptions

  • allow all http (port 80) access to WAN through wireless
  • allow all other traffic only to PCs with specific MAC addresses
  • allow internet access to PC with specific MAC address according to schedule (let's say everyday between 18:00-21:00)

is this possible to setup with IPtables? could somebody help me a bit with it? or should go and RTFM?

© Super User or respective owner

Related posts about dd-wrt

Related posts about iptables