Koozali.org: home of the SME Server

SME iptables missing functions?

Doug M.

SME iptables missing functions?
« 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.

Manny

Re: SME iptables missing functions?
« Reply #1 on: June 02, 2003, 07:55:30 AM »
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

Charlie

iptables not missing functions (was Re: SME iptables missing
« Reply #2 on: June 02, 2003, 08:18:17 PM »
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

Doug M.

Re: iptables not missing functions (was Re: SME iptables mis
« Reply #3 on: June 04, 2003, 02:14:53 PM »
Manny,

Thanks just want I needed.



Charlie,

Your right, operator error. Thanks.