On Tuesday 30 July 2002 1:38 am, Jesse Angell wrote:
> I need to block an ip with iptables ASAP.. I want it to just drop
> the connection if they try to connect to ANYTHING on my server..
> How do i do this...
> help asap

$EXTIF=your External network card (eth0,etc..)
$EXTIF_IP=your External IP assigned from ISP

/sbin/iptables -A INPUT -i $EXTIF -s  ipaddress -d $EXTIF_IP -j DROP

Hope that Helps

Mark




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to