Hi,

I beleive you should put this command in rc.local script.  This is the last script that is executed when linux system is started.

Regards,

Irfan Momin
Oracle Applications DBA


Mandar Parab <[EMAIL PROTECTED]> wrote:
how to block the ports like 445 or any 1 in
where we hv to make an entry & what is that.
I surfed in google i found a following command :

iptables -A FORWARD -p tcp --dport 445 -j DROP
iptables -A INPUT -i eth0 -p tcp --dport 445 -j DROP
iptables -A INPUT -i eth1 -p tcp --dport 445 -j DROP

But where to put this command i cannt able to understand.
Plz help me out if u can.
regards - Mandar






Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

***Archives:
http://groups.yahoo.com/group/linuxvadapav/messages

***Group Usage Guidelines (Please Read):
http://groups.yahoo.com/group/linuxvadapav/files/mailing_rules




YAHOO! GROUPS LINKS




Reply via email to