|
Lines 22-29
Link Here
|
| 22 |
version of the original article, and contains various improvements made by the |
22 |
version of the original article, and contains various improvements made by the |
| 23 |
Gentoo Linux Documentation team --> |
23 |
Gentoo Linux Documentation team --> |
| 24 |
|
24 |
|
| 25 |
<version>1.0</version> |
25 |
<version>1.1</version> |
| 26 |
<date>2005-07-28</date> |
26 |
<date>2005-08-27</date> |
| 27 |
|
27 |
|
| 28 |
<chapter> |
28 |
<chapter> |
| 29 |
<title>About this tutorial</title> |
29 |
<title>About this tutorial</title> |
|
Lines 106-123
Link Here
|
| 106 |
Before we start designing a firewall, we need to do two things. First, we need |
106 |
Before we start designing a firewall, we need to do two things. First, we need |
| 107 |
to make sure that the <c>iptables</c> command is available. As root, type |
107 |
to make sure that the <c>iptables</c> command is available. As root, type |
| 108 |
<c>iptables</c> and see if it exists. If it doesn't, then we'll need to get it |
108 |
<c>iptables</c> and see if it exists. If it doesn't, then we'll need to get it |
| 109 |
installed first. Here's how: head over to the netfilter/iptables project page |
109 |
installed first. Here's how we do that: |
| 110 |
(<uri>http://www.netfilter.org/</uri>) and grab the most recent version of |
|
|
| 111 |
<path>iptables.tar.gz</path> (currently <path>iptables-1.1.2.tar.gz</path>) you |
| 112 |
can find. Then, install it by typing in the following commands (output omitted |
| 113 |
for brevity): |
| 114 |
</p> |
110 |
</p> |
| 115 |
|
111 |
|
| 116 |
<pre caption="Installing necessary tools"> |
112 |
<pre caption="Installing necessary tools"> |
| 117 |
# <i>tar xzvf iptables-1.1.2.tar.gz</i> |
113 |
# <i>emerge iptables</i> |
| 118 |
# <i>cd iptables-1.1.2</i> |
|
|
| 119 |
# <i>make</i> |
| 120 |
# <i>make install</i> |
| 121 |
</pre> |
114 |
</pre> |
| 122 |
|
115 |
|
| 123 |
</body> |
116 |
</body> |