<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Network Security on Cybersécurité</title>
    <link>http://grey-x.net/categories/network-security/</link>
    <description>Recent content in Network Security on Cybersécurité</description>
    <generator>Hugo</generator>
    <language>fr</language>
    <lastBuildDate>Fri, 14 Aug 2026 11:12:00 +0200</lastBuildDate>
    <atom:link href="http://grey-x.net/categories/network-security/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Construire un routeur NAT Linux avec DHCP, iptables et deux interfaces réseau</title>
      <link>http://grey-x.net/posts/net-dhcp/</link>
      <pubDate>Fri, 14 Aug 2026 11:12:00 +0200</pubDate>
      <guid>http://grey-x.net/posts/net-dhcp/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;code&gt;GREY-X // NETWORK LAB&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;ETH0 → INTERNET&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;ETH1 → LAN&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;NAT → FORWARD → INTERNET&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Dans un laboratoire de pentesting réseau, il est souvent nécessaire de construire une petite infrastructure permettant à plusieurs machines de communiquer avec Internet tout en restant derrière un réseau privé.&lt;/p&gt;&#xA;&lt;p&gt;Une machine Linux peut parfaitement jouer ce rôle.&lt;/p&gt;&#xA;&lt;p&gt;Dans cette configuration :&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;eth0&lt;/code&gt; est l&amp;rsquo;interface connectée à Internet ;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;eth1&lt;/code&gt; est l&amp;rsquo;interface connectée au réseau interne ;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;dnsmasq&lt;/code&gt; fournit les adresses DHCP aux clients ;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;iptables&lt;/code&gt; assure le routage et le NAT.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;L&amp;rsquo;objectif est d&amp;rsquo;obtenir :&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
