13,420
edits
Changes
no edit summary
==INVESTIGATION 2: SETTING FIREWALL POLICIES ON YOUR VMsCREATING CUSTOMIZED CHAINS & USING SHELL SCRIPTS==
In this investigation, we will use shell scripting to help automate our firewalls, and create our own customized chains for packet filtering. = Your tasks ==Automating Firewall Settings by Using a Bash Shell Script=== '''Perform the Following Steps:'''
* Start with the default settings. When you install Iptables in CentOS it already has some rules predefined. You will get the default rules if you restart the iptables service.
** Go back to writing the rule that didn't work.
===Creating Customized Chains=== You have the ability to create your own customized chains - you can actually name them! '''Perform the following steps:'''
# Remove the rules in your INPUT chain that are allowing all icmp and ssh traffic.