{"id":305,"date":"2013-02-12T12:01:27","date_gmt":"2013-02-12T12:01:27","guid":{"rendered":"https:\/\/shan.info\/new\/esxi-pfsense-comme-firewall\/"},"modified":"2013-02-12T12:01:27","modified_gmt":"2013-02-12T12:01:27","slug":"esxi-pfsense-comme-firewall","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/esxi-pfsense-comme-firewall\/","title":{"rendered":"ESXI &#038; PfSense comme firewall"},"content":{"rendered":"<p>\n\thttp:\/\/forum.online.net\/index.php?\/topic\/1240-tuto-esxi-pfsense-comme-firewall\/<\/p>\n<p>\n\t&nbsp;<\/p>\n<p>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Bonjour \u00e0 tous,<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<del class=\"bbc\" style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Petit<\/del><span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&nbsp;Long tuto fastidieux pour ceux qui souhaiterai comme moi, mettre en place PfSense sur leur serveur d\u00e9di\u00e9 Dedibox.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">A priori rien de bien compliqu\u00e9 sauf qu&#8217;en fait si, d&#8217;o\u00f9 ce tuto !<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Ce que vous devez avoir avant de commencer :<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&#8211; Un serveur d\u00e9di\u00e9 chez Online.net<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&#8211; Vous avez achet\u00e9 une IP suppl\u00e9mentaire via le portail Online.net (IP Failover) et l&#8217;avez associ\u00e9e \u00e0 votre serveur.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&#8211; Avoir obtenu une adresse MAC virtuelle pour VMware (toujours via le portail Online.net)<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&#8211; Vous avez d\u00e9ploy\u00e9 ESXI sur votre serveur (toujours via le portail Online.net)<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">L&#8217;objectif est d&#8217;avoir une architecture de la sorte :<\/span><\/p>\n<p><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><\/p>\n<pre class=\"prettyprint lang-auto linenums:0\" style=\"margin-right: auto; margin-left: auto; padding: 1em; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border: 1px solid rgb(201, 201, 201); overflow: auto; font-size: 13px; line-height: 18px; width: 1368.578125px; background-color: rgb(250, 250, 250) !important;\"><span class=\"pln\">INTERNET <\/span><span class=\"pun\" style=\"color: rgb(102, 102, 0);\">------<\/span><span class=\"pln\"> ESXI <\/span><span class=\"pun\" style=\"color: rgb(102, 102, 0);\">-----<\/span><span class=\"pln\"> <\/span><span class=\"typ\" style=\"color: rgb(102, 0, 102);\">PfSense<\/span><span class=\"pln\"> <\/span><span class=\"pun\" style=\"color: rgb(102, 102, 0);\">(<\/span><span class=\"pln\">VM1<\/span><span class=\"pun\" style=\"color: rgb(102, 102, 0);\">)<\/span><span class=\"pln\"> <\/span><span class=\"pun\" style=\"color: rgb(102, 102, 0);\">-|---<\/span><span class=\"pln\"> SERVEUR LAN <\/span><span class=\"lit\" style=\"color: rgb(0, 102, 102);\">1<\/span><span class=\"pln\"> <\/span><span class=\"pun\" style=\"color: rgb(102, 102, 0);\">(<\/span><span class=\"pln\">VM2<\/span><span class=\"pun\" style=\"color: rgb(102, 102, 0);\">)<\/span><span class=\"pln\">\r\n                                          <\/span><span class=\"pun\" style=\"color: rgb(102, 102, 0);\">|---<\/span><span class=\"pln\"> SERVEUR LAN <\/span><span class=\"lit\" style=\"color: rgb(0, 102, 102);\">2<\/span><span class=\"pln\"> <\/span><span class=\"pun\" style=\"color: rgb(102, 102, 0);\">(<\/span><span class=\"typ\" style=\"color: rgb(102, 0, 102);\">VMx<\/span><span class=\"pun\" style=\"color: rgb(102, 102, 0);\">)<\/span><\/pre>\n<p><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><\/p>\n<p>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">L&#8217;IP publique (la 1\u00e8re) sert uniquement \u00e0 administrer l&#8217;ESXI.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">L&#8217;IP publique (failover) sera utilis\u00e9e pour la patte WAN de votre firewall (PfSense).<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Configuration d&#8217;ESXI (d\u00e9sol\u00e9 c&#8217;est en FR :\/)<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Dans &#8220;Configuration\/Mise en r\u00e9seau&#8221;<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Cliquer sur &#8220;Ajouter gestion r\u00e9seau&#8230;&#8221;, s\u00e9lectionnez &#8220;Machine virtuelle&#8221; puis &#8220;Cr\u00e9er un commutateur virtuel&#8221;, appelez-le comme vous voulez (&#8220;VM Network LAN&#8221; dans mon exemple) et surtout, renseignez un VLAN ID autre que 0 (1 par exemple).<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Sur ce commutateur virtuel seront reli\u00e9s tous vos serveurs ainsi que la patte LAN du firewall.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Cr\u00e9ation des VM<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">C&#8217;est ici que \u00e7a se complique, vous le verrez ensuite, PfSense doit donc \u00eatre install\u00e9 mais surtout un package doit \u00eatre rajout\u00e9 une fois l&#8217;installation termin\u00e9e. Pour obtenir ce package il faut bien \u00e9videmment une connexion internet chose qui ne fonctionne pas tant que ce package n&#8217;est pas install\u00e9 (<\/span><span rel=\"lightbox\" style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\"><img decoding=\"async\" alt=\":D\" class=\"bbc_img\" src=\"http:\/\/forum.online.net\/public\/style_emoticons\/default\/biggrin.gif\" style=\"border: 0px; vertical-align: middle; cursor: pointer; max-width: 100%;\" \/><\/span><span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">).<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">J&#8217;ai proc\u00e9d\u00e9 de la sorte (un peu bourrin mais \u00e7a marche) :<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Cr\u00e9ation d&#8217;une VM PfSense (disque en thin provisionning, important pour la suite)&nbsp;<\/span><span class=\"bbc_underline\" style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px; text-decoration: underline !important;\">sur un autre ESXI<\/span><span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&nbsp;(un ESXI sur lequel la passerelle est dans le m\u00eame subnet que l&#8217;ip publique car c&#8217;est \u00e7a qui nous pose probl\u00e8me chez Online.net)<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Je ne vous fait pas le d\u00e9tail de l&#8217;installation de PfSense &#8230; pensez juste \u00e0 mettre 2 cartes r\u00e9seau (LAN + WAN).<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Personnellement j&#8217;ai fait \u00e7a sur mon poste de travail avec VMware Workstation.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">L&#8217;installation de PfSense termin\u00e9e configurer les 2 interfaces LAN et WAN et acc\u00e9der \u00e0 l&#8217;interface web de configuration.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Sur cette interface allez dans &#8220;Syst\u00e8me\/Packages&#8221; et installez le package &#8220;Shellcmd&#8221;.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Une fois install\u00e9 vous pouvez \u00e9teindre votre VM et installer VMware Converter sur votre poste de travail.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Vous avez compris la suite, sauvegarder via VMware converter la VM que vous venez de cr\u00e9er sur VMware Workstation et d\u00e9placer l\u00e0 sur l&#8217;ESXI de Online.net (d&#8217;ou le Thin provisionning, vous avez ~300Mo \u00e0 envoyer).<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Une fois votre VM r\u00e9cup\u00e9r\u00e9e de l&#8217;autre cot\u00e9, avant de la d\u00e9marrer, retournez dans la conf des cartes r\u00e9seaux de la VM :<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Carte 1 :&nbsp;<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Adresse MAC Manuelle : saisissez l&#8217;adresse MAC fourni sur le portail Online.net (00:50:56: &#8230;)<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Etiquette r\u00e9seau : &#8220;VM Network&#8221; (le vSwitch principal,&nbsp;<\/span><span class=\"bbc_underline\" style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px; text-decoration: underline !important;\">PAS<\/span><span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&nbsp;celui que vous avez cr\u00e9\u00e9 tout \u00e0 l&#8217;heure)<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Carte 2 :<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Adresse MAC Automatique<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Etiquette r\u00e9seau : &#8220;VM Network LAN&#8221; (ou autre selon le nom que vous avez donn\u00e9 \u00e0 votre vSwitch secondaire)<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">D\u00e9marrez votre VM PfSense<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Reconfigurer vos interfaces LAN et WAN depuis la ligne de commande via la console ESXI et acc\u00e9der ensuite \u00e0 l&#8217;interface web de management de PfSense depuis un de vos serveur LAN pr\u00e9sent sur l&#8217;ESXI (oui je sais c&#8217;est un peu contraignant mais de toute fa\u00e7on si vous faite tout \u00e7a c&#8217;est bien pour mettre d&#8217;autres VM derri\u00e8re non ?&nbsp;<\/span><span rel=\"lightbox\" style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\"><img decoding=\"async\" alt=\":D\" class=\"bbc_img\" src=\"http:\/\/forum.online.net\/public\/style_emoticons\/default\/biggrin.gif\" style=\"border: 0px; vertical-align: middle; cursor: pointer; max-width: 100%;\" \/><\/span><span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">).<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Une fois sur l&#8217;interface web de management :<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&#8211; V\u00e9rifiez que le module &#8220;Shellcmd&#8221; est bien pr\u00e9sent (il n&#8217;y a pas de raison m&#8217;enfin bon &#8230;)<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&#8211; Aller dans &#8220;Interfaces\/WAN&#8221; et sp\u00e9cifiez votre adresse MAC virtuelle dans le champs &#8220;MAC address&#8221;<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&#8211; Le champ IP address doit contenir votre ip publique failover (\/32)<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&#8211; Le champ Gateway est pour l&#8217;instant vide.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Deux choses \u00e0 faire :<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&#8211; Configurer &#8220;Shellcmd&#8221;<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&#8211; Sp\u00e9cifier la gateway<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span class=\"bbc_underline\" style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px; text-decoration: underline !important;\">Shellcmd<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Aller dans &#8220;Services\/Shellcmd&#8221; et ajoutez les 2 commandes suivantes :<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">route add -inet 88.190.30.1\/32 -link -iface em0&nbsp;<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">route add default 88.190.30.1&nbsp;<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">&#8220;88.190.30.1&#8221; doit \u00eatre remplac\u00e9 par VOTRE passerelle (\u00e0 priori votre ip publique principale avec un 1 \u00e0 la fin)<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span class=\"bbc_underline\" style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px; text-decoration: underline !important;\">Gateway<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Allez dans &#8220;System\/routing&#8221;, dans l&#8217;onglet &#8220;Gateways&#8221;, ajoutez votre passerelle.&nbsp;<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Probl\u00e8me ici, PfSense n&#8217;accepte pas que l&#8217;on renseigne une passerelle qui n&#8217;appartient pas au m\u00eame sous r\u00e9seau que l&#8217;ip publique. Soit, saisissez donc votre IP publique failover ! (ce n&#8217;est que temporaire pas de panique).<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Cochez bien l&#8217;option &#8220;Default Gateway&#8221; \u00e0 la cr\u00e9ation.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Allez dans &#8220;Diagnostics\/Backup-Restore&#8221; et sauvegardez votre configuration. Editez l\u00e0 en rempla\u00e7ant votre ip failover par votre passerelle (attention l&#8217;ip failover apparait 2 fois dans la conf, modifiez au bon endroit).<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Sauvegardez votre conf et rechargez l\u00e0 via &#8220;Diagnostics\/Backup-Restore&#8221;. Votre firewall red\u00e9marre.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Apr\u00e8s red\u00e9marrage, retournez dans &#8220;Interfaces\/WAN&#8221; et s\u00e9lectionnez votre passerelle dans la liste, cliquez sur &#8220;Save&#8221; puis &#8220;Apply&#8221; en haut de la page. L\u00e0 PfSense ne r\u00e9pond plus sur l&#8217;interface web, aller sur la console ESXI et faite un red\u00e9marrage du serveur.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Et voil\u00e0 (ouf), \u00e7a devrait \u00eatre bon.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">(Pensez \u00e0 renseigner les DNS dans &#8220;System\/General Setup&#8221; !)<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Vos VM auront donc une adresse LAN uniquement (attention \u00e0 bien rattacher la carte r\u00e9seau de vos serveur sur le vSwitch cr\u00e9\u00e9 manuellement), la passerelle \u00e0 renseigner \u00e9tant l&#8217;adresse LAN du serveur PfSense.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">J&#8217;esp\u00e8re n&#8217;avoir rien oubli\u00e9 !<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Un grand merci \u00e0 Scruffy, qui m&#8217;a mis sur la bonne voie pour la mise en place de PfSense.<\/span><br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<br style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\" \/><br \/>\n\t<span style=\"color: rgb(40, 40, 40); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22px;\">Il y a s\u00fbrement des m\u00e9thodes plus simple, n&#8217;h\u00e9sitez pas \u00e0 les proposer ! (en tout cas la mienne fonctionne<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/forum.online.net\/index.php?\/topic\/1240-tuto-esxi-pfsense-comme-firewall\/ &nbsp; Bonjour \u00e0 tous, Petit&nbsp;Long tuto fastidieux pour ceux qui souhaiterai comme moi, mettre en place PfSense sur leur serveur d\u00e9di\u00e9 Dedibox. A priori rien de bien compliqu\u00e9 sauf qu&#8217;en fait si, d&#8217;o\u00f9 ce tuto ! Ce que vous devez avoir avant de commencer : &#8211; Un serveur d\u00e9di\u00e9 chez Online.net &#8211; Vous avez [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-305","post","type-post","status-publish","format-standard","hentry","category-pfsense"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=305"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/305\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}