Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - Fedora17

7 bytes added, 19:46, 13 March 2011
Investigation 8: How do I view and configure the IPTABLES firewall? -- Basic Function/Configuration
{{Admon/important | Non-Persistent Changes to your Host System | Complete this lab on your host system (f13host).
It should be noted that all of the commands that we do here with iptables will not be persistent unless you have your configuration. That means if you re-boot, the default iptables configuration will be loaded.}}1
# As root on the fedora host enter the following commands at the prompt:
# Can we mix these policies? Try to set the FORWARD chain policy to ACCEPT. Did it work?
'''==== Testing policies'''====
# Execute the command <code>iptables -L</code> and check that the policies on your INPUT and OUTPUT chain are set to DROP
#* <code>iptables -F</code>
'''==== Additional Exercises'''====
# 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.