<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=1163551&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / Compréhension réseaux et web]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=1163551</link>
		<description><![CDATA[Les sujets les plus récents dans Compréhension réseaux et web.]]></description>
		<lastBuildDate>Fri, 18 Jan 2013 09:11:50 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12245741#p12245741</link>
			<description><![CDATA[<p>wget -q ....<br />à comparer avec </p><div class="codebox"><pre><code>nslookup target.dyndns.tgt</code></pre></div><p>Si j&#039;ai un conseil à te donner, commence par le ssh, avant de t&#039;embarquer dans lamp.<br />Dans le NAT, tu as le 22tcp à rediriger sur l&#039;ip privée (192.168.1.x) de ton serveur.<br />/etc/hosts est à renseigner également.<br />le ssh a un usage intranet &amp; wan</p><div class="codebox"><pre><code>ssh toto@target.dyndns.tgt</code></pre></div><p>depuis un poste client, toto cherche à se connecter à son serveur (target.dyndns.tgt), qui écoute (LISTEN) sur le port 22. toto fait une requête cliente. toto est un user unix sur le serveur qui dispose d&#039;un home.</p><p>le dhcp de ta box délivre aussi une ip privée à ton serveur. <br />Pour lui réserver cettre adresse de façon permanente (c&#039;est peut-être là ton problème), la méthode la plus efficace est de vérouiller son adresse MAC sur cette ip.</p><div class="codebox"><pre><code>sudo ifconfig | grep -i HWaddr</code></pre></div><p>l&#039;adresse mac &amp; physique est genre&#160; 00:15:17:e6:91:ab<br />à renseigner dans l&#039;onglet de ta box, &quot;baux permanents&quot; ou &quot;ouverture de ports&quot; ou &quot; ...&quot;. Selon les *box, modem-routeur, cela peut s&#039;appeler autrement. En gros, tu cherches à associer une adresse mac à une ip privée genre 192.168.1.7</p><p>nb: si tu as plusieurs ethx (eth0,eth1,eth2 ..., ) <br />sudo ifconfig<br />et surf un peu sur internet et regarde Octets transmis &amp; reçus .<br />sur un serveur, tape lynx ou wget et télécharge n&#039;importe quoi.</p>]]></description>
			<author><![CDATA[dummy@example.com (Titouan)]]></author>
			<pubDate>Fri, 18 Jan 2013 09:11:50 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12245741#p12245741</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12233871#p12233871</link>
			<description><![CDATA[<p>à quelle adresse tentes tu de te connecter depuis l&#039;exterieur ? Si tu essaye depuis l&#039;adresse dyndns et qu&#039;elle n&#039;est pas configurée, ça me semble normal que ça ne fonctionne pas...<br />Fais un test avec ton ip public, pour la connaitre, tu peux utiliser la commande </p><div class="codebox"><pre><code>wget -q www.monip.org -O - | iconv -f iso8859-1 -t utf8 | sed -nre &#039;s/^.* (([0-9]{1,3}\.){3}[0-9]{1,3}).*$/\1/p&#039; </code></pre></div><p>Tu tapes directement l&#039;adresse que te renvoit la commande dans la barre d&#039;url de firefox (ou de ton navigateur) et si tu es connecté à ton site c&#039;est qu&#039;il est accessible depuis l&#039;exterieur</p>]]></description>
			<author><![CDATA[dummy@example.com (vince06fr)]]></author>
			<pubDate>Wed, 16 Jan 2013 23:01:06 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12233871#p12233871</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12223631#p12223631</link>
			<description><![CDATA[<p>peut etre. j&#039;ai pas fait la configuration de dyndns<br />peut etre là le probleme .</p><p>c&#039;est que aussi je me retrouve pas sur ce site</p>]]></description>
			<author><![CDATA[dummy@example.com (thierclap)]]></author>
			<pubDate>Tue, 15 Jan 2013 23:39:15 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12223631#p12223631</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12199271#p12199271</link>
			<description><![CDATA[<p>Ça ressemble à un probleme de pare-feu, peut être une fonction dans la box</p>]]></description>
			<author><![CDATA[dummy@example.com (vince06fr)]]></author>
			<pubDate>Mon, 14 Jan 2013 00:37:46 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12199271#p12199271</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12191231#p12191231</link>
			<description><![CDATA[<p>Oui <br />voici ce que j&#039;ai fais </p><p>nom: apache<br />tcp<br />port : 80<br />adresse ip destination: 192.x.x.x (ip fixhe de ma machine)<br />port destination :80</p>]]></description>
			<author><![CDATA[dummy@example.com (thierclap)]]></author>
			<pubDate>Sun, 13 Jan 2013 13:38:44 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12191231#p12191231</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12190641#p12190641</link>
			<description><![CDATA[<p>Pas important, ça ne change rien, ça prouve que apache écoute bien en local</p><p>Donc soit ta redirection de port est mal configurer dans ta box soit ton pare-feu te bloque<br />Tu redirige bien le port 80?</p>]]></description>
			<author><![CDATA[dummy@example.com (vince06fr)]]></author>
			<pubDate>Sun, 13 Jan 2013 12:46:34 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12190641#p12190641</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12187481#p12187481</link>
			<description><![CDATA[<p>mon site apparaît bien....<br />mais j ai changer l&#039;adresse du local host dans le fichier</p><div class="codebox"><pre><code> /etc/hosts</code></pre></div><p>pour le mettre avec mon ip fixe local...</p>]]></description>
			<author><![CDATA[dummy@example.com (thierclap)]]></author>
			<pubDate>Sun, 13 Jan 2013 02:42:55 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12187481#p12187481</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12187441#p12187441</link>
			<description><![CDATA[<p>ouvre un navigateur internet à ces adresses et dis moi si ta page d&#039;accueil apparait</p><p><a href="http://localhost/">http://localhost/</a><br /><a href="http://127.0.0.1/">http://127.0.0.1/</a></p><ul><li><p>Si elle apparait c&#039;est que ta redirection de port sur ta box n&#039;est pas bonne ou que ton pare-feu te bloque</p></li><li><p>Si elle n&#039;apparait pas, c&#039;est que ta config d&#039;apache n&#039;est pas bonne</p></li></ul>]]></description>
			<author><![CDATA[dummy@example.com (vince06fr)]]></author>
			<pubDate>Sun, 13 Jan 2013 02:24:20 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12187441#p12187441</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12186901#p12186901</link>
			<description><![CDATA[<p>j&#039;ai configuré comme indiquer par mon opérateur sfr . <br />mais je n&#039;ai pas encore ma page d&#039;accueil .</p>]]></description>
			<author><![CDATA[dummy@example.com (thierclap)]]></author>
			<pubDate>Sun, 13 Jan 2013 00:32:52 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12186901#p12186901</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12164201#p12164201</link>
			<description><![CDATA[<p>Il faut que tu ouvre le port 80 et ton site sera disponible sur le web depuis ton ip publique <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /><br />normalement si tu as une ubuntu le parefeu est désactivé, pour vérifier tape</p><div class="codebox"><pre><code>$ sudo ufw status verbose</code></pre></div><p>si tu obtiens</p><div class="codebox"><pre><code>État : inactif</code></pre></div><p> c&#039;est que le parefeu est inactif, tu n&#039;as donc pas de manip à faire sauf si tu veux l&#039;activer<br />si tu obtiens</p><div class="codebox"><pre><code>État : actif
Journalisation : on (low)
Par défaut : deny (entrant), allow (sortant)</code></pre></div><p>alors c&#039;est que le parefeu ne laisse rien rentrer et il faut donc autoiser le port 80 en tcp</p><div class="codebox"><pre><code>$ sudo ufw allow 80/tcp</code></pre></div><p>Maintenat il faut aussi que tu redirige le port 80 sur ta box vers le port 80 de ta machine, ça se fait depuis l&#039;interface de configuration de ta box, selon la box la methode peut être un peu differente, je te laisse donc rechercher la bonne manip<br />pour connaitre l&#039;adresse ip privé de ton serveur la commande est </p><div class="codebox"><pre><code>$ ifconfig</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (vince06fr)]]></author>
			<pubDate>Fri, 11 Jan 2013 01:43:23 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12164201#p12164201</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12164141#p12164141</link>
			<description><![CDATA[<p>Merci, je pense avoir saisi maintenant.</p><p>comment je peux maintenant dire au serveur(apache) que je veux accéder à mon site héberger sur </p><div class="codebox"><pre><code>/var/www</code></pre></div><p> à une adresse ip donnée .<br />je veux accéder au site par le web . pas forcement en local.</p>]]></description>
			<author><![CDATA[dummy@example.com (thierclap)]]></author>
			<pubDate>Fri, 11 Jan 2013 01:22:28 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12164141#p12164141</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12157981#p12157981</link>
			<description><![CDATA[<div class="quotebox"><cite>thierclap a écrit&#160;:</cite><blockquote><div><p><em>apache doit écouter ( attendre des requetes de clients)</em></p><p>c&#039;est ce terme que je ne comprend pas , peut tu m&#039;expliquer .?</p></div></blockquote></div><p>Ecouter : apache attend une requete / demande d&#039;une page web par un client</p><p>Imaginons un serveur avec 2 carte réseaux, et donc 2 adresses ip.<br />on peut avec cette directive préciser sur quelle interface/ adresse ip, apache va écouter.<br />Si on interroge apache sur son autre adresse, il ne répondra pas.</p>]]></description>
			<author><![CDATA[dummy@example.com (droopy191)]]></author>
			<pubDate>Thu, 10 Jan 2013 17:12:31 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12157981#p12157981</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12157881#p12157881</link>
			<description><![CDATA[<p><em>apache doit écouter ( attendre des requetes de clients)</em></p><p>c&#039;est ce terme que je ne comprend pas , peut tu m&#039;expliquer .?</p>]]></description>
			<author><![CDATA[dummy@example.com (thierclap)]]></author>
			<pubDate>Thu, 10 Jan 2013 17:00:54 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12157881#p12157881</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12157821#p12157821</link>
			<description><![CDATA[<p>Salut,</p><br /><p>Cette directive sert à préciser sur quel port, ipv4, ipv6...&#160; apache doit écouter ( attendre des requetes de clients).<br /><a href="http://httpd.apache.org/docs/2.4/fr/bind.html">Doc Apache</a></p>]]></description>
			<author><![CDATA[dummy@example.com (droopy191)]]></author>
			<pubDate>Thu, 10 Jan 2013 16:56:37 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12157821#p12157821</guid>
		</item>
		<item>
			<title><![CDATA[Compréhension réseaux et web]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12157551#p12157551</link>
			<description><![CDATA[<p>Bonjour , <br />Je suis entrain d&#039;installer un réseau avec apache.<br />j&#039;aimerai à la fin héberger un petit site personnel sur mon pc.<br />j&#039;ai décidé d&#039;utiliser apache pour cela<br />dans la configuration de apache&#160; il y a la commande</p><div class="codebox"><pre><code> listen</code></pre></div><p> dans le fichier ports.conf<br />qui peut m&#039;expliquer qu&#039;est ce que fait vraiment cette commande.</p><p>Merci d&#039;avance</p>]]></description>
			<author><![CDATA[dummy@example.com (thierclap)]]></author>
			<pubDate>Thu, 10 Jan 2013 16:46:30 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12157551#p12157551</guid>
		</item>
	</channel>
</rss>
