A simple iptables firewall to setup my pentest lab and try to protect myself from other users
I've did this file from a compile of tutorials a long time ago. If I used some part of your code ping me and I'll give you the credits.
1- git clone https://github.com/fthomasella/Firewall-iptables-with-log.git
2- cd Firewall-iptables-with-log
3- chmod +x fireall.sh
4- ./firewall.sh
5- feel free to change or adjust any rules.