Open main menu

CDOT Wiki β

Changes

OPS335 Firewall Lab

10 bytes removed, 12:12, 23 January 2016
Practice Setting Firewall Rules
# First, issue an iptables command to set the policy to disable all '''inbound''' traffic. Issue the iptables command to list rules for verification. The remaining tasks will relate to that same '''inbound''' traffic chain.
# Issue an iptables command to delete the default ssh rule, and issue another iptables command to verify.
# Issue an iptables command to insert the SSH rule in the beginning instead of appending to the bottomchain. Issue a command to verifyVerify that did what you thought it did, then delete that rule (by number), and verify that it was deleted.# Issue an iptables command to append the SSH rule to the end of that the chain, verify, delete that same rule, and verify.
# Issue an iptables command to delete the related,established rule. Test your network connectivity between your hosts and vms. What happened?
# Issue an iptables command to restore your firewall to its default settings.
'''Record steps, commands, and your observations in INVESTIGATION 1 in your OPS335 lab log-book'''
 
=INVESTIGATION 2: BEST PRACTICES & CREATING CUSTOMIZED CHAINS=