sshd question...

Alex F. Evonosky alex at alexevon.org
Mon Nov 15 14:26:25 UTC 2004


On Monday 15 November 2004 9:16 am, RoboticGolem wrote:
> Just a quick one here...  I need to know how to deny specific ip
> addresses from access to a server... specifically the ssh daemon.
> Someone is trying to hack my server, but he's using a static ip and
> I'd like to just deny him entirely.  I just dont know how to do it.
>
> Thanks in advance,
> Matt

ATTACKER="x.x.x.x/32"
/sbin/iptables -A block -s $ATTACKER -d $ATTACKER -j DROP




More information about the fedora-list mailing list