Page 1 of 1

Blocking devices to have access to HDA server

Posted: Mon Nov 28, 2011 9:57 am
by apastor
Hello

Is there a tool/app or command line i can use to have certain devices on my home network not have access to my HDA. I want some devices on my network not to be able to access my HDA at certain times.

Re: Blocking devices to have access to HDA server

Posted: Mon Nov 28, 2011 11:41 am
by sgtfoo
... everything was possible and easy up until you added "certain times" at the end.
well almost..

What router are you using? You can use a router's MAC address filtering system to deny/allow access to specific devices. Whether or not the system can do it based on certain times depends on the features of your router.
This is something a good quality router can handle, rather than your HDA.

Re: Blocking devices to have access to HDA server

Posted: Mon Nov 28, 2011 4:06 pm
by apastor
Well I do have a router running tomato, which does block devices from accessing internet at certain times, but those devices can still access the HDA. Thats what I want to block as well. Im guessing this has to be done on the HDA itself. I just do not know how.

Well, even the command if possible would be great. I could always run a cron job i guess to add and remove the clients

Re: Blocking devices to have access to HDA server

Posted: Wed Nov 30, 2011 2:37 am
by moredruid
You can use iptables to achieve this. create 2 scripts, one allowing access and one denying access and run them at the appropriate times with cron.
You can use MAC filtering in iptables (search for: iptables mac address filtering).

This may be a nice feature request to put into the front end. I would imagine that more people would want this.