Re: Blocking incoming IP address immediately
From: Jeff Franks (jfranks1970_at_NoSPMcharter.net)
Date: 11/30/04
- Next message: Gandalf Parker: "Re: My Linux server got hacked last night -- please help!"
- Previous message: Bill Unruh: "Re: My Linux server got hacked last night -- please help!"
- In reply to: Trygve Selmer: "Re: Blocking incoming IP address immediately"
- Next in thread: Bill Unruh: "Re: Blocking incoming IP address immediately"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 29 Nov 2004 20:00:15 -0600
"Trygve Selmer" <trselmer@start.no> wrote in message
news:41ABCB9E.90303@start.no...
> Jeff Franks wrote:
> >>What command exactly are you typing?
> >
> > Basically "iptables -s 123.45.67.89 -i INPUT -j DROP" (or REJECT, i've
done
> > both).
>
> First I thought you spelled it wrong, but you continuously have used the
> wrong syntax. Check the command "man iptables" for
>
> -I INPUT (uppercase I) insert rule to the top of chain INPUT
> -i eth0 (lowercase i) name of interface packets are received
> -A INPUT (uppercase A) append rule to the end of chain INPUT
> -a (lowercase a) not a valid option to iptables
>
My bad, I was typing the commands from memory at work. I'm doing this
firewall at home. I have been doing the correct case of I and A both.
thanks for pointing that out.
jf
- Next message: Gandalf Parker: "Re: My Linux server got hacked last night -- please help!"
- Previous message: Bill Unruh: "Re: My Linux server got hacked last night -- please help!"
- In reply to: Trygve Selmer: "Re: Blocking incoming IP address immediately"
- Next in thread: Bill Unruh: "Re: Blocking incoming IP address immediately"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|