A sample ipchains firewall script, featuring many options you can uncomment.
You can download it from the following link: https://packetstormsecurity.com/files/download/10278/standalone.sh
Source: https://packetstormsecurity.com/files/10278/standalone.sh.html