[OFB Cafe] Kiosk Web Filtering/Restrictions
Fred Smith
fps at dividedsky.net
Wed Jul 8 11:57:06 CDT 2009
On Wed, Jul 8, 2009 at 12:13 PM, Donald Spoon<drspoon at sbcglobal.net> wrote:
> You can do the same thing if you write your own "rules" and roll-your-own
> firewall. That is too much thinking for me...
That could work too.
/sbin/iptables -P OUTPUT DROP
/sbin/iptables -I OUTPUT -d 123.45.67.89 -j ACCEPT
Throw that in a startup script like /etc/init.d/local and run
ln -s /etc/init.d/local /etc/rc2.d/S99local
-Fred
--
Fred Smith <fred.smith at gmail.com>
More information about the Cafe
mailing list