1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
|
<?xml version="1.0" encoding="utf-8"?>
<section version="5.0" xml:lang="ca" xml:id="drakwizard_squid"
xmlns="http://docbook.org/ns/docbook"
xmlns:ns5="http://www.w3.org/1998/Math/MathML"
xmlns:ns4="http://www.w3.org/2000/svg"
xmlns:ns3="http://www.w3.org/1999/xhtml"
xmlns:ns2="http://www.w3.org/1999/xlink"
xmlns:ns="http://docbook.org/ns/docbook">
<info>
<title xml:id="drakwizard_squid-ti1">Configura el servidor intermediari</title>
<subtitle>drakwizard squid</subtitle>
</info>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="drakwizard_squid.png" format="PNG"
revision="1" xml:id="drakwizard_squid-im1"/>
</imageobject>
</mediaobject>
<para>This tool<footnote>
<para>You can start this tool from the command line, by typing <emphasis
role="bold">drakwizard squid</emphasis> as root.</para>
</footnote> can help you to set up a
proxy server. It is a component of drakwizard which should be installed
before you can access to it.</para>
<section>
<title>What is a proxy server?</title>
<para>A proxy server is a server (a computer system or an application) that acts
as an intermediary for requests from clients seeking resources from other
servers. A client connects to the proxy server, requesting some service,
such as a file, connection, web page, or other resource available from a
different server and the proxy server evaluates the request as a way to
simplify and control its complexity. (From Wikipedia)</para>
</section>
<section>
<title>Setting up a proxy server with drakwizard squid</title>
<para>Welcome to the proxy server wizard.</para>
<procedure>
<step>
<title>Introducció</title>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="drakwizard-proxy-step1.png"
format="PNG" revision="1" xml:id="drakwizard_squid-im2"/>
</imageobject>
</mediaobject>
<para>The first page is just an introduction, click <guibutton>Next</guibutton>.</para>
</step>
<step>
<title>Selecting the proxy port</title>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="drakwizard-proxy-step2.png"
format="PNG" revision="1" xml:id="drakwizard_squid-im3"/>
</imageobject>
</mediaobject>
<para>Select the proxy port browsers will connect through, then click
<guibutton>Next</guibutton>.</para>
</step>
<step>
<title>Set Memory and Disk Usage</title>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="drakwizard-proxy-step3.png"
format="PNG" revision="1" xml:id="drakwizard_squid-im4"/>
</imageobject>
</mediaobject>
<para>Set memory and disk cache limits, then click <guibutton>Next</guibutton>.</para>
</step>
<step>
<title>Select Network Access Control</title>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="drakwizard-proxy-step4.png"
format="PNG" revision="1" xml:id="drakwizard_squid-im5"/>
</imageobject>
</mediaobject>
<para>Set visibility to local network or world, then click
<guibutton>Next</guibutton>.</para>
</step>
<step>
<title>Grant Network Access</title>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="drakwizard-proxy-step5.png"
format="PNG" revision="1" xml:id="drakwizard_squid-im6"/>
</imageobject>
</mediaobject>
<para>Grant access to local networks, then click <guibutton>Next</guibutton>.</para>
</step>
<step>
<title>Use Upper Level Proxy Server?</title>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="drakwizard-proxy-step6.png"
format="PNG" revision="1" xml:id="drakwizard_squid-im7"/>
</imageobject>
</mediaobject>
<para>Cascade through another proxy server? If no, skip next step.</para>
</step>
<step>
<title>Upper Level Proxy URL and Port</title>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="drakwizard-proxy-step7.png"
format="PNG" revision="1" xml:id="drakwizard_squid-im8"/>
</imageobject>
</mediaobject>
<para>Provide upper level proxy hostname and port, then click
<guibutton>Next</guibutton>.</para>
</step>
<step>
<title>Resum</title>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="drakwizard-proxy-step8.png"
format="PNG" revision="1" xml:id="drakwizard_squid-im9"/>
</imageobject>
</mediaobject>
<para>Take a second to check these options, then click
<guibutton>Next</guibutton>.</para>
</step>
<step>
<title>Start during boot?</title>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="drakwizard-proxy-step9.png"
format="PNG" revision="1"
xml:id="drakwizard_squid-im10"/>
</imageobject>
</mediaobject>
<para>Choose if the proxy server should be started during the boot time, then
click <guibutton>Next</guibutton>.</para>
</step>
<step>
<title>Fi</title>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="drakwizard-proxy-step10.png"
format="PNG" revision="1"
xml:id="drakwizard_squid-im11"/>
</imageobject>
</mediaobject>
<para>You're done! Click <guibutton>Finish</guibutton>.</para>
</step>
</procedure>
</section>
<section>
<title>What is done</title>
<para><itemizedlist>
<listitem>
<para>Installing the package squid if needed;</para>
</listitem>
<listitem>
<para>Saving <code>/etc/squid/squid.conf</code> in
<code>/etc/squid/squid.conf.orig;</code></para>
</listitem>
<listitem>
<para>Creating a new <code>squid.conf</code> starting from
<code>squid.conf.default</code> and adding the new parameters:</para>
<itemizedlist>
<listitem>
<para><code>cache_dir</code></para>
</listitem>
<listitem>
<para><code>localnet</code></para>
</listitem>
<listitem>
<para>cache_mem</para>
</listitem>
<listitem>
<para>http_port</para>
</listitem>
<listitem>
<para><code>level</code> 1, 2 or 3 and <code>http_access</code> according to level</para>
</listitem>
<listitem>
<para><code>cache_peer</code></para>
</listitem>
<listitem>
<para><code>visible_hostname</code></para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>Restarting <code>squid.</code></para>
</listitem>
</itemizedlist></para>
</section>
</section>
|