13,420
edits
Changes
no edit summary
Refer to the following [https://prezi.com/akyqt4h40oel/iptables-packet-filtering/ OPS335 NOTES] if you need to review how to use the iptables command.
# First, issue an ''iptables command'' to set the policy to disable '''all inbound traffic'''. # Issue an iptables command to list rules for verification.<br> The remaining tasks will relate to that same '''inbound''' traffic chain.: # <ol><li value="3">Issue an ''iptables command'' to delete the default ssh rule, and issue another iptables command to verify.# </li><li>Issue an ''iptables command'' to insert the SSH rule in the beginning of the chain. Verify that did what you thought it did, then delete that rule (by number), and verify that it was deleted.# </li><li>Issue an ''iptables command'' to append the SSH rule to the end of the chain, verify, delete that same rule, and verify.</li><li># Issue an ''iptables command'' to delete the related,established rule. Test your network connectivity between your hosts and vms. What happened?</li><li># Issue an ''iptables command'' to restore your firewall to its default settings.</li></ol>
'''Record steps, commands, and your observations in INVESTIGATION 1 in your OPS335 lab log-book'''