source: postlfs/security/firewalling/status.xml@ 25357c89

initial-import reorg
Last change on this file since 25357c89 was f45b1953, checked in by Mark Hymers <markh@…>, 22 years ago

Initial revision

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 653 bytes
Line 
1<sect3 id="postlfs-security-fw-status" xreflabel="/etc/rc.d/init.d/firewall.status">
2<title>firewall.status</title>
3
4<para>If you'd like to have a look at the chains your firewall consists of and
5the order in which the rules take effect:</para>
6
7<para><screen><userinput>cat &gt; /etc/rc.d/init.d/firewall.status &lt;&lt; "EOF"</userinput>
8#!/bin/sh
9
10# Begin $rc_base/init.d/firewall.status
11
12echo "iptables.mangling:"
13iptables -t mangle -v -L -n --line-numbers
14
15echo
16echo "iptables.nat:"
17iptables -t nat -v -L -n --line-numbers
18
19echo
20echo "iptables.filter:"
21iptables -v -L -n --line-numbers
22<userinput>EOF</userinput></screen></para>
23</sect3>
Note: See TracBrowser for help on using the repository browser.