From 925889c8ea83ab718de340a518fd80d42dd1bcac Mon Sep 17 00:00:00 2001 From: David Ames Date: Thu, 17 Aug 2017 16:17:49 -0700 Subject: [PATCH] Dual Stack VIPs Enable dual stack IPv4 and IPv6 VIPs on the same interface. HAProxy always listens on both IPv4 and IPv6 allowing connectivity on either protocol. Change-Id: I3079b25ba5ad51a61288519e4c78e0ae729d3dfa --- templates/haproxy.cfg | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/haproxy.cfg b/templates/haproxy.cfg index 212bae8..9f48e8e 100644 --- a/templates/haproxy.cfg +++ b/templates/haproxy.cfg @@ -45,9 +45,7 @@ listen stats {{ options.stat_port }} {% for service, ports in options.service_ports.items() -%} frontend tcp-in_{{ service }} bind *:{{ ports[0] }} - {% if ipv6 -%} bind :::{{ ports[0] }} - {% endif -%} {% for frontend in cluster.cluster_hosts -%} acl net_{{ frontend }} dst {{ cluster.cluster_hosts[frontend]['network'] }} use_backend {{ service }}_{{ frontend }} if net_{{ frontend }}