<?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[pfsense to nat ports 80 and 443 to 2 VM? nginx? haproxy?]]></title><description><![CDATA[<p dir="auto">Hi guys, I am new in pfsense and I am trying to learn :)<br />
I have a dedicated server abroad where I am hosting some sites and game servers.<br />
every single domain name I am using is behind CloudFlare, with strict SSL.<br />
1)proxmox 7.2 as the host O/S with 1 static true IP<br />
2)pfsense is in autostart very first so I can access my vms (internal IP:10.2.100.254)<br />
3)I have a myvestacp on Debian 15 VM for my websites and it works perfectly with NAT.(internal IP:10.3.100.2)<br />
4)I have a windows server 2022 for some game servers where I am also using NAT for the ports of the games and it works good.(internal IP:10.3.100.4)<br />
5)Here is where I need help. I have a freepbx VM which I also want to use HTTPS and I can't NAT ports 80 and 443 on myvestacp and on freepbx.(internal IP:10.3.100.6)</p>
<p dir="auto">I have tried to make another VM with Debian 11.5 and nginx proxy manager and changed the NAT of ports 80 and 443 to this VM (internal IP:10.3.100.10), and from there added the domains and send them towards the VM they belong to, for example freepbx.mydomain.gr &gt; 10.3.100.6 and all the other domains &gt; 10.3.100.2<br />
None of my websites was accessible after that with error of infinite redirects.</p>
<p dir="auto">So what I am asking can it be done? Can I NAT somehow ports 80 and 443 on 2 different VMs?<br />
I have read about haproxy but I am totally unfamiliar with it, can someone write a few steps on how to do it with haproxy if nginx proxy manager can't?</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://forum.netgate.com/topic/175263/pfsense-to-nat-ports-80-and-443-to-2-vm-nginx-haproxy</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 22:40:53 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/175263.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 Oct 2022 15:36:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to pfsense to nat ports 80 and 443 to 2 VM? nginx? haproxy? on Fri, 21 Oct 2022 17:25:04 GMT]]></title><description><![CDATA[<p dir="auto">No ideas or suggestions?</p>
]]></description><link>https://forum.netgate.com/post/1067265</link><guid isPermaLink="true">https://forum.netgate.com/post/1067265</guid><dc:creator><![CDATA[compiz]]></dc:creator><pubDate>Fri, 21 Oct 2022 17:25:04 GMT</pubDate></item></channel></rss>