Project

General

Profile

Actions

Bug #12976

closed

Captive Portal not working with CARP-VIP configured on Captive-Portal-Interface

Added by Alex Boettrich about 3 years ago. Updated about 3 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.6.0
Affected Architecture:
amd64

Description

When Captive Portal is configured with a CARP VIP on the interface the captive portal does not work. DNS traffic to CARP VIP is blocked. DNS traffic to interface IP works.
CARP VIP is configured as allowed IP under Services => Captive Portal => "ZONE_NAME" => Allowed IP Addresses.
Removing the CARP IP the guest portal works as expected.

Actions #1

Updated by Jim Pingle about 3 years ago

Have you applied the workaround from #12834? It's possible this is the same root cause.

Actions #2

Updated by Alex Boettrich about 3 years ago

Thanks for pointing out #12834 - I missed that.
#12834 is installed now and I rebooted the box - same problem - captive Portal does not work when using a CARP IP for DNS / GW-IP for Clients on that subnet.

Actions #3

Updated by Alex Boettrich about 3 years ago

It looks like I found the issue. I had to explicitly check the CARP-address on the guest-portal interface for unbound. Strangely on other interfaces Unbound listens on the CARP address without checking them explicitly... only on the Guest-Portal interface it had to be "ticked".
I think this ticket can be closed. I apologize for the inconvenience.

Actions #4

Updated by Jim Pingle about 3 years ago

  • Status changed from New to Not a Bug

Usually if you select any specific interface it doesn't necessarily include the VIPs, so it's somewhat surprising that it worked on the others. I'll close this out.

Actions #5

Updated by Steve Wheeler about 3 years ago

Yeah this doesn't appear to be CP related. The generated ipfw rules allow access to the CARP VIP on the interface:

[2.6.0-RELEASE][admin@m470-2.stevew.lan]/root: ipfw table test_zone_host_ips list
192.168.146.1/32 0 1197 220705 1648077743
192.168.146.5/32 0 0 0 0

Actions

Also available in: Atom PDF