Score:0

How to forward a port to a destination through a chain of 2 servers with HAProxy

md flag

I want to forward a port through a chain of 2 servers, which is when a request comes from the client side to server#1, it should first send the reques to server#2, and then to the destination. I want to achieve the same resulf of this ssh command:

# example I want to foward port 8443 to remote address xxx.xxxx.xxx.xxx:443
# so I can run this command on the server#1
ssh -fNTL 0.0.0.0:8443:xxx.xxx.xxx.xxx:443 root:password@server#2

I want to do the same with HAProxy so I can use its' monitoring and load balancing features.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.