Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - CentOS7

6 bytes added, 16:13, 23 November 2015
no edit summary
# Examine the file to see how rules are added.
# Issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">iptables-save > /etc/sysconfig/iptables-config</span></code></b> to save the rules you added with the iptables command, above. To make the iptables rules persistent, you can issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">iptables-save > /etc/sysconfig/iptables</span></code></b>
# Verify that the file ''''/etc/sysconfig/iptables''' exists.
# Restart your iptables service and test your configuration.
13,420
edits