hi guys, i am using fedora 10. i want to block few websites from opening for parental control. i tried editing rc.local.
this is the output for gedit /etc/rc.local:
#!/bin/sh
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
iptables -I INPUT -s
www.orkut.com -d 0/0 -j DROP
touch /var/lock/subsys/local
iptables -I INPUT -s
www.orkut.com -d 0/0 -j DROP
exit 0
for some reasons, this command is not initialising while booting. right now i am manually entering it on terminal after logging in and it is working too.
can someone help me to put this on work while booting?. please help me with rc.local.
thanks in advance.