13,420
edits
Changes
→INVESTIGATION 1: IPTABLES RULES AS A SCRIPT
We will now '''set iptables rules for your vm1 machine'''. As an alternative to editing the configuration file, you can '''place iptables commands in a script''' to be executed any time the machine boots (or any other time to you need to refresh your rules). In this way, then you can '''apply your new iptables rules to your vm2 and vm3 machines''' by using the scp command and run your shell script.
'''Perform the following Steps:'''
# Start your host machine, and launch your vm1 machine.