<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Squid | Marc Leroi</title>
	<atom:link href="https://www.marcleroi.be/tag/squid/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.marcleroi.be</link>
	<description></description>
	<lastBuildDate>Wed, 27 Nov 2024 10:18:27 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.marcleroi.be/wp-content/uploads/2023/02/logo.png</url>
	<title>Squid | Marc Leroi</title>
	<link>https://www.marcleroi.be</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Un proxy Open Source avec PfSense</title>
		<link>https://www.marcleroi.be/2021/10/17/un-proxy-open-source-avec-pfsense/</link>
					<comments>https://www.marcleroi.be/2021/10/17/un-proxy-open-source-avec-pfsense/#comments</comments>
		
		<dc:creator><![CDATA[Marc]]></dc:creator>
		<pubDate>Sun, 17 Oct 2021 13:17:29 +0000</pubDate>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Réseau]]></category>
		<category><![CDATA[PfSense]]></category>
		<category><![CDATA[Proxy]]></category>
		<category><![CDATA[Squid]]></category>
		<category><![CDATA[SquidGuard]]></category>
		<guid isPermaLink="false">https://www.marcleroi.be/?p=1185</guid>

					<description><![CDATA[<p>Introduction Un serveur mandataire ou proxy (de l&#8217;anglais) est un serveur informatique qui a pour fonction de relayer des requêtes entre un poste client et un serveur. Les serveurs mandataires sont notamment utilisés pour assurer les fonctions suivantes&#160;: L&#8217;utilité des serveurs mandataires est importante, notamment dans le cadre de la sécurisation des systèmes d&#8217;information. Ce &#8230; <a href="https://www.marcleroi.be/2021/10/17/un-proxy-open-source-avec-pfsense/" class="more-link">Continuer la lecture de <span class="screen-reader-text">Un proxy Open Source avec PfSense</span> <span class="meta-nav">&#8594;</span></a></p>
The post <a href="https://www.marcleroi.be/2021/10/17/un-proxy-open-source-avec-pfsense/">Un proxy Open Source avec PfSense</a> first appeared on <a href="https://www.marcleroi.be">Marc Leroi</a>.]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading">Introduction</h2>



<p class="wp-block-paragraph">Un <strong>serveur mandataire</strong> ou <em><strong>proxy</strong></em> (de l&rsquo;<a href="https://www.classicistranieri.com/fr/articles/a/n/g/Anglais.html">anglais</a>) est un <a href="https://www.classicistranieri.com/fr/articles/s/e/r/Serveur_informatique.html">serveur informatique</a> qui a pour fonction de relayer des requêtes entre un poste <a href="https://www.classicistranieri.com/fr/articles/c/l/i/Client-serveur.html">client et un serveur</a>. Les serveurs mandataires sont notamment utilisés pour assurer les fonctions suivantes&nbsp;:</p>



<ul class="wp-block-list">
<li><a href="https://www.classicistranieri.com/fr/articles/m/%C3%A9/m/M%C3%A9moire_cache.html">mémoire cache</a>&nbsp;;</li>



<li>la journalisation des requêtes («<em>&nbsp;logging&nbsp;</em>»)&nbsp;;</li>



<li>la sécurité du réseau local&nbsp;;</li>



<li>le filtrage et l&rsquo;anonymat.</li>
</ul>



<p class="wp-block-paragraph">L&rsquo;utilité des serveurs mandataires est importante, notamment dans le cadre de la <a href="https://www.classicistranieri.com/fr/articles/s/%C3%A9/c/S%C3%A9curit%C3%A9_des_syst%C3%A8mes_d%27information.html">sécurisation des systèmes d&rsquo;information</a>.</p>



<figure class="wp-block-image size-full"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/image.png" data-rel="lightbox-image-0" data-rl_title="" data-rl_caption="" title=""><img fetchpriority="high" decoding="async" width="872" height="287" src="https://www.marcleroi.be/wp-content/uploads/2021/10/image.png" alt="" class="wp-image-1188" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/image.png 872w, https://www.marcleroi.be/wp-content/uploads/2021/10/image-300x99.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/image-768x253.png 768w" sizes="(max-width: 872px) 100vw, 872px" /></a></figure>



<p class="wp-block-paragraph">Ce tuto va vous permettre de créer un proxy avec filtrage et logging.<br>Nous allons utiliser <a href="https://www.pfsense.org/" target="_blank" rel="noreferrer noopener">PfSense</a> comme base de travail.<br>A l&rsquo;installation de base, nous allons ajouter les packages :</p>



<ul class="wp-block-list">
<li>Squid</li>



<li>SquidGuard</li>



<li>LightSquid</li>
</ul>



<h2 class="wp-block-heading">Prérequis</h2>



<ul class="wp-block-list">
<li>Une machine x86 physique ou virtuelle avec une interface réseau</li>



<li>un serveur DNS</li>



<li>un serveur DHCP</li>



<li>un firewall</li>
</ul>



<h2 class="wp-block-heading">Installation</h2>



<p class="wp-block-paragraph">Je vous invite à télécharger l&rsquo;ISO de PfSense sur le site : <a href="https://www.pfsense.org/download/" target="_blank" rel="noreferrer noopener">https://www.pfsense.org/download/</a></p>



<p class="wp-block-paragraph">PfSense peut être installé sur une machine physique ou sur une machine virtuelle.<br>Pour ma part, il sera installé sur VWMware ESXi 6.5.</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-171859-1.png" data-rel="lightbox-image-1" data-rl_title="" data-rl_caption="" title=""><img decoding="async" width="300" height="167" data-id="1208" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-171859-1-300x167.png" alt="" class="wp-image-1208" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-171859-1-300x167.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-171859-1.png 711w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Le CLUF</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172023-1.png" data-rel="lightbox-image-2" data-rl_title="" data-rl_caption="" title=""><img decoding="async" width="300" height="167" data-id="1209" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172023-1-300x167.png" alt="" class="wp-image-1209" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172023-1-300x167.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172023-1.png 711w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Sélectionner « Install »</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172217-1.png" data-rel="lightbox-image-3" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="167" data-id="1210" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172217-1-300x167.png" alt="" class="wp-image-1210" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172217-1-300x167.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172217-1.png 711w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Choisir sa disposition de clavier</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172232-1.png" data-rel="lightbox-image-4" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="167" data-id="1211" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172232-1-300x167.png" alt="" class="wp-image-1211" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172232-1-300x167.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172232-1.png 711w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Choisir son type de système de fichiers</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172257-1.png" data-rel="lightbox-image-5" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="167" data-id="1212" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172257-1-300x167.png" alt="" class="wp-image-1212" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172257-1-300x167.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172257-1.png 711w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Patience&#8230;</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172336-1.png" data-rel="lightbox-image-6" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="167" data-id="1213" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172336-1-300x167.png" alt="" class="wp-image-1213" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172336-1-300x167.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172336-1.png 711w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Sélectionner « No »</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172349-1.png" data-rel="lightbox-image-7" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="167" data-id="1214" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172349-1-300x167.png" alt="" class="wp-image-1214" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172349-1-300x167.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-172349-1.png 711w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Sélectionner « Reboot »</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174050-1.png" data-rel="lightbox-image-8" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="180" data-id="1215" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174050-1-300x180.png" alt="" class="wp-image-1215" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174050-1-300x180.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174050-1.png 734w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Ne pas configurer de Vlan</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174119-1.png" data-rel="lightbox-image-9" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="180" data-id="1216" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174119-1-300x180.png" alt="" class="wp-image-1216" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174119-1-300x180.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174119-1.png 734w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Introduire le nom de l&rsquo;interface réseau</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174133-1.png" data-rel="lightbox-image-10" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="180" data-id="1217" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174133-1-300x180.png" alt="" class="wp-image-1217" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174133-1-300x180.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174133-1.png 734w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Presser « Enter »</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174147-1.png" data-rel="lightbox-image-11" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="180" data-id="1218" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174147-1-300x180.png" alt="" class="wp-image-1218" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174147-1-300x180.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174147-1.png 734w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Enter « Y »</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174236-1.png" data-rel="lightbox-image-12" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="180" data-id="1219" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174236-1-300x180.png" alt="" class="wp-image-1219" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174236-1-300x180.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174236-1.png 734w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Sélectionner l&rsquo;option 2 pour configurer l&rsquo;adresse IP</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174258-1.png" data-rel="lightbox-image-13" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="180" data-id="1220" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174258-1-300x180.png" alt="" class="wp-image-1220" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174258-1-300x180.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174258-1.png 734w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Je sélectionne l&rsquo;option DHCP pour attribuer une IP</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174313-1.png" data-rel="lightbox-image-14" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="180" data-id="1221" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174313-1-300x180.png" alt="" class="wp-image-1221" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174313-1-300x180.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174313-1.png 734w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Introduire « Y »</figcaption></figure>



<figure class="wp-block-image size-medium"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174405-1.png" data-rel="lightbox-image-15" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="300" height="180" data-id="1222" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174405-1-300x180.png" alt="" class="wp-image-1222" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174405-1-300x180.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-174405-1.png 734w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption class="wp-element-caption">Et voilà</figcaption></figure>
</figure>



<p class="wp-block-paragraph">A présent, nous allons pouvoir passer via l&rsquo;interface Web de management de PfSense via http://&lt;IP&gt;<br>Pour Configurer PfSense et installer les packages nécessaires au fonctionnement du proxy.</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180816.png" data-rel="lightbox-image-16" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1230" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180816-1024x675.png" alt="" class="wp-image-1230" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180816-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180816-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180816-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180816.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Le login/password et admin/pfsense</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180829.png" data-rel="lightbox-image-17" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1231" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180829-1024x675.png" alt="" class="wp-image-1231" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180829-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180829-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180829-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180829.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">« Next »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180837.png" data-rel="lightbox-image-18" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1232" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180837-1024x675.png" alt="" class="wp-image-1232" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180837-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180837-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180837-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-180837.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">« Next »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181004.png" data-rel="lightbox-image-19" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1234" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181004-1024x675.png" alt="" class="wp-image-1234" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181004-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181004-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181004-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181004.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Introduire le hostname, le domainet et les ip&rsquo;s des DNS</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181022.png" data-rel="lightbox-image-20" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1235" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181022-1024x675.png" alt="" class="wp-image-1235" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181022-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181022-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181022-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181022.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Choisir son serveur NTP et la timezone</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181045.png" data-rel="lightbox-image-21" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1236" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181045-1024x675.png" alt="" class="wp-image-1236" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181045-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181045-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181045-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181045.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">« Next »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181114.png" data-rel="lightbox-image-22" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1237" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181114-1024x675.png" alt="" class="wp-image-1237" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181114-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181114-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181114-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181114.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Introduire un nouveau mot de passe pour l&rsquo;utilisateur « admin »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181125.png" data-rel="lightbox-image-23" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1238" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181125-1024x675.png" alt="" class="wp-image-1238" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181125-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181125-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181125-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181125.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Cliquer sur « Reload »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181142.png" data-rel="lightbox-image-24" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1239" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181142-1024x675.png" alt="" class="wp-image-1239" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181142-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181142-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181142-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181142.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Cliquer sur « Finish »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181155.png" data-rel="lightbox-image-25" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1240" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181155-1024x675.png" alt="" class="wp-image-1240" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181155-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181155-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181155-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181155.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">« Accept »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181203.png" data-rel="lightbox-image-26" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1241" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181203-1024x675.png" alt="" class="wp-image-1241" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181203-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181203-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181203-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181203.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">« Close »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181219.png" data-rel="lightbox-image-27" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1242" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181219-1024x675.png" alt="" class="wp-image-1242" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181219-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181219-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181219-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181219.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Sélectionner le « Package Manager »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181245.png" data-rel="lightbox-image-28" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1243" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181245-1024x675.png" alt="" class="wp-image-1243" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181245-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181245-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181245-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181245.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Dans « Available Packages ». rechercher les packages liés à Squid</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181254.png" data-rel="lightbox-image-29" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1244" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181254-1024x675.png" alt="" class="wp-image-1244" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181254-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181254-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181254-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181254.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Procéder à l&rsquo;installation des pacakges</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181306.png" data-rel="lightbox-image-30" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1245" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181306-1024x675.png" alt="" class="wp-image-1245" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181306-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181306-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181306-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181306.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181356.png" data-rel="lightbox-image-31" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1246" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181356-1024x675.png" alt="" class="wp-image-1246" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181356-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181356-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181356-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181356.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181421.png" data-rel="lightbox-image-32" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1247" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181421-1024x675.png" alt="" class="wp-image-1247" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181421-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181421-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181421-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-181421.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Et voilà&#8230;</figcaption></figure>
</figure>



<h2 class="wp-block-heading">Configuration de Squid</h2>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183105.png" data-rel="lightbox-image-33" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1254" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183105-1024x675.png" alt="" class="wp-image-1254" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183105-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183105-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183105-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183105.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Sélectionner « Squid Proxy Server »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183233.png" data-rel="lightbox-image-34" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1256" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183233-1024x675.png" alt="" class="wp-image-1256" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183233-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183233-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183233-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183233.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Faire un « Save » dans l&rsquo;option « LocalCache » pour l&rsquo;initialiser</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183244.png" data-rel="lightbox-image-35" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1257" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183244-1024x675.png" alt="" class="wp-image-1257" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183244-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183244-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183244-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183244.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Cocher « Check to enable the Squid proxy »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183322.png" data-rel="lightbox-image-36" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1258" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183322-1024x675.png" alt="" class="wp-image-1258" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183322-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183322-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183322-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-183322.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Coocher « This will enable the access log » et « Save »</figcaption></figure>
</figure>



<h2 class="wp-block-heading">Configuration de SquidGuard</h2>



<p class="wp-block-paragraph">SquiGuard est un « add-on » pour Squid qui va vous permeetre d&rsquo;effectuer du filtrage basé sur des blacklists/whitelists.</p>



<p class="wp-block-paragraph">J&rsquo;utilise la blacklist de L&rsquo;Université de Toulouse.<br><a href="https://dsi.ut-capitole.fr/blacklists/" target="_blank" rel="noreferrer noopener">https://dsi.ut-capitole.fr/blacklists/</a></p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184226.png" data-rel="lightbox-image-37" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1262" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184226-1024x675.png" alt="" class="wp-image-1262" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184226-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184226-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184226-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184226.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Sélectionner « SquiGuard Proxy Filter »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184242.png" data-rel="lightbox-image-38" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1263" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184242-1024x675.png" alt="" class="wp-image-1263" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184242-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184242-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184242-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184242.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Cocher « Check this option to enable squidGuard »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184429.png" data-rel="lightbox-image-39" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1264" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184429-1024x675.png" alt="" class="wp-image-1264" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184429-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184429-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184429-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184429.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Cocher « Check this option to enable blacklist » et introduire l&rsquo;URL de la blacklist</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184508.png" data-rel="lightbox-image-40" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1265" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184508-1024x675.png" alt="" class="wp-image-1265" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184508-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184508-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184508-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184508.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Effectuer le download de la blacklist</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184733.png" data-rel="lightbox-image-41" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1267" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184733-1024x675.png" alt="" class="wp-image-1267" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184733-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184733-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184733-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184733.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Sélectionner les catégories que vous désirez filtrer<br></figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184745.png" data-rel="lightbox-image-42" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1268" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184745-1024x675.png" alt="" class="wp-image-1268" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184745-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184745-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184745-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184745.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Attention, le « all » est en deny par défaut, ce qui filtre tous les sites</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184803.png" data-rel="lightbox-image-43" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="675" data-id="1269" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184803-1024x675.png" alt="" class="wp-image-1269" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184803-1024x675.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184803-300x198.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184803-768x506.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-184803.png 1439w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Activer le « safrsearch » pour rendre votre moteur de recherche « safe »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-222545-2.png" data-rel="lightbox-image-44" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="640" data-id="1274" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-222545-2-1024x640.png" alt="" class="wp-image-1274" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-222545-2-1024x640.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-222545-2-300x188.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-222545-2-768x480.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-222545-2.png 1444w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Ne pas oublier de cliquer sur « Save » pour valider la configuration</figcaption></figure>
</figure>



<h2 class="wp-block-heading">Configuration de LightSquid</h2>



<p class="wp-block-paragraph">LightSquid va vous permettre de faire du reporting sur les accès Squid.</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223415.png" data-rel="lightbox-image-45" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="640" data-id="1276" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223415-1024x640.png" alt="" class="wp-image-1276" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223415-1024x640.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223415-300x188.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223415-768x480.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223415.png 1444w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Sélectionner « Squid Proxy Reports »</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223440.png" data-rel="lightbox-image-46" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="640" data-id="1277" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223440-1024x640.png" alt="" class="wp-image-1277" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223440-1024x640.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223440-300x188.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223440-768x480.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223440.png 1444w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223449.png" data-rel="lightbox-image-47" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="640" data-id="1278" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223449-1024x640.png" alt="" class="wp-image-1278" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223449-1024x640.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223449-300x188.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223449-768x480.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223449.png 1444w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223534.png" data-rel="lightbox-image-48" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="640" data-id="1279" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223534-1024x640.png" alt="" class="wp-image-1279" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223534-1024x640.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223534-300x188.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223534-768x480.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223534.png 1444w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223607.png" data-rel="lightbox-image-49" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="1024" height="640" data-id="1280" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223607-1024x640.png" alt="" class="wp-image-1280" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223607-1024x640.png 1024w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223607-300x188.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223607-768x480.png 768w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-223607.png 1444w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>
</figure>



<h2 class="wp-block-heading">Configuration manuelle du proxy</h2>



<p class="wp-block-paragraph">Les écrans ci-dessous sont propres à Linux</p>



<p class="wp-block-paragraph">Vous avez 2 possibilités:</p>



<ul class="wp-block-list">
<li>La configuration manuelle du proxy</li>
</ul>



<figure class="wp-block-image size-full"><a href="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-224052.png" data-rel="lightbox-image-50" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="802" height="674" src="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-224052.png" alt="" class="wp-image-1283" srcset="https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-224052.png 802w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-224052-300x252.png 300w, https://www.marcleroi.be/wp-content/uploads/2021/10/Screenshot-2021-10-16-224052-768x645.png 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></a></figure>



<ul class="wp-block-list">
<li>par l&rsquo;ajout de l&rsquo;URL du serveur WEB hébergeant votre fichier de configuration</li>
</ul>



<figure class="wp-block-image size-full"><a href="https://www.marcleroi.be/wp-content/uploads/2023/07/image-1.png" data-rel="lightbox-image-51" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="755" height="641" src="https://www.marcleroi.be/wp-content/uploads/2023/07/image-1.png" alt="" class="wp-image-1892" srcset="https://www.marcleroi.be/wp-content/uploads/2023/07/image-1.png 755w, https://www.marcleroi.be/wp-content/uploads/2023/07/image-1-300x255.png 300w" sizes="auto, (max-width: 755px) 100vw, 755px" /></a></figure>



<h2 class="wp-block-heading">Configuration automatique du proxy</h2>



<h3 class="wp-block-heading">Fichier PAC et WPAD</h3>



<h4 class="wp-block-heading">Introduction</h4>



<p class="wp-block-paragraph">Pour déployer automatiquement l&rsquo;adresse de votre proxy, nous allons créer un un fichier proxy.pac.</p>



<p class="wp-block-paragraph">Extrait de Wikipédia<br><a href="https://fr.wikipedia.org/wiki/Fichier_.PAC" target="_blank" rel="noreferrer noopener">https://fr.wikipedia.org/wiki/Fichier_.PAC</a><br>Le <a href="https://fr.wikipedia.org/wiki/Navigateur_web">navigateur</a> va chercher ce fichier PAC en priorité. Les URL qu’il contient peuvent être configurées manuellement, ou déterminées automatiquement par le WPAD (<a href="https://fr.wikipedia.org/w/index.php?title=Web_Proxy_Autodiscovery_Protocol&amp;action=edit&amp;redlink=1">Web Proxy Autodiscovery Protocol</a>&nbsp;<a href="https://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol">(en)</a><sup><a href="https://fr.wikipedia.org/wiki/Fichier_.PAC#cite_note-1">1</a></sup>).</p>



<p class="wp-block-paragraph">Un fichier PAC contient une <a href="https://fr.wikipedia.org/wiki/Fonction_informatique">fonction</a> en <a href="https://fr.wikipedia.org/wiki/JavaScript">JavaScript</a> appelée « FindProxyForURL(url, host) ». Cette <a href="https://fr.wikipedia.org/wiki/Fonction_informatique">fonction</a> retourne une <a href="https://fr.wikipedia.org/wiki/Cha%C3%AEne_de_caract%C3%A8res">chaîne de caractères</a> avec une ou plusieurs spécifications (règles) sur la façon d&rsquo;y accéder. Ces règles amènent le <a href="https://fr.wikipedia.org/wiki/Navigateur_web">navigateur web</a> à utiliser un serveur <a href="https://fr.wikipedia.org/wiki/Proxy">proxy</a> particulier ou à se connecter directement.</p>



<h4 class="wp-block-heading">Prérequis</h4>



<p class="wp-block-paragraph">Un fichier proxy.pac doit être déployer à travers un serveur web.<br>Perso, j&rsquo;utilise un serveur Apache.<br>Voici un lien pour vous aider à installer un serveur Apache sous Ubuntu :</p>



<p class="wp-block-paragraph"><a href="https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-20-04-quickstart-fr">https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-20-04-quickstart-fr</a></p>



<p class="wp-block-paragraph">Pour l&rsquo;extension .pac soit prise en charge par votre serveur Web Apache, il faut ajout un fichier .htaccess contenant :</p>



<pre class="wp-block-code"><code>AddType application/x-ns-proxy-autoconfig .pac</code></pre>



<p class="wp-block-paragraph">Dans le répertoire contenant votre fichier proxy.pac</p>



<p class="wp-block-paragraph">Créez, également, un symbolic link wpad.dat vers votre fichier proxy.pac. Exemple:</p>



<pre class="wp-block-code"><code>ln -s /var/www/html/proxy.pac /var/www/html/wpad.dat</code></pre>



<h3 class="wp-block-heading">Exemple de fichier proxy.pac</h3>



<pre class="EnlighterJSRAW" data-enlighter-language="js" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">function FindProxyForURL(url, host)
{
   //Les adresses privées n'utilisent pas le proxy
   if (isInNet(host, "192.168.0.0", "255.255.0.0")) {
      return "DIRECT";
      if (isInNet(host, "10.0.0.0", "255.0.0.0")) {
      return "DIRECT";
   // les urls suffixées domain.local n'utilisent pas le proxy
   if (shExpMatch(url, "*.domain.local//*"))
      return "DIRECT";
   } else {
      // définition du proxy pour l'http et l'https
      if (shExpMatch(url, "http:*")) 
         return "PROXY 172.16.1.153:3128" ;
      if (shExpMatch(url, "https:*"))
         return "PROXY 172.16.1.153:3128" ;
      return "DIRECT";
   }
}</pre>



<p class="wp-block-paragraph"></p>



<h3 class="wp-block-heading">Propagation via DNS</h3>



<p class="wp-block-paragraph"><strong>Remarque</strong>: La propagation de la configuration wpad/pac via DNS/DHCP n&rsquo;est valable que pour des machines Windows.</p>



<p class="wp-block-paragraph">Pour propager votre configuration proxy via un serveur DNS.<br>Vous devez créer une entrée wpad soit un A pointant vers l&rsquo;IP du serveur web hébergeant le fichier wpad/pac ou un CNAME pointant vers le FQDN du serveur web hébergeant le fichier wpad/pac.</p>



<pre class="wp-block-code"><code>wpad.mle.	IN	A	172.16.1.1</code></pre>



<p class="wp-block-paragraph">ou</p>



<pre class="wp-block-code"><code>wpad.mle.	IN	CNAME	pacserver.mle.</code></pre>



<h3 class="wp-block-heading">Propagation par DHCP</h3>



<p class="wp-block-paragraph">La propagation par DHCP de la configuration WPAD est principalement supporté par Windows.</p>



<p class="wp-block-paragraph">Vous devez configurer l&rsquo;option 252 qui pointera vers l&rsquo;URL de votre fichier wpad.dat. Exemple :<br>http://pacserver.mle/wpad.dat</p>



<h2 class="wp-block-heading">Références</h2>



<p class="wp-block-paragraph"><a href="http://findproxyforurl.com" target="_blank" rel="noreferrer noopener">http://findproxyforurl.com</a><br><a href="https://fr.wikipedia.org/wiki/Fichier_.PAC" target="_blank" rel="noreferrer noopener">https://fr.wikipedia.org/wiki/Fichier_.PAC</a><br><a href="https://www.pfsense.org/" target="_blank" rel="noreferrer noopener">https://www.pfsense.org/</a></p>The post <a href="https://www.marcleroi.be/2021/10/17/un-proxy-open-source-avec-pfsense/">Un proxy Open Source avec PfSense</a> first appeared on <a href="https://www.marcleroi.be">Marc Leroi</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.marcleroi.be/2021/10/17/un-proxy-open-source-avec-pfsense/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1185</post-id>	</item>
	</channel>
</rss>
