"Nadeem M. Khan" <[EMAIL PROTECTED]> wrote:
On Fri, 2005-11-25 at 12:47, Mandar Parab 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

>>Put all your rules in a file, make it executable and >>make this file run
>>through rc.local.

>>Apart from blocking port 445, which is HTTPS, it >>would be nice if you
>>have a log of when the port is blocked.

Port of HTTPS is 443 and not 445
 
- Jeetu


Yahoo! Personals
Single? There's someone we'd like you to meet.
Lot's of someone's, actually. Yahoo! Personals

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