Questions tagged [haproxy]

haproxy is a high availability proxy server which is used to load-balance webserver-farms

Filter by
Sorted by
Tagged with
0 votes
1 answer
111 views

The "-y" flag in apt-get command [duplicate]

Running apt-get with the -y flag helps runninng the command without waiting for user input. This is good when trying to run an automated script. However add-apt-repository ppa:vbernat/haproxy-2.8 ...
Akintola Oluwaseyi Alex's user avatar
0 votes
1 answer
163 views

Moving virtual IP address

Something drive me crazy: I ever installed Haproxy, to let it work I needed a virtual IP address. Now I removed haproxy on both servers but still the virtual IP address is there and unable to remove. ...
ronald's user avatar
  • 29
3 votes
0 answers
208 views

HAproxy to v2ray

I am using Ubuntu 22.04.I have a VPS with v2ray that is proxied behind Cloudflare. Because of the restriction of open ports of Cloudflare, I want to use HAproxy to connect all users via the 443 port ...
masoud hanifehzadeh's user avatar
0 votes
0 answers
73 views

How to add files to ipfs using ingress url from the command line tool - ipfs-cluster-ctl?

I have deployed ipfs-cluster as a statefulset with 3 replicas in Azure Kubernetes cluster. Created loadbalancer service for ipfs and used the loadbalancer service ip to add files using ipfs-cluster-...
Soundarya's user avatar
0 votes
0 answers
416 views

How can I avoid port collision?

everyone! I was recently assigned to a task. There is a Client is running on linux servers for system and security monitoring. It's configuration can cause a port collision with our haproxy running on ...
codehunter-py's user avatar
1 vote
1 answer
161 views

Upgrading HAproxy to 2.2.17 if its not in the packager

I am currently running, 21.04 and HAproxy 2.2.9. There was a security fix that was released in 2.2.17 but when I run the upgrader in ubuntu it doesn't find that package. How would one use HAproxies ...
Brett's user avatar
  • 13
1 vote
1 answer
2k views

Keepalived Virtual IP not responding to ARP requests Ubuntu 20.04 Server

I am not able to ping the virtual IP of keepalived. I checked and found that keepalived is not sending ARP requests or reply. In my configuration, I have 2 servers, running on Ubuntu 20.04 with ...
Suja's user avatar
  • 11
1 vote
1 answer
421 views

Why I am Getting Lots of [UFW_BLOCK] Logs For Client's and Switches IP Addresses?

I have a MariaDB database server which is a node of my Galera Cluster and when I look at /var/log/ufw.log file, I see a lot of UFW_BLOCK logs for clients IP addresses which were connected to database ...
TarabydaVllasıCafcaflıAtArabsı's user avatar
2 votes
1 answer
5k views

Haproxy fails to start

I am running Ubuntu 18.04 My config files and other info are below. I installed using apt-get. log /dev/log local0 log /dev/log local1 notice chroot /var/lib/haproxy stats timeout 30s user haproxy ...
PerennialWheat's user avatar
0 votes
1 answer
1k views

Setting Static IP and NAT trafic to LXC container

This is my first question in here so please have mercy of structured badly compared to the usual suspects. :-) I would like to be able to receive real connecting client IP in a LXC container over TCP....
Kevin Kruse's user avatar
1 vote
0 answers
527 views

Problem of deploying all-in-one using Kolla tools

Currently, I was building an Ubuntu OS for openstack"rocky" for testing. I use kolla tools all-in-one instead of multinode. I pass all of the prechecks and bootstrap-servers steps, but when I type ...
gorson's user avatar
  • 11
1 vote
1 answer
475 views

Setting up LetsEncrypt renewal on Ubuntu

I've got a LetsEncrypt Certificate working on Ubuntu Server in a LXD setup with a jumpbox. The renewal isn't working, the verification files are not accessible Attempting to renew cert (example.com)...
beek's user avatar
  • 201
0 votes
0 answers
186 views

Open Source IP/Network load balancer

I've got a need to load balance two firewalls. Can I use NGINX or HAProxy to do IP load balancing, i.e. forward all IP traffic regardless of port or protocol to the backend server(fw)? Firewall has a ...
Tim's user avatar
  • 11
1 vote
0 answers
109 views

HAProxy redispatch on request 5xx errors

Is there any option to re-dispatch a request if it gets failed with any 5xx http status code. I tried "option redispatch" but this is for connection failure. How I can resend the request to backend ...
user2486495's user avatar
0 votes
1 answer
417 views

haproxy LB is showing as not secured after ssl enabled

I got the .cer file from trusted CA source and created .pem file by using .cer and .key file. I have configured the haproxy to use the .pem file to enable ssl. But while accessing the haproxy frontend,...
Vasu Tubati's user avatar
1 vote
0 answers
901 views

Redirect to https with www for particulate domain on HAproxy

I've setup Haproxy, varnish and apache2 on ubuntu server and there are multiple web site running with http and https. following setup configured as below: ---443--> | | HAProxy ------&...
Nullpointer's user avatar
  • 1,161
3 votes
2 answers
2k views

Unable to connect to mysql DB through my HA Proxy Servers [Keepalived is used for Virtual IP-VIP]

I have my HAProxy running on VIP:192.168.61.32, also I've checked netstat -tulnp|grep 3306 tcp 0 0 192.168.61.32:3306 0.0.0.0:* LISTEN 7895/haproxy But when I ...
karthik v's user avatar
  • 131
1 vote
1 answer
1k views

Difference between 49-haproxy.conf and haproxy.conf files

What is the difference between 49-haproxy.conf and the haproxy.conf files? Now I have no idea if this is specific to Ubuntu or if this is in general. The documentation on HAProxy is astoundingly bad. ...
Karl Morrison's user avatar
2 votes
1 answer
4k views

haproxy doesn't start on startup

I am using haproxy for load balancing mysql.Haproxy is running on Ubuntu 14.04 .I have set ENABLED=1 in /etc/defaults/haproxy file. But when restarted, haproxy doesn't start as daemon. The ...
user3615045's user avatar
1 vote
1 answer
1k views

Install haproxy 1.5 without telling apt specific version

In Ubuntu 14.04 installing haproxy through apt-get install haproxy installs haproxy 1.4, while 1.5 is in the repository. How can I install haproxy 1.5 (or the newest) without resorting to specific ...
hbogert's user avatar
  • 314
1 vote
0 answers
5k views

configuring haproxy for SMTP traffic

I am trying to get SMTP (and IMAP, POP, IMAPS, etc..) to run over my haproxy server but i can't seem to actually get traffic to be allowed through. Anytime i telnet to my ip on port 25 i get: (same ...
Tobias Hagenbeek's user avatar
2 votes
1 answer
239 views

SSL Node.js Charms with Haproxy

When writing a Node.js charm that requires SSL how should I write the Haproxy web hooks? I am using the following hooks based on the sample code: hooks/website-relation-joined: #!/bin/bash ...
Brandon Clark's user avatar