Hi, Is there anyone here who knows iptables?
On our new LTSP server, I wanted to employ our old script to lock the classes from using the internet during lessons ;-) But now it fails with an error. The [antique == 2004] script reads as follows and is supplied with the usernames from a list in ".inetlock.list": #!/bin/sh sudo /usr/sbin/iptables -A OUTPUT -d 127.0.0.0/24 -j ACCEPT for i in `cat $HOME/.inetlock.list` do sudo /usr/sbin/iptables -A OUTPUT -d ! 192.168.10.0/24 -m owner --uid-owner $i -j DROP done Executing stops in the loop and says Bad argument '192.168.10.0/24'. I studied the current manpage, but cannot find anything wrong with this rule. Thanks for any hints! Rolf ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net