Changes

Jump to: navigation, search

OPS235 Lab 6 - Fedora17

35 bytes added, 16:35, 4 March 2010
Investigation 8: How do I view and configure the IPTABLES firewall? -- Basic Function/Configuration
** <code>iptables -L</code>
*You should see something similar to this:
<pre>
'''Chain INPUT (policy ACCEPT)'''
'''Chain INPUT (policy ACCEPT)target prot opt source destination'''
'''target prot opt source destinationChain FORWARD (policy ACCEPT)'''
'''Chain FORWARD (policy ACCEPT)target prot opt source destination'''
'''target prot opt source destination'''  '''Chain OUTPUT (policy ACCEPT)''' '''target prot opt source destination'''
'''target prot opt source destination'''
</pre>
Each chain has a default policy. In my example here the default policy is ACCEPT. This means that if data packets are checked and there is no rule that matches that packet in the chain the data will be allowed to pass to it's destination. Conversely, if the policy is set to DROP then the packet will be dropped if there is no match.
9
edits

Navigation menu