Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Doug M. on May 30, 2003, 11:54:45 AM
-
This is really more of a question I had earlier on trying to use DHCP to limit users (my kids) internet time. In the last week I've learned more than I ever thought I would on DHCP. While finding a temporary solution here (until the kids figure out the way around it) it's not the fix I need. It was suggested to use iptables to deny enforce time limits. Once again to the book (or google as it were). Lot's of good information. I thought I'd found my salvation in the "--mac-source" function only to find that this function is not available to the iptables running in SME? Does anyone know how to enable/add this and other missing functions?
Using this to reroute there request to a custom httpd port (81) serving them a warning page that they are not allowed on at that time.
I'm really not that experienced using linux or at networking for that matter, learning as I go. I still think this has the possiblity of being worked into a custom server manager page for; 1. controlling DHCP connections via the hardware mac address and 2. setting time limits for each connection.
-
Doug,
I am in the same boat as you are. I have found this post on this forum:
http://forums.contribs.org/index.php?topic=7308.msg26692#msg26692
-
Doug M. wrote:
> I thought I'd found my salvation in the
> "--mac-source" function only to find that this function is
> not available to the iptables running in SME? Does anyone
> know how to enable/add this and other missing functions?
Some iptables arguments are only valid in combinations with others, and you need to get the order right. There's nothing wrong with SME's iptables; you just need to get your script right.
Regards
Charlie
-
Manny,
Thanks just want I needed.
Charlie,
Your right, operator error. Thanks.