Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 561 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 561 Bytes

linux-firewall

Linux Firewall baseD on IPTABLES with TCP hardening. firewall.sh ban all ipS on badips.db and hardering tcp. findFails.SH check in auth.log and add multiple failed request in badips.db if it found new ip(s), it is reinitialize firewall.

How to use:

on firewall.sh:

Add your ssh port on sshport variable.

Add tcp ports on services variable, comma seperated.

Add udp ports on udpservices variable, comma seperated.

add it in rc.local for execution from boot.

run it!

on findFails.sh add it on cronjon