Changes

Jump to: navigation, search

OPS335 Lab 2

1 byte removed, 11:13, 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 created to set your iptables rules for vm1 for 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 setup the same firewall rules.
13,420
edits

Navigation menu