<?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[Carp &amp; nat&#x2F;firewall rules]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I've built a 2 node WRAP cluster - works fine.</p>
<p dir="auto">I can't get the services (HTTP, SMTP etc) exposed to the internet via the VIP</p>
<p dir="auto">Setup:</p>
<p dir="auto">WAN VIP: 11.12.13.90/24<br />
LAN VIP: 192.168.1.70/24</p>
<p dir="auto">FW1:<br />
      WAN: 11.12.13.80<br />
      LAN: 192.168.1.50</p>
<p dir="auto">FW2:<br />
      WAN: 11.12.13.81<br />
      LAN: 192.168.1.51</p>
<p dir="auto">WEB SERVER:<br />
    LAN:  192.168.1.12</p>
<p dir="auto">LAN Firewall rule:  I haven't touched this.<br />
Default LAN -&gt; any</p>
<p dir="auto">I've added a WAN firewall rule to allow all to destination 192.168.1.12 port 80</p>
<p dir="auto"><strong>Advanced Outbound NAT Rule:</strong></p>
<p dir="auto">Interface: WAN<br />
Source: 192.168.1.0/24<br />
Destination: *<br />
Destination Port: *<br />
NAT Address: 11.12.13.90<br />
NAT Port: *</p>
<p dir="auto"><strong>Port Forward Rule:</strong></p>
<p dir="auto">Interface: WAN<br />
Proto: TCP<br />
Ext. Port Range: 80<br />
NAT IP: 192.168.1.12 (ext.: 11.12.13.90)<br />
Int. Port Range: 80</p>
<p dir="auto">CARP sync's ok.  Ping to each WAN IP works but ping to WAN VIP loses some (not all) packets.</p>
<p dir="auto">Do I need a LAN firewall rule?<br />
Pointers to get this working would be much appreciated.</p>
<p dir="auto">Many Thanks,</p>
]]></description><link>https://forum.netgate.com/topic/483/carp-nat-firewall-rules</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 07:51:35 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/483.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Jan 2006 11:32:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Carp &amp; nat&#x2F;firewall rules on Sun, 29 Jan 2006 11:47:56 GMT]]></title><description><![CDATA[<p dir="auto">The Bad Gateway messages are cosmetic and they should be there no matter which IP you are using. They appear always when a CARP IP is brought up.</p>
]]></description><link>https://forum.netgate.com/post/133908</link><guid isPermaLink="true">https://forum.netgate.com/post/133908</guid><dc:creator><![CDATA[hoba]]></dc:creator><pubDate>Sun, 29 Jan 2006 11:47:56 GMT</pubDate></item><item><title><![CDATA[Reply to Carp &amp; nat&#x2F;firewall rules on Sun, 29 Jan 2006 09:48:26 GMT]]></title><description><![CDATA[<p dir="auto">I'm not using DHCP in this situation but thanks for the tip.</p>
<p dir="auto">One thing that threw me too was that I tried using 192.168.0.70  (note the zero)  as my LAN gateway VIP as I originally had my LAN on the 192.168.0.x network.  Doing this caused lots of BAD GATEWAY error messages.    Changing to 192.168.1.70 as the LAN GATEWAY VIP solved this.</p>
]]></description><link>https://forum.netgate.com/post/133907</link><guid isPermaLink="true">https://forum.netgate.com/post/133907</guid><dc:creator><![CDATA[dbuckle]]></dc:creator><pubDate>Sun, 29 Jan 2006 09:48:26 GMT</pubDate></item><item><title><![CDATA[Reply to Carp &amp; nat&#x2F;firewall rules on Sat, 28 Jan 2006 20:50:44 GMT]]></title><description><![CDATA[<p dir="auto">Great  :D. Btw, if you use the pfSense as DHCP as well, there is a field where you can enter the LAN VIP to be handed out as gateway to the clients at the dhcp-server settings page.</p>
]]></description><link>https://forum.netgate.com/post/133900</link><guid isPermaLink="true">https://forum.netgate.com/post/133900</guid><dc:creator><![CDATA[hoba]]></dc:creator><pubDate>Sat, 28 Jan 2006 20:50:44 GMT</pubDate></item><item><title><![CDATA[Reply to Carp &amp; nat&#x2F;firewall rules on Sat, 28 Jan 2006 17:59:46 GMT]]></title><description><![CDATA[<p dir="auto">Great!  It works!</p>
<p dir="auto">I hadn't set the gateway IP address of the web server to the LAN VIP - just as you suggested.</p>
<p dir="auto">Thanks very much for your help with this, hoba</p>
<p dir="auto">;D</p>
]]></description><link>https://forum.netgate.com/post/133889</link><guid isPermaLink="true">https://forum.netgate.com/post/133889</guid><dc:creator><![CDATA[dbuckle]]></dc:creator><pubDate>Sat, 28 Jan 2006 17:59:46 GMT</pubDate></item><item><title><![CDATA[Reply to Carp &amp; nat&#x2F;firewall rules on Sat, 28 Jan 2006 16:41:20 GMT]]></title><description><![CDATA[<p dir="auto">Is it possible that the server behind doesn't use the CARP LAN IP as gateway but a real IP of one of the systems?</p>
<p dir="auto">Also is you WAN IP in a /24 subnet or something smaller? The IP sounds like a testsetup. The VIP and subnet has to be in the same subnet like the real IP of the Interface.</p>
<p dir="auto">From what you wrote the pfSense config looks ok. Check your Client and server settings, maybe something is using a wrong gateway.</p>
<p dir="auto">You also might want to rebuild that config with tha latest testing-snapshot: http://pfsense.com/~sullrich/1.0-BETA1-TESTING-SNAPSHOT-1-25-06/pfSense.img<br />
It has several improvements and bugfixes. As you are running an embedded system that means you need to reflash the cf-media. I also would suggest creating the config afterwards by hand and not reimport the old one, just to make sure.</p>
]]></description><link>https://forum.netgate.com/post/133883</link><guid isPermaLink="true">https://forum.netgate.com/post/133883</guid><dc:creator><![CDATA[hoba]]></dc:creator><pubDate>Sat, 28 Jan 2006 16:41:20 GMT</pubDate></item><item><title><![CDATA[Reply to Carp &amp; nat&#x2F;firewall rules on Sat, 28 Jan 2006 14:00:52 GMT]]></title><description><![CDATA[<p dir="auto">Running 1.0 BETA 1</p>
<p dir="auto">I followed the tutorial "building a fully redundant Cluster with 2 pfSense-systems".</p>
<p dir="auto">So:</p>
<p dir="auto"><strong>Fiirewall 1:</strong></p>
<p dir="auto">Sync Enabled: yes<br />
Sync Interface: OPT1<br />
Load Balancing: no<br />
Preemption: yes<br />
Sync Rules: yes<br />
Sync Aliases: no<br />
Synce NAT: yes<br />
Sync IPSEC: no<br />
Sync WOL : no<br />
Sync Static Routes : no<br />
Sync Load Balancer : no<br />
Sync Virtual IP's : YES<br />
Sync Traffic shaper : no<br />
Sync to IP: 192.168.200.2</p>
<p dir="auto">VIP Advertising Freq: 0</p>
<p dir="auto"><strong>Firewall 2:</strong></p>
<p dir="auto">Sync Enabled: yes<br />
Sync Interface: OPT1<br />
Load Balancing: no<br />
Preemption: YES<br />
Sync Rules: NO<br />
Sync Aliases: no<br />
Synce NAT: yes<br />
Sync IPSEC: no<br />
Sync WOL : no<br />
Sync Static Routes : no<br />
Sync Load Balancer : no<br />
Sync Virtual IP's : NO<br />
Sync Traffic shaper : no<br />
Sync to IP:</p>
<p dir="auto">VIP Advertising Freq: 100</p>
<p dir="auto">The sync seems to be working afaik.  Rules I create are copied to the backup. <br />
I created the VIPs on the MASTER and they were created on both nodes.<br />
Firewall1 is MASTER  for both WAN and LAN VIP's so it looks ok.</p>
<p dir="auto">Firewall logs and I can see RULE PASS on port 80 to the 192.168.1.12 server but nothing happens after that (no web site appears).  Does this mean I have a problem with NAT (outbound?) perhaps?</p>
]]></description><link>https://forum.netgate.com/post/133877</link><guid isPermaLink="true">https://forum.netgate.com/post/133877</guid><dc:creator><![CDATA[dbuckle]]></dc:creator><pubDate>Sat, 28 Jan 2006 14:00:52 GMT</pubDate></item><item><title><![CDATA[Reply to Carp &amp; nat&#x2F;firewall rules on Sat, 28 Jan 2006 13:24:27 GMT]]></title><description><![CDATA[<p dir="auto">What version are you running?<br />
What CARP Settings did you choose (preemption, loadbalancing…)?<br />
What advertising frequency does your VIP's have at each box?<br />
Did you create the VIPs at the mastersystem with syncing in place so they were generated automatically at the backup or did you create them manually at the backup?<br />
What does status&gt;carp tell you? Is one machine master, the other backup or is something mixed there?</p>
<p dir="auto">I have setup pfSense with CARP at several productive environments with portforwardings as well as 1:1 NATs and no problem with these. I as well did some VoIP tests with CARP and even wraps. You'll only notice about 1 second silence and the call continues without being dropped.</p>
]]></description><link>https://forum.netgate.com/post/133875</link><guid isPermaLink="true">https://forum.netgate.com/post/133875</guid><dc:creator><![CDATA[hoba]]></dc:creator><pubDate>Sat, 28 Jan 2006 13:24:27 GMT</pubDate></item></channel></rss>