Seite 1 von 1
IPC Debian Server Block IP addresses
Verfasst: Fr 17. Jan 2014, 15:13
von dada
Hi,
My server is being attacked can anyone help me how to block ip addresses.
Thanks
Re: IPC Debian Server Block IP addresses
Verfasst: Fr 17. Jan 2014, 16:09
von jensebub
Don't use defaultports for all services.
Install and configure fail2ban to deny attacks and iptables to block ips
Greetings
jensebub
Gesendet von meinem GT-I8190 mit Tapatalk
Re: IPC Debian Server Block IP addresses
Verfasst: Fr 17. Jan 2014, 16:21
von dada
how to use iptables to block ips
Re: IPC Debian Server Block IP addresses
Verfasst: Fr 17. Jan 2014, 16:32
von jensebub
man iptables
Code: Alles auswählen
iptables -I INPUT -s 10.10.10.10 -j REJECT #IP Block
iptables -D INPUT -s 10.10.10.10 -j REJECT #Block deaktivate
e.g.
blocking ip 8.x.x.x
blocking ip 8.8.x.x
blocking ip 8.8.8.x
And
fail2ban is here explained