Open main menu

CDOT Wiki β

Changes

OPS335 Firewall Lab

881 bytes added, 08:55, 23 January 2016
no edit summary
And then overwrite the defaults with the current state of the firewall:
<source lang='bash'>/usr/libexec/iptables/iptables.init save</source>
 
Upon completion of this lab each of your machines has a firewall protecting them from unexpected traffic. You should now have a basic understanding of the commands necessary to modify firewalls using iptables. You will be building on these rules for the rest of the course. Record the URLs of the websites you've used to figure out how to do the work.
 
'''Record steps, commands, and your observations in INVESTIGATION 2 in your OPS335 lab log-book'''
= COMPLETING THE LAB =
[[Image:lab1_signoff.png|thumb|right|300px|Students should be prepared with '''all required commands (system information) displayed in a terminal (or multiple terminals) prior to calling the instructor for signoff'''.]]
'''Arrange evidence (command output) for each of these items on your screen, then ask your instructor to review them and sign off on the lab's completion:'''
 
::<span style="color:green;font-size:1.5em;">&#x2713;</span>Listing of iptables rules.
::<span style="color:green;font-size:1.5em;">&#x2713;</span>Shell script containing your iptables rules for "Creating Customized Chains".
 
::<span style="color:green;font-size:1.5em;">&#x2713;</span> Run a shell script to submit your lab:<br>
:::'''Steps:'''
 
:::*Issue the following command to download the bash shell script:<br>'''wget x'''
:::*Run the script (don't forget to give it execute permissions):<br>
Upon completion of this lab each of your machines has a firewall protecting them from unexpected traffic. You should now have a basic understanding of the commands necessary to modify firewalls using iptables. You will be building on these rules for the rest of the course.
Record the URLs of the websites you've used to figure out how to do the work.
=EXPLORATION QUESTIONS=
13,420
edits