{"id":1135,"date":"2024-08-25T17:27:54","date_gmt":"2024-08-25T15:27:54","guid":{"rendered":"https:\/\/artheodoc.fr\/?p=1135"},"modified":"2024-08-25T18:11:52","modified_gmt":"2024-08-25T16:11:52","slug":"configurer-lacces-depuis-le-wan-a-linterface-web-de-pfsense","status":"publish","type":"post","link":"https:\/\/artheodoc.fr\/index.php\/2024\/08\/25\/configurer-lacces-depuis-le-wan-a-linterface-web-de-pfsense\/","title":{"rendered":"Configurer l\u2019acc\u00e8s depuis le WAN \u00e0 l\u2019interface WEB de pfSense"},"content":{"rendered":"\n<p><strong>Voir l\u2019article&nbsp;:<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/2024\/08\/20\/mettre-la-langue-de-linterface-web-de-pfsense-en-francais\/\" data-type=\"post\" data-id=\"1072\" target=\"_blank\" rel=\"noreferrer noopener\">Mettre la langue de l\u2019interface WEB de pfSense en fran\u00e7ais<\/a><\/p>\n\n\n\n<p>Si on utilise par ailleur le port 443 (HTTPS) on doit changer le port permettant d\u2019acc\u00e9der \u00e0 l\u2019interface WEB de pfSense depuis le WAN.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\"><strong>1 &#8211; Changer le port pour l\u2019acc\u00e8s \u00e0 pfSense depuis le WAN<\/strong><\/h2>\n\n\n\n<p>On se conecte \u00e0 l\u2019interface WEB de pfSense depuis le LAN.<\/p>\n\n\n\n<p>https:\/\/ip_pfSense_sur_le_LAN<\/p>\n\n\n\n<p><strong>Syst<\/strong><strong>\u00e8<\/strong><strong>m<\/strong><strong>e<\/strong> ==&gt; <strong>Avanc<\/strong><strong>\u00e9<\/strong><\/p>\n\n\n\n<p>Onglet <strong>Acc\u00e8s administrateur<\/strong>, Protocole <strong>HTTPS(SSL\/TLS)<\/strong>.<\/p>\n\n\n\n<p>Changez le Port TCP de 443 \u00e0 un autre port, par exemple <strong>8443<\/strong>.<\/p>\n\n\n\n<p>Cocher&nbsp;: <strong>D\u00e9sactiver le contr\u00f4le applicatif HTTP_REFERER<\/strong><\/p>\n\n\n\n<p>Cliquez sur <strong>[<\/strong><strong>Enregistrer<\/strong><strong>]<\/strong><\/p>\n\n\n\n<p>Dor\u00e9navant l\u2019acc\u00e8s depuis le LAN est https:\/\/<em>ip_pfSense_sur_le_LAN:<\/em><em>8443<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\"><strong>2 &#8211; Cr\u00e9ation d\u2019une r\u00e8gle de pare-feu pfSense pour le nouveau port (acc\u00e8s WAN)<\/strong><\/h2>\n\n\n\n<p><strong>Pare-feu<\/strong> ==&gt; <strong>R<\/strong><strong>\u00e8gl<\/strong><strong>es<\/strong>, onglet <strong>WAN<\/strong>, <strong>[A<\/strong><strong>jouter<\/strong><strong>]<\/strong><\/p>\n\n\n\n<p>Action&nbsp;: <strong>Autoriser<\/strong><\/p>\n\n\n\n<p>Interface&nbsp;: <strong>WAN<\/strong><\/p>\n\n\n\n<p>Protocole:<strong>TCP<\/strong><\/p>\n\n\n\n<p>Source\u00a0: Vous pouvez choisir \u00ab\u00a0<strong>Address or alias<\/strong>\u00a0\u00bb et sp\u00e9cifier l\u2019adresse IP de la machine autoris\u00e9e (IP publique) ou \u00ab\u00a0<strong>Tous<\/strong>\u00a0\u00bb pour autoriser toutes les adresses IP (moins s\u00e9curis\u00e9).<\/p>\n\n\n\n<p>Destination&nbsp;: <strong>WAN address<\/strong><\/p>\n\n\n\n<p>Port de destination&nbsp;: <strong>Autre<\/strong> ==&gt; Personnalis\u00e9(e) <strong>8443<\/strong> (par exemple).<\/p>\n\n\n\n<p>Cliquez sur <strong>[<\/strong><strong>Enregistrer<\/strong><strong>]<\/strong> puis sur <strong>[Appl<\/strong><strong>iquer les modifications<\/strong><strong>]<\/strong> pour appliquer la r\u00e8gle.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"has-medium-font-size\"><strong>3 &#8211; Configuration de la box<\/strong><\/p>\n\n\n\n<p>On doit configurer une r\u00e9gle NAT dans la box pour permettre l\u2019acc\u00e8s depuis le WAN via le port 8443.<\/p>\n\n\n\n<p>Vous pouvez consulter le tutoriel suivant concernant la configuration d\u2019une Livebox 5 Orange. On utilise dans notre exemple le ports 8443 \u2013 Protocole TCP \u2013 \u00c9quipement votre serveur (il doit \u00eatre actif pour appara\u00eetre).<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/2-Configuration_de_la_livebox_5_Orange_regles_NAT.pdf\" data-type=\"attachment\" data-id=\"858\" target=\"_blank\" rel=\"noreferrer noopener\">Configuration de la Livebox 5 Orange r\u00e8gles NAT<\/a><\/p>\n\n\n\n<p>Ensuite on pourra acc\u00e9der \u00e0 l\u2019interface WEB de pfSEnse \u00e0 partir du WAN&nbsp;:<\/p>\n\n\n\n<p>https:\/\/ip_publique:8443<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Voir l\u2019article&nbsp;: Mettre la langue de l\u2019interface WEB de pfSense en fran\u00e7ais Si on utilise par ailleur le port 443 (HTTPS) on doit changer le port permettant d\u2019acc\u00e9der \u00e0 l\u2019interface WEB de pfSense depuis le WAN. 1 &#8211; Changer le port pour l\u2019acc\u00e8s \u00e0 pfSense depuis le WAN On se conecte \u00e0 l\u2019interface WEB de [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[62,63],"tags":[64,65,66],"class_list":["post-1135","post","type-post","status-publish","format-standard","hentry","category-pare-feu","category-pfsense","tag-pare-feu","tag-pfsense","tag-wan"],"_links":{"self":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts\/1135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/comments?post=1135"}],"version-history":[{"count":6,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts\/1135\/revisions"}],"predecessor-version":[{"id":1145,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts\/1135\/revisions\/1145"}],"wp:attachment":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/media?parent=1135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/categories?post=1135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/tags?post=1135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}