Blocking devices to have access to HDA server

apastor
Posts: 175
Joined: Fri Jan 14, 2011 6:58 am

Blocking devices to have access to HDA server

Postby apastor » Mon Nov 28, 2011 9:57 am

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.
Proxmox Server: Currently Not Running Amahi
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

Re: Blocking devices to have access to HDA server

Postby sgtfoo » Mon Nov 28, 2011 11:41 am

... 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.
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

apastor
Posts: 175
Joined: Fri Jan 14, 2011 6:58 am

Re: Blocking devices to have access to HDA server

Postby apastor » Mon Nov 28, 2011 4:06 pm

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
Proxmox Server: Currently Not Running Amahi
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Blocking devices to have access to HDA server

Postby moredruid » Wed Nov 30, 2011 2:37 am

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.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

Who is online

Users browsing this forum: No registered users and 15 guests