Failover&High Aviability
-
I am not clearly understand what are you mean. Second pfSense have different WAN IP 10.0.0.9/24. They are both have same GW from ISP.
The strange point that i can't ping my primary pfSense WAN interface from my secondary pfSense inteface.
They are location on the same network. -
You wrote, you have only one public IP. Hence this one public IP has to be your CARP VIP, while your primary interface IPs on master and backup will be in a private subnet.
However, your Example doesn’t match to that, since you only mentioned private IPs. So maybe you should tell us your real IPs for clarification or use an Example which matches to what you describe. -
I created the schenatic diagram you can see it on attachment
WAN Network: 10.0.0.0/24
LAN Network 192.168.1.0/24 -
@viragomann
Look please -
-
@aslanov
So you got a private IP and gateway from your ISP, not a public one as you stated.Maybe you've messed some up with your outbound NAT.
There's a rule needed on WAN interface for source 127.0.0.0/8 translating packets to WAN address. Have you deleted that or edited it? -
The rule is created on pfsense master. On pfsense backup it appears automatically.
-
@Pavel88 said in Failover&High Aviability:
The rule is created on pfsense master. On pfsense backup it appears automatically.
Exactly.
But I wrote, the translation address has to be "WAN address" not something else. -
@viragomann said in Failover&High Aviability:
Exactly.
But I wrote, the translation address has to be "WAN address" not something else.It did not help
-
Consider that that rule has to be placed on top of the WAN rules, otherwise your other rules allowing any to any will hit the traffic.
-
@viragomann said in Failover&High Aviability:
Consider that that rule has to be placed on top of the WAN rules, otherwise your other rules allowing any to any will hit the traffic.
That's cool! GW is online, but only if I'm making a rule for any. GW online, but CARP does not work. If you disable master pfsense. Internet is disconnected. -
You need both rules if your Outbound NAT is in manual mode. Is it?
However, in the second rule for the source any, the translation address has to your CARP VIP. -
@viragomann
In the case of the second rule of any addresses on the CARP VIP again gw offline.