<p>I have in my home env two systems:</p>
<ul>
<li>a Docker server on 10.0.0.10/16, using Traefik reverse proxy with one of my public domains</li>
<li>and a kubernetes cluster with VIP on 10.0.0.201/16, with Nginx and supposedly with another of my public domains
my firewall is pfsense, I have reverse proxy installed; certificates are managed by nginx /traefik on docker /k8s</li>
</ul>
<p>How can I configure pfsense to direct domainA traffic to the Docker host and DomainB to the k8s-one? (no need for it do do ACME, just directing the traffic...)</p>
<p>A step by step guide, or maybe some pointer to a good guide would be much appreciated...</p>
<p>Thanks,
G</p>
<p>Tried setting up reverse proxy on pfsense, but clearly missing some bits</p>

<p>You need to:</p>
<ol>
<li>Enable <a href="https://docs.netgate.com/pfsense/en/latest/packages/haproxy.html" rel="nofollow noreferrer">Haproxy on pfsense</a></li>
<li>Create a frontend on your 80,443 ports.</li>
<li>Create two backends pointing to docker and k8s environments.</li>
<li>Write ACLs in your frontend to point traffic to specific backend, according to hostname and SNI(for ssl).</li>
</ol>
