<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[HAProxy - Offload HTTPS (from internet) into HTTP (WORKING + config EXAMPLE)]]></title><description><![CDATA[<p dir="auto"><strong>–-- Found my answer, scroll below to see the configuration details ----</strong></p>
<p dir="auto">For the following I have no idea an total noob on this, help very appreciated.</p>
<p dir="auto">Question: Howto let PFSense translate incomming HTTPS into HTTP</p>
<p dir="auto">On the server i have running a http service (a old peace of software with a built in HTTP service)<br />
Is it achievable to put PFSense intercept HTTPS request from a client and forward this as a HTTP request to the HTTP service?</p>
<p dir="auto">See also the drawing.</p>
<p dir="auto">Thank you.</p>
<p dir="auto">edit: After an better understanding, changed the tittle more appropriate.<br />
<img src="/public/_imported_attachments_/1/Drawing3.jpg" alt="Drawing3.jpg" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/Drawing3.jpg_thumb" alt="Drawing3.jpg_thumb" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/topic/121635/haproxy-offload-https-from-internet-into-http-working-config-example</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 12:31:29 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/121635.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Oct 2017 21:03:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HAProxy - Offload HTTPS (from internet) into HTTP (WORKING + config EXAMPLE) on Tue, 26 Mar 2019 16:55:47 GMT]]></title><description><![CDATA[<p dir="auto">NFM! thanks.</p>
]]></description><link>https://forum.netgate.com/post/833135</link><guid isPermaLink="true">https://forum.netgate.com/post/833135</guid><dc:creator><![CDATA[binhex01]]></dc:creator><pubDate>Tue, 26 Mar 2019 16:55:47 GMT</pubDate></item><item><title><![CDATA[Reply to HAProxy - Offload HTTPS (from internet) into HTTP (WORKING + config EXAMPLE) on Tue, 26 Mar 2019 15:50:53 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Last Online 23 Oct 2017, 23:46</p>
</blockquote>
<p dir="auto">You can probably wait a long time. Better do some RTFM:<br />
https://github.com/PiBa-NL/pfsense-haproxy-package-doc/wiki<br />
http://www.haproxy.org/#docs</p>
]]></description><link>https://forum.netgate.com/post/833117</link><guid isPermaLink="true">https://forum.netgate.com/post/833117</guid><dc:creator><![CDATA[Grimson]]></dc:creator><pubDate>Tue, 26 Mar 2019 15:50:53 GMT</pubDate></item><item><title><![CDATA[Reply to HAProxy - Offload HTTPS (from internet) into HTTP (WORKING + config EXAMPLE) on Tue, 26 Mar 2019 15:45:46 GMT]]></title><description><![CDATA[<p dir="auto">add me to the list of people who would like to see the screenshots, please re-add if possible.</p>
]]></description><link>https://forum.netgate.com/post/833115</link><guid isPermaLink="true">https://forum.netgate.com/post/833115</guid><dc:creator><![CDATA[binhex01]]></dc:creator><pubDate>Tue, 26 Mar 2019 15:45:46 GMT</pubDate></item><item><title><![CDATA[Reply to HAProxy - Offload HTTPS (from internet) into HTTP (WORKING + config EXAMPLE) on Tue, 05 Mar 2019 17:12:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello Sokolum,<br />
The pictures you posted are gone, care to reup? I really want to follow what you put here!</p>
]]></description><link>https://forum.netgate.com/post/828321</link><guid isPermaLink="true">https://forum.netgate.com/post/828321</guid><dc:creator><![CDATA[ice0914m7]]></dc:creator><pubDate>Tue, 05 Mar 2019 17:12:20 GMT</pubDate></item><item><title><![CDATA[Reply to HAProxy - Offload HTTPS (from internet) into HTTP (WORKING + config EXAMPLE) on Fri, 20 Oct 2017 09:01:30 GMT]]></title><description><![CDATA[<p dir="auto">ok, I have got it working and this example I like to share is the most basic, essentially needed to make it work.<br />
The whole setup is running on PFSense 2.4.0-RELEASE (the latest release in October 2017).</p>
<p dir="auto">This drawing is to show how the traffic will flow within PFSense.<br />
I have used different PORT NUMBERS, so you can actually see what is happening.</p>
<p dir="auto"><img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107770;image" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">6 majors steps are needed to complete:</p>
<p dir="auto">1) Installing: SystemPackage Manager &gt; HAProxy package<br />
  5) Adding: Firewall &gt; Virtual IPs<br />
  3) Configure: Service &gt; HAProxy &gt; Settings<br />
  4) Configure: Service &gt; HAProxy &gt; Backend<br />
  5) Configure: Service &gt; HAProxy &gt; Frontend<br />
  6) Adding: Firewall &gt; NAT &gt; Port Forward</p>
<hr />
<p dir="auto"><strong>1) Installing the package, just add it.</strong><br />
<img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107746;image" alt="" class=" img-fluid img-markdown" /></p>
<hr />
<hr />
<p dir="auto"><strong>2) Adding: Firewall &gt; Virtual IPs</strong><br />
Virtual IP is added to have a better control and understanding for what is happening, not need, but it helped me understand how it all works.<br />
<img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107764;image" alt="" class=" img-fluid img-markdown" /></p>
<hr />
<hr />
<p dir="auto"><strong>3a)  Configure: Service &gt; HAProxy &gt; Settings</strong><br />
Enable "HAProxy" and set a limit of connections you desire, I choose "50"<br />
<img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107748;image" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>3b)  Configure: Service &gt; HAProxy &gt; Settings</strong><br />
Set the "Internal Stat Port", I have choose for the example "2200".<br />
<img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107750;image" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>3c)  Configure: Service &gt; HAProxy &gt; Settings</strong><br />
Set the "MAX SSL Diffie-Hellman size", I have choosen for "2048".<br />
<img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107752;image" alt="" class=" img-fluid img-markdown" /></p>
<hr />
<hr />
<p dir="auto"><strong>4a) Configure: Service &gt; HAProxy &gt; Backend</strong><br />
Configure as shown:<br />
<img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107762;image" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>4b) Configure: Service &gt; HAProxy &gt; Backend</strong><br />
This how it looks on the Backend tab when finnished.<br />
<img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107760;image" alt="" class=" img-fluid img-markdown" /></p>
<hr />
<hr />
<p dir="auto"><strong>5a) Configure: Service &gt; HAProxy &gt; Frontend</strong><br />
Configure as shown:<br />
<img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107756;image" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>5b) Configure: Service &gt; HAProxy &gt; Frontend</strong><br />
Configure as shown:<br />
<img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107758;image" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>5c) Configure: Service &gt; HAProxy &gt; Frontend</strong><br />
This how it looks on the Frontend tab when finnished.<br />
<img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107760;image" alt="" class=" img-fluid img-markdown" /></p>
<hr />
<hr />
<p dir="auto"><strong>6) Adding: Firewall &gt; NAT &gt; Port Forward</strong><br />
And a NAT Port Forward for the Incoming traffic from the Internet to the Virtual IP:<br />
<img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107766;image" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>6) Adding: Firewall &gt; NAT &gt; Port Forward</strong><br />
The rule on the WAN interface is automatically added, if not, this is how it looks like:<br />
<img src="https://forum.pfsense.org/index.php?action=dlattach;topic=138380.0;attach=107768;image" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">This is literally all what is needed….<br />
Good luck!</p>
<p dir="auto"><img src="/public/_imported_attachments_/1/package.PNG" alt="package.PNG" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/package.PNG_thumb" alt="package.PNG_thumb" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/settings-01.PNG" alt="settings-01.PNG" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/settings-01.PNG_thumb" alt="settings-01.PNG_thumb" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/settings-02.PNG" alt="settings-02.PNG" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/settings-02.PNG_thumb" alt="settings-02.PNG_thumb" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/settings-03.png" alt="settings-03.png" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/settings-03.png_thumb" alt="settings-03.png_thumb" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/frontend-01.PNG" alt="frontend-01.PNG" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/frontend-01.PNG_thumb" alt="frontend-01.PNG_thumb" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/frontend-02.PNG" alt="frontend-02.PNG" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/frontend-02.PNG_thumb" alt="frontend-02.PNG_thumb" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/frontend-03.PNG" alt="frontend-03.PNG" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/frontend-03.PNG_thumb" alt="frontend-03.PNG_thumb" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/backend-01.PNG" alt="backend-01.PNG" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/backend-01.PNG_thumb" alt="backend-01.PNG_thumb" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/backend-02.PNG" alt="backend-02.PNG" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/backend-02.PNG_thumb" alt="backend-02.PNG_thumb" class=" img-fluid img-markdown" /><br />
![Virutal IP.PNG](/public/<em>imported_attachments</em>/1/Virutal IP.PNG)<br />
![Virutal IP.PNG_thumb](/public/<em>imported_attachments</em>/1/Virutal IP.PNG_thumb)<br />
![NAT rule.PNG](/public/<em>imported_attachments</em>/1/NAT rule.PNG)<br />
![NAT rule.PNG_thumb](/public/<em>imported_attachments</em>/1/NAT rule.PNG_thumb)<br />
![WAN rule.png](/public/<em>imported_attachments</em>/1/WAN rule.png)<br />
![WAN rule.png_thumb](/public/<em>imported_attachments</em>/1/WAN rule.png_thumb)<br />
<img src="/public/_imported_attachments_/1/Drawing1.png" alt="Drawing1.png" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/Drawing1.png_thumb" alt="Drawing1.png_thumb" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/729220</link><guid isPermaLink="true">https://forum.netgate.com/post/729220</guid><dc:creator><![CDATA[sokolum]]></dc:creator><pubDate>Fri, 20 Oct 2017 09:01:30 GMT</pubDate></item><item><title><![CDATA[Reply to HAProxy - Offload HTTPS (from internet) into HTTP (WORKING + config EXAMPLE) on Wed, 18 Oct 2017 21:27:01 GMT]]></title><description><![CDATA[<p dir="auto">Use HAproxy.</p>
]]></description><link>https://forum.netgate.com/post/728919</link><guid isPermaLink="true">https://forum.netgate.com/post/728919</guid><dc:creator><![CDATA[doktornotor]]></dc:creator><pubDate>Wed, 18 Oct 2017 21:27:01 GMT</pubDate></item></channel></rss>