Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - CentOS7 - SSD

10 bytes removed, 10:48, 14 June 2016
no edit summary
==== Part 4: Introduction to Firewalls: More about iptables ====
{| width="40%" align="right" cellpadding="10"
|- valign="top"
# 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>
==== Making iptables Policies Persistent ====
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. When your iptables service starts or at boot time it has to load the rules from the file '''/etc/sysconfig/iptables-config'''.
13,420
edits