When clicking on the Virtual IP link under the Frontend section I am getting a 404 error.
Frontend
Error
Versions
PfSense Version: 2.4.5-RELEASE-p1 (amd64)
HaProxy Installed version: 1.8.25
When clicking on the Virtual IP link under the Frontend section I am getting a 404 error.
Frontend
Error
Versions
PfSense Version: 2.4.5-RELEASE-p1 (amd64)
HaProxy Installed version: 1.8.25
You need to talk to pfsense folks or provide the actual haproxy configuration.
The URL that the Virtual IP link takes you too is the below btw.
https://IP:Port/haproxy/firewall_virtual_ip.php
Here is the config you asked for.
Config
# Automaticaly generated, dont edit manually.
# Generated on: 2021-01-07 20:17
global
maxconn 10000
stats socket /tmp/haproxy.socket level admin expose-fd listeners
uid 80
gid 80
nbproc 1
nbthread 1
hard-stop-after 15m
chroot /tmp/haproxy_chroot
daemon
log-send-hostname Haproxy
server-state-file /tmp/haproxy_server_state
listen HAProxyLocalStats
bind 127.0.0.1:8088 name localstats
mode http
stats enable
stats refresh 10
stats admin if TRUE
stats show-legends
stats uri /haproxy/haproxy_stats.php?haproxystats=1
timeout client 5000
timeout connect 5000
timeout server 5000
frontend K8S-Control-Plane-Frontend
mode http
log global
option http-keep-alive
timeout client 30000
default_backend K8S-Control-Plane-Backend_ipvANY
backend K8S-Control-Plane-Backend_ipvANY
mode http
id 100
log global
balance roundrobin
timeout connect 30000
timeout server 30000
retries 3
option httpchk GET /livez
server 10.1.50.4 10.1.50.4:6443 id 101 check-ssl check inter 1000 verify none
server 10.1.50.5 10.1.50.5:6443 id 102 check-ssl check inter 1000 verify none
Haproxy is only listening on localhost, as the only bind statement is for 127.0.0.1:8088
, unless the configuration is incomplete and frontend K8S-Control-Plane-Frontend
contains other things.
The link is meant to go to /firewall_virtual_ip.php
https://IP:Port/firewall_virtual_ip.php
There you can define a Virtual IP, and then select it from the External address / Listen address drop down (VIPs appear after your other networks at the bottom of the list).