1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-bclfs-iptables" role="wrap">
|
---|
9 | <?dbhtml filename="iptables.html"?>
|
---|
10 |
|
---|
11 | <title>IPTables-&iptables-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-bclfs-iptables">
|
---|
14 | <primary sortas="a-iptables">iptables</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <sect2 role="package">
|
---|
18 | <title/>
|
---|
19 |
|
---|
20 | <para>iptables is the userspace command line program used to configure the Linux firewall.
|
---|
21 | </para>
|
---|
22 |
|
---|
23 | </sect2>
|
---|
24 |
|
---|
25 | <sect2 role="installation">
|
---|
26 | <title>Installation of iptables</title>
|
---|
27 |
|
---|
28 | <para os="p1">Fixes Compile Issue with DO_MULTI=1:</para>
|
---|
29 |
|
---|
30 | <screen os="p2"><userinput>patch -Np1 -i ../&iptables-fixes-patch;</userinput></screen>
|
---|
31 |
|
---|
32 | <para os="a">Configure IPTables:</para>
|
---|
33 |
|
---|
34 | <screen os="b"><userinput>CC="${CC} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET} \
|
---|
35 | --libexecdir=/lib/iptables --without-kernel -enable-libipq --enable-shared</userinput></screen>
|
---|
36 |
|
---|
37 | <para os="c">Compile the package:</para>
|
---|
38 |
|
---|
39 | <screen os="d"><userinput>make</userinput></screen>
|
---|
40 |
|
---|
41 | <para os="e">Install the package:</para>
|
---|
42 |
|
---|
43 | <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
|
---|
44 |
|
---|
45 | </sect2>
|
---|
46 |
|
---|
47 | <sect2 id="contents-iptables" role="content">
|
---|
48 | <title>Contents of iptables</title>
|
---|
49 |
|
---|
50 | <segmentedlist>
|
---|
51 | <segtitle>Installed programs</segtitle>
|
---|
52 |
|
---|
53 | <seglistitem>
|
---|
54 | <seg>To be Written</seg>
|
---|
55 | </seglistitem>
|
---|
56 | </segmentedlist>
|
---|
57 |
|
---|
58 | </sect2>
|
---|
59 |
|
---|
60 | </sect1>
|
---|