Changes

Jump to: navigation, search

OPS335 Lab 2

194 bytes added, 11:10, 26 January 2016
no edit summary
# Overwrite the defaults with the current state of the firewall:<source lang='bash'>/usr/libexec/iptables/iptables.init save</source>
# Store the above commands into a shell script called: '''myicmp_restore.bash'''<br><br>
 # Since the above steps for your vm1 apply for your vm2, vm3, and other vms , it would make sense to use your shell script you will create created to set your iptables rules for vm1 for this course, copy these other vms.# Copy your '''myicmp_restore.bash''' script to both of your '''vm2 ''' and '''vm3 ''' machines , set execute permisisons, and then run the shell script in order to run and setup the same firewall rules. # Make certain to save your firewall rules for both '''vm2 ''' and '''vm3'''. <br><br>'''NOTE:''' Notice how a simple shell script has saved you time when setting up firewall rules for other vms.
13,420
edits

Navigation menu