Changes

Jump to: navigation, search

OPS235 Lab 6 - Fedora17

71 bytes added, 16:30, 2 March 2012
no edit summary
}}
==== Additional Exercises Tasks ====
# Using the information you have learned, try on your own to achieve the same goal as above (block www access to your computer) by using the INPUT chain instead of the OUTPUT chain.
{{Admon/note | iptables Service |When your iptables service starts or at boot time it has to load the rules from the file <code>/etc/sysconfig/iptables</code>.}}
# '''Make a backup of the file <code>/etc/sysconfig/iptables</code>'''
# Examine the file to see how rules are added.
# Issue the command: <code>service iptables save</code> to save the rules you added with the iptables command, above.
# Verify that the file <code>/etc/sysconfig/iptables</code> was updated with your new rules.
# Restart your iptables service and test your configuration.
# Write a short bash script to add a rule allowing the fedora1 and fedora3 VM's to connect to <code>ssh</code> on the fedora host.
<ol>
<li value="9">'''Make a backup of the file <code>/etc/sysconfig/iptables</code>'''</li>
<li>Examine the file to see how rules are added.</li>
<li>Issue the command: <code>service iptables save</code> to save the rules you added with the iptables command, above.</li>
<li>Verify that the file <code>/etc/sysconfig/iptables</code> was updated with your new rules.</li>
<li>Restart your iptables service and test your configuration. </li>
<li>Write a short bash script to add a rule allowing the fedora1 and fedora3 VM's to connect to <code>ssh</code> on the fedora host.</li>
</ol>
'''Answer the Investigation 8 observations / questions in your lab log book.'''
13,420
edits

Navigation menu