• Sync captive portal logged in state

    3
    0 Votes
    3 Posts
    718 Views
    DerelictD
    @citronvolcano said in Sync captive portal logged in state: is there a way to sync captive portal logged users between the Master and the Backup? Not that I know of. Last time I ran an HA captive portal I am pretty sure I told it not to sync the CP settings and just disabled the captive portal on the secondary. In the event of a failover it was better to just allow the traffic than to break 3000 CP sessions all at once. Yes, there would be a "vulnerability" in that a savvy user could just manually set their gateway to the secondary's interface address and bypass the portal but that was deemed a lesser concern. The access was "free" anyway. The primary reason HA was implemented was keeping the front desk from getting slammed in the event of a failure, which equates to keeping the guests happy.
  • VIP Changing between physical MAC and VIP MAC

    2
    0 Votes
    2 Posts
    599 Views
    DerelictD
    Each ISP modem is connected to a Layer 2 unmanaged switch, which then one port is connected to one FW the other the other FW. Different switches per WAN correct? Each box is identical, except one is Master and the other Backup of course so I know my HA sync is working. The SYNC interface has nothing to do with the CARP VIP status on each interface or which node is master or backup at any given time. https://forum.netgate.com/post/719523 My problem here is when I have one ISP connected the IP address assigned to the VIP never shows up on the modems ARP table. The CARP MAC only shows up in the upstream MAC address table due to the CARP advertisements. When the node holding the CARP MASTER status sees an ARP request for the CARP VIP, it answers with an ARP response. This ARP response is sourced from the interface MAC address but contains the CARP MAC address as the ISAT MAC address. There is no reason for the modem to contain the CARP VIP in its ARP table unless it needs to route traffic from itself to the CARP address. That said, MANY ISP devices simply do not do what is necessary for CARP to function correctly. They might only allow one MAC per port or any of a number of silly things. Some work fine.
  • Routing Wan with 2 PfSenses

    2
    0 Votes
    2 Posts
    578 Views
    V
    Yes, just change the route to direct the traffic to the virtual IP.
  • my 2 pfsense are master

    Locked
    6
    0 Votes
    6 Posts
    996 Views
    DerelictD
    OK so you have two threads open for the same thing again. Locking this one.
  • 2 masters

    4
    0 Votes
    4 Posts
    770 Views
    DerelictD
    Then maybe it is just multicast connectivity. With both as MASTER you should be able to see the CARP hearbeats from the other node when you capture CARP on VLAN10 or VLAN20. If you only see the hearbeats from the local node you are capturing on, there's your symptom.
  • CARP Vlans doesn't work

    2
    0 Votes
    2 Posts
    508 Views
    DerelictD
    CARP VLANs work fine. Are the CARP VIPs MASTER and BACKUP on the primary and secondary respectively (Status > CARP)? Did you instruct your DHCP server to give the CARP VIP as the default gateway in its leases? but it does not work as well What does "does not work" mean? https://www.netgate.com/docs/pfsense/routing/connectivity-troubleshooting.html https://www.netgate.com/docs/pfsense/highavailability/troubleshooting-high-availability-clusters.html
  • Cannot delete Virtual IP

    2
    0 Votes
    2 Posts
    601 Views
    jimpJ
    Was that the entire log message? That isn't the kind of message that would come up from a privilege. That sounds more like maybe an issue writing to the disk. Sure there aren't any other errors?
  • Hsrp links

    9
    0 Votes
    9 Posts
    1k Views
    C
    @nogbadthebad that's what I thought initially. Thanks for confirming that
  • CARP and Vlans

    6
    0 Votes
    6 Posts
    1k Views
    DerelictD
    Close. ARP responses from the firewalls are always CARP VIP ISAT CARP MAC. But those reponses are sourced from the interface MAC address, not the CARP MAC. The CARP MAC address is included in the ARP ISAT response, not the frame itself. What steers the traffic to the proper node that holds the CARP MASTER is the fact that the CARP advertisements are sourced from the CARP MAC address. This tells the switching layer what port to send the traffic to. No traffic ever gets sourced from the CARP MAC at layer 2 other than the CARP advertisements. This is why most CARP problems come down to switching, not pfSense itself.
  • CARP Rules between Vlans

    7
    0 Votes
    7 Posts
    1k Views
    B
    @awebster okeyyy thank youu very much
  • Create Vlan

    4
    0 Votes
    4 Posts
    781 Views
    V
    Yes, relating to CARP, VLANs behaves like conventional network interfaces. The VIP has to be a CARP VIP.
  • HA AND VLANS

    6
    0 Votes
    6 Posts
    1k Views
    X
    @derelict It is amazing now I can finally shut down my DELL R210 II and upgrade the memory and remove that 12 TB HDD from there without down time, witch I was planing to do from a very long time Thank you
  • CARP chosen instead of VirtualIP

    2
    0 Votes
    2 Posts
    601 Views
    johnpozJ
    Why would you want to run multiple layer 3 on the same layer 2? Its a Borked Config right out of the gate - are you in the middle of migration from that Huge /16 that makes zero sense to the more reasonable /24?
  • DHCP DDNS wrongly remaping hosts: host.domain.domain

    3
    0 Votes
    3 Posts
    686 Views
    S
    I found a work around rewriting the client dhclient.conf file, but this is not satisfying. I guess we will have to externalize our DHCP service from PFsense, probably some dedicated isc dhcpd server with the capacity of understanding that a FQDN shouldn't get forwarded a duplicated domain name... :-(
  • High Avail. Sync broken

    22
    0 Votes
    22 Posts
    16k Views
    S
    @vigorfac said in High Avail. Sync broken: Nov 7 12:40:18 php-fpm 51646 /status_logs_settings.php: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '[1510054818] unbound[90624:0] error: bind: address already in use [1510054818] unbound[90624:0] fatal error: could not open ports' The above error sounds similar to this bug in pfSense, which was since resolved: https://redmine.pfsense.org/issues/7326#note-2 (the code didn't wait long enough for unbound to stop before trying to start it again...in our case the master server was unaffected but the backup router would end up with unbound not running) re: HA sync, we have "DNS Forwarder and DNS Resolver configurations" checked in our setup and have no sync issues. So I don't think that by itself is an issue.
  • Public IP to Client

    16
    0 Votes
    16 Posts
    2k Views
    DerelictD
    Forget it, Jake. It's OVH.
  • Routed subnet / Nat to CARP

    5
    0 Votes
    5 Posts
    1k Views
    L
    Hey The reason for the NAT is because its part of a DNS failover. I got it working like this: WAN1 IP: 1.2.3.4 NAT'ed to 172.10.0.1 WAN2 IP: 4.3.2.1 NAT'ed to 172.10.0.1 That way i got a WAN failover to the same server.
  • Adding CARP VIP to WAN restarts the interface

    1
    0 Votes
    1 Posts
    335 Views
    No one has replied
  • ntpd uses virtual IP - even in backup mode

    11
    0 Votes
    11 Posts
    1k Views
    ?
    Hi, yes I had the interfaces restricted - I did not want the ntpd to LISTEN on the WAN interface. Reseting state did not help- same issue. But attaching ntpd to the WAN interface did the trick. Now having hybrid NAT and proper ntpd source IP. Thanks& Greetings
  • Replicate DHCP settings to failover DHCP server

    3
    0 Votes
    3 Posts
    660 Views
    B
    Thank you, I wanted to get confirmation. I will troubleshoot the XMLRPC sync !
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.