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
|
---|
5 | the order in which the rules take effect:</para>
|
---|
6 |
|
---|
7 | <para><screen><userinput>cat > /etc/rc.d/init.d/firewall.status << "EOF"</userinput>
|
---|
8 | #!/bin/sh
|
---|
9 |
|
---|
10 | # Begin $rc_base/init.d/firewall.status
|
---|
11 |
|
---|
12 | echo "iptables.mangling:"
|
---|
13 | iptables -t mangle -v -L -n --line-numbers
|
---|
14 |
|
---|
15 | echo
|
---|
16 | echo "iptables.nat:"
|
---|
17 | iptables -t nat -v -L -n --line-numbers
|
---|
18 |
|
---|
19 | echo
|
---|
20 | echo "iptables.filter:"
|
---|
21 | iptables -v -L -n --line-numbers
|
---|
22 | <userinput>EOF</userinput></screen></para>
|
---|
23 | </sect3>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.