On Fri, 15 Feb 2002, Manny Popes wrote:

> Hmmm additional question, what if he has two NIC like eth0 and eth1... :)
> 
> Gene Frederick Boniel wrote:
> 
> >
> > # for your FTP
> > ipchains -A input -s 0/0 -d 0/0 21 -p tcp -y -j REJECT
> >

then specify the '-i <interface>' option:

ipchains -i eth0 -A input -j REJECT -p tcp --syn --dport 21 

ommitting the '-i' option affects all interfaces.

pong

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to