source: clfs-embedded/BOOK/beyond-clfs/common/iptables.xml@ 82fb4aa

Last change on this file since 82fb4aa was bd48e48, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Updated CLFS-Embedded book sources to use DocBook-XML DTD 4.5.

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[80c45b9]1<?xml version="1.0" encoding="ISO-8859-1"?>
[bd48e48]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[80c45b9]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
[e8916bf]11 <title>IPTables-&iptables-version;</title>
[80c45b9]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
[3c65c99]28 <para os="p1">Fixes Compile Issue with DO_MULTI=1:</para>
29
30 <screen os="p2"><userinput>patch -Np1 -i ../&iptables-domulti-patch;</userinput></screen>
31
[80c45b9]32 <para os="a">Compile the package:</para>
33
[3c65c99]34<screen os="b"><userinput>make CC="${CC} ${BUILD}" COPT_FLAGS="-Os" LD=${LD} DO_MULTI=1 PREFIX=/usr \
[2704249]35 KERNEL_DIR=${CLFS}/lib/modules/&linux-version;/build LIBDIR=/lib BINDIR=/sbin</userinput></screen>
[80c45b9]36
[9b0a535]37 <para os="c">Install the package:</para>
[80c45b9]38
[82b88f2]39<screen os="d"><userinput>make CC="${CC} ${BUILD}" COPT_FLAGS="-Os" LD=${LD} DO_MULTI=1 PREFIX=/usr \
40 KERNEL_DIR=${CLFS}/lib/modules/&linux-version;/build LIBDIR=/lib BINDIR=/sbin DESTDIR=${CLFS} install</userinput></screen>
[80c45b9]41
42 </sect2>
43
44 <sect2 id="contents-iptables" role="content">
45 <title>Contents of iptables</title>
46
47 <segmentedlist>
48 <segtitle>Installed programs</segtitle>
49
50 <seglistitem>
51 <seg>To be Written</seg>
52 </seglistitem>
53 </segmentedlist>
54
55 </sect2>
56
57</sect1>
Note: See TracBrowser for help on using the repository browser.