It's a bash script that can help you to secure your server by drop all requests by iptables in open ports and open port for ip white list.
Clone project on your server
Complete ipwhitelist.txt
from ipwhitelist.txt.example
file.
Run ./iptable-security.sh
- This script backup from your iptables-role in file.
- You can use
restore-iptables.service
file for have this script permanently on your server.
ENJOY the world without HAMMALI!