13,420
edits
Changes
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
|}
# 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.