<?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[2 PfSense Use source IP client when routing between the 2 PfSense]]></title><description><![CDATA[<p dir="auto">Hi!  ;D</p>
<p dir="auto">I'm new here so I hope I'm in the right forum, thanks in advance for your help.</p>
<p dir="auto">I've got 2 pfSense VMs, each box got multiple interfaces/subnets and the 2 PfSense are connected with 1 network.<br />
The idea behind is to simulate 2 data centres (let's call it DC 1 and DC 2), each got his own PfSense and with this design I can simulate a split brain scenario by stopping the traffic between the 2 pfSenses.</p>
<p dir="auto">To route the traffic between the 2 virtual DC/pfsense, I have set up a default gateway (routing&gt;gateway) using the other PfSense gateway and vice versa.<br />
Cross traffic works fine, everything is perfect except that when the traffic from DC A access DC B, the gateway from DC B is used to communicate to the devices in DC B (it is the same issue for traffic from DC B).</p>
<p dir="auto">I've got an application that can't work because the IP associated to my device is the upstream gateway … Is there any chance to keep the client source IP instead of the upstream gateway? If I can simulate my split brain without using 2 pfsenses or with a different configuration, it is fine!</p>
<p dir="auto">I hope I make sense, thanks!<br />
J</p>
]]></description><link>https://forum.netgate.com/topic/111495/2-pfsense-use-source-ip-client-when-routing-between-the-2-pfsense</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 11:11:21 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/111495.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Feb 2017 20:15:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 2 PfSense Use source IP client when routing between the 2 PfSense on Mon, 13 Feb 2017 14:52:25 GMT]]></title><description><![CDATA[<p dir="auto">So the problem was the automatic rules created for NAT, once disabled, it works!</p>
<p dir="auto">Thanks m8!  ;)</p>
]]></description><link>https://forum.netgate.com/post/679636</link><guid isPermaLink="true">https://forum.netgate.com/post/679636</guid><dc:creator><![CDATA[fwj]]></dc:creator><pubDate>Mon, 13 Feb 2017 14:52:25 GMT</pubDate></item><item><title><![CDATA[Reply to 2 PfSense Use source IP client when routing between the 2 PfSense on Sun, 12 Feb 2017 12:34:07 GMT]]></title><description><![CDATA[<p dir="auto">Thanks! No I didn't, I'll give it a try on Monday.</p>
<p dir="auto">Cheers,<br />
J</p>
]]></description><link>https://forum.netgate.com/post/679420</link><guid isPermaLink="true">https://forum.netgate.com/post/679420</guid><dc:creator><![CDATA[fwj]]></dc:creator><pubDate>Sun, 12 Feb 2017 12:34:07 GMT</pubDate></item><item><title><![CDATA[Reply to 2 PfSense Use source IP client when routing between the 2 PfSense on Sun, 12 Feb 2017 06:28:36 GMT]]></title><description><![CDATA[<p dir="auto">did you try disabling automatic NAT ? I just had an issue where static routing isn't being used because a gateway was set in the WAN Interface, and my observations shows that automatic NAT in pfsense assigns NAT rule to interfaces with gateway assigned to it</p>
]]></description><link>https://forum.netgate.com/post/679397</link><guid isPermaLink="true">https://forum.netgate.com/post/679397</guid><dc:creator><![CDATA[adi.nugraha]]></dc:creator><pubDate>Sun, 12 Feb 2017 06:28:36 GMT</pubDate></item><item><title><![CDATA[Reply to 2 PfSense Use source IP client when routing between the 2 PfSense on Sat, 11 Feb 2017 16:47:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi, thanks for helping.</p>
<p dir="auto">No the 2 PfSense are connected through a dedicated LAN interface, not NAT, see attached a schema.<br />
The traffic from subnet 100 will use GW 172.21.1.251 to access subnet 200, normal. The problem is the device from subnet 200 will see the traffic coming from 172.21.1.251 (and that cause issue in my application Citrix) instead of the client IP from subnet 100 (e.g. 192.168.100.1).</p>
<p dir="auto">Cheers,<br />
J</p>
<p dir="auto">![PfSense Lab Issue.jpg](/public/<em>imported_attachments</em>/1/PfSense Lab Issue.jpg)<br />
![PfSense Lab Issue.jpg_thumb](/public/<em>imported_attachments</em>/1/PfSense Lab Issue.jpg_thumb)</p>
]]></description><link>https://forum.netgate.com/post/679312</link><guid isPermaLink="true">https://forum.netgate.com/post/679312</guid><dc:creator><![CDATA[fwj]]></dc:creator><pubDate>Sat, 11 Feb 2017 16:47:13 GMT</pubDate></item><item><title><![CDATA[Reply to 2 PfSense Use source IP client when routing between the 2 PfSense on Sat, 11 Feb 2017 03:27:34 GMT]]></title><description><![CDATA[<p dir="auto">Please CMIIW,</p>
<p dir="auto">I'm assuming you're still runing the default setting and the 2 pfsense are connected through a WAN inteface, but you want the client on either side of the pfsense to connect using their own ip ?</p>
<p dir="auto">in that case you try disabling NAT on the WAN, by default pfsense will NAT all traffic through the WAN Interface</p>
]]></description><link>https://forum.netgate.com/post/679252</link><guid isPermaLink="true">https://forum.netgate.com/post/679252</guid><dc:creator><![CDATA[adi.nugraha]]></dc:creator><pubDate>Sat, 11 Feb 2017 03:27:34 GMT</pubDate></item></channel></rss>