<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>HAproxy — LowEndSpirit</title>
        <link>https://staging.lowendspirit.com/index.php?p=/</link>
        <pubDate>Tue, 07 Apr 2026 10:50:13 +0000</pubDate>
        <language>en</language>
            <description>HAproxy — LowEndSpirit</description>
    <atom:link href="https://staging.lowendspirit.com/index.php?p=/discussions/tagged/haproxy/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>HAProxy - forward client IP</title>
        <link>https://staging.lowendspirit.com/index.php?p=/discussion/858/haproxy-forward-client-ip</link>
        <pubDate>Sat, 04 Apr 2020 10:35:37 +0000</pubDate>
        <category>Help</category>
        <dc:creator>AlwaysSkint</dc:creator>
        <guid isPermaLink="false">858@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>After <a href="https://staging.lowendspirit.com/index.php?p=/profile/Neoon" rel="nofollow">@Neoon</a> kindly pointed me in the direction of haproxy, for reverse proxy use, I've nearly got a full setup. I'm struggling with the last piece of the puzzle, even after trying to comprehend the vast options in the documentation.<br />
I'm trying to determine the original client IP. Straight http requests can be interrogated the through x-forward but this isn't much good for system monitoring, for example. Also, a control panel in a VM only sees access coming from the host IP.<br />
Here's a snippet of what I've got, sorry for the formatting (need code tagging):</p>

<blockquote><div>
  <p>frontend webmin<br />
  bind *:10000<br />
  option tcplog<br />
  mode tcp<br />
  option http-server-close<br />
  option forwardfor header X-Client<br />
  acl tls req.ssl_hello_type 1<br />
  tcp-request inspect-delay 5s<br />
  tcp-request content accept if tls</p>
  
  <p>acl host_ks.domain1.com_webmin req.ssl_sni -i ks.domain1.com<br />
  use_backend ks.domain1.com_webmin if host_ks.domain1.com_webmin</p>
  
  <p>backend ukc.domain1.com_webmin<br />
  server ukc.domain1.com 10.0.0.100:10000<br />
  mode tcp</p>
</div></blockquote>

<p>Note: I had to change the host webmin port (not such a bad idea), as I couldn't get haproxy to ignore/pass it though. Below is currently commented out..</p>

<blockquote><div>
  <p>( in frontend webmin )<br />
   acl host_d3.domain1.com_webmin req.ssl_sni -i d3.domain1.com<br />
  use_backend d3.domain1.com_webmin if host_d3.domain1.com_webmin</p>
  
  <p>backend d3.domain1.com_webmin<br />
  server d3.domain1.com 178.123.123.90:10000<br />
  mode tcp</p>
</div></blockquote>

<p>I have a further VM but left that out, for clarity.<br />
All other aspects appear to be fine, with CSF redirecting various ports and VMs able to access the 'net.</p>

<p>Oh, and thanks again <a href="https://staging.lowendspirit.com/index.php?p=/profile/Neoon" rel="nofollow">@Neoon</a>  <img src="https://staging.lowendspirit.com/plugins/emojiextender/emoji/twitter/sunglasses.png" title="B)" alt="B)" height="18" /></p>
]]>
        </description>
    </item>
    <item>
        <title>(inceptionhosting)  [proxy domains] button missing for NAT VPS in solusvm</title>
        <link>https://staging.lowendspirit.com/index.php?p=/discussion/180/inceptionhosting-proxy-domains-button-missing-for-nat-vps-in-solusvm</link>
        <pubDate>Thu, 28 Nov 2019 15:09:22 +0000</pubDate>
        <category>Help</category>
        <dc:creator>oplution</dc:creator>
        <guid isPermaLink="false">180@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hi Anthony,</p>

<p>[proxy domains] button missing for NAT VPS in solusvm.<br />
Can you please help to check?</p>

<p>Oplution</p>
]]>
        </description>
    </item>
   </channel>
</rss>
