Changes

Jump to: navigation, search

OPS235 Lab 6 - CentOS7

38 bytes added, 18:28, 4 May 2015
no edit summary
# Can we mix these policies? Try to set the FORWARD chain policy to ACCEPT. Did it work?
=== Testing iptables policies ===
# Execute the command <b><code><span style="color:#3366CC;font-size:1.2em;">iptables -L</span></code></b> and check that the policies on your INPUT and OUTPUT chain are set to DROP
|}
# <ol><li value="8"> In the OUTPUT chain, add the following rule:#: <br><b><code><span style="color:#3366CC;font-size:1.2em;">iptables -A OUTPUT -j LOG</span></code></b></li></ol>
# The above rule tells '''iptables''' to log packets and relevant information to '''/var/log/messages'''.
# This entry in the OUTPUT policy will therefore log all packets being sent out of the machine.
13,420
edits

Navigation menu