Re: Blocking incoming IP address immediately

From: Nico Declerck (Nico.Declerck_at_UGent.be)
Date: 11/29/04


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



Relevant Pages

  • Re: Exchange 2003: users getting 10-12 copies of each inbound message
    ... Since I posted this topic I have rebooted our firewall. ... The senders were also complaining about receiving repeated ... NDRs for each message they are sending to my companies users. ... I had them reboot the server after hours... ...
    (microsoft.public.windows.server.sbs)
  • Re: Blocking Access to web-based email
    ... > filter up to 67 categories of content. ... Charles, Charles, Charles, you need exposure to real firewall ... I don't have to reset or reboot the firewall appliances except in rare ...
    (comp.security.firewalls)
  • Re: Dumb questions about firewalls and linux
    ... be able to reboot successfully with /sbin missing at all. ... don't need a firewall. ... and alike) open to the outside. ... so a single configuration mistake doesn't ...
    (comp.os.linux.misc)
  • Re: Firewall question 1
    ... >>>without shutting down applications which are ... >>>course browsers) will firewall control the traffic ... >> disconnect from Internet ... > and reboot again. ...
    (comp.security.firewalls)
  • Re: Lsass.exe error 1073741819
    ... Enable XP's built in firewall. ... >I get the above error and the RPC will reboot winXP pro ... Kbase references this error code ... There is no reference for XP except the virus: ...
    (microsoft.public.windowsxp.security_admin)