<?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: Serving simple http page and OpenVpn instance]]></title><description><![CDATA[<p dir="auto">I've setup my PFSense with HAProxy as reverse proxy using a single public IP address, in order to serve my http app, that listen on the port 80, everything works fine, but when i try to setup a TCP OpenVpn, configured on the 443 port, i have to change my application frontend from HTTP to TCP, i mean, everything works fine, but i'm tied to redirect all requests to only a single backend...instead of that i want to use the same mechanism of hostname match and sort the VPN connection to the right server...but i don't know how to do that, in any case, my final goal is to achieve this result:</p>
<pre><code class="language-java">Client 1 ---&gt; web.myserver.com ---&gt; PFsense/HAProxy ---&gt; Serve the web app of my server 1 on the port 80
Client 1 ---&gt; vpn.myserver.com ---&gt; PFsense/HAProxy ---&gt; The client will be able to estabilish a VPN connection to my server 1
</code></pre>
<p dir="auto">And so on with a second server, like below:</p>
<pre><code class="language-java">Client 2 ---&gt; web.myserver.com ---&gt; PFsense/HAProxy ---&gt; Serve the web app of my server 2 on the port 80
Client 2 ---&gt; vpn.myserver.com ---&gt; PFsense/HAProxy ---&gt; The client will be able to estabilish a VPN connection to my server 2
</code></pre>
<p dir="auto">Is this possible?<br />
Thanks</p>
]]></description><link>https://forum.netgate.com/topic/137339/haproxy-serving-simple-http-page-and-openvpn-instance</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 15:05:51 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/137339.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 Oct 2018 22:55:00 GMT</pubDate><ttl>60</ttl></channel></rss>