Irfan Momin <[EMAIL PROTECTED]> wrote:
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

Dear,
        Even if you put from the root's Command prompt that will do.Not at all required to put in rc.local file.The same you can check by issung the command
iptables -h command.







Thanks and Regards
Hemchand
Cisco & Linux Certified
------------------------------------------------------------------------
"When we talk of tomorrow, the gods laugh."


Enjoy this Diwali with Y! India Click here

***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