Re: Blocking incoming IP address immediately
From: Nico Declerck (Nico.Declerck_at_UGent.be)
Date: 11/29/04
- Next message: Ron Croonenberg: "Re: reverse mapping and ssh"
- Previous message: repo: "Re: Blocking incoming IP address immediately"
- In reply to: Jeff Franks: "Blocking incoming IP address immediately"
- Next in thread: Jeff Franks: "Re: Blocking incoming IP address immediately"
- Reply: Jeff Franks: "Re: Blocking incoming IP address immediately"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 29 Nov 2004 17:10:48 +0100
Jeff Franks wrote:
> I have a gaming server and am trying to create an IPTABLES firewall that
> will allow me to "ban" an IP. I have been able to do this, but the ban
> only
> takes place if I reboot the firewall pc. I need this to be something that
> can take effect immediately. If I have a cheater/abuser in the game, I
> need to be able to script something so that I can block all traffic from
> that
> person's IP or IP Range. From what I've dug up, this should be doable
> with a simple :
>
> iptables -A INPUT -s 123.45.67.89 -j DROP
Shouldn't you use iptables -I INPUT -s 123.45.67.89 -j DROP (or REJECT)
with -A you "a"dd the rule to the end of your chain, with -I you "i"nsert it
at the beginning of the chain...
prompt
- Next message: Ron Croonenberg: "Re: reverse mapping and ssh"
- Previous message: repo: "Re: Blocking incoming IP address immediately"
- In reply to: Jeff Franks: "Blocking incoming IP address immediately"
- Next in thread: Jeff Franks: "Re: Blocking incoming IP address immediately"
- Reply: Jeff Franks: "Re: Blocking incoming IP address immediately"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|