How to use haproxy for outgoing requests? Announcing the arrival of Valued Associate #679:...

What is the appropriate index architecture when forced to implement IsDeleted (soft deletes)?

Why is Nikon 1.4g better when Nikon 1.8g is sharper?

Illegal assignment from sObject to Id

Do any jurisdictions seriously consider reclassifying social media websites as publishers?

How fail-safe is nr as stop bytes?

Is it fair for a professor to grade us on the possession of past papers?

A term for a woman complaining about things/begging in a cute/childish way

Why weren't discrete x86 CPUs ever used in game hardware?

Can anything be seen from the center of the Boötes void? How dark would it be?

What would you call this weird metallic apparatus that allows you to lift people?

How to play a character with a disability or mental disorder without being offensive?

Why do we bend a book to keep it straight?

SF book about people trapped in a series of worlds they imagine

How to write this math term? with cases it isn't working

Why does the remaining Rebel fleet at the end of Rogue One seem dramatically larger than the one in A New Hope?

What is this clumpy 20-30cm high yellow-flowered plant?

Take 2! Is this homebrew Lady of Pain warlock patron balanced?

Can the Great Weapon Master feat's damage bonus and accuracy penalty apply to attacks from the Spiritual Weapon spell?

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

What is the difference between globalisation and imperialism?

Chinese Seal on silk painting - what does it mean?

What is the meaning of 'breadth' in breadth first search?

How were pictures turned from film to a big picture in a picture frame before digital scanning?

How to react to hostile behavior from a senior developer?



How to use haproxy for outgoing requests?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionRoute all HTTP traffic through polipoHAproxy: redirect from IP to hostnameHaproxy: use backend server like backupUse HAProxy to tunnel SSH through httpswget probelm with a tunnel connection using sshhaproxy serving wrong SSL certificate for a subdomainSimple HTTP Proxy for multiple client authentication2-way TLS Using HAProxy Authenticates with Command Line but Fails in BrowserHAproxy - add path to backend serverSource-MAC Filter iptables





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I am trying to create a tls link between two haproxy instances. Each instance is installed on a machine which have some apps that need to talk with each other using the proxy. I want the haproxy instances to handle the tls stuff in behalf of apps since I am using client authentication. Now, what I tried to do is to have a haproxy on the client side to listen on localhost interface but it seems not possible. How do I accomplish that; to have outgoing/incoming going through haproxy ?



enter image description here










share|improve this question









New contributor




Badr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • For simple TLS encapsulation, you may want to look also at stunnel. HAProxy can do it too of course but it is a more generic tool hence more options hence more things to understand or risks of being done wrong...

    – Patrick Mevzek
    3 hours ago




















0















I am trying to create a tls link between two haproxy instances. Each instance is installed on a machine which have some apps that need to talk with each other using the proxy. I want the haproxy instances to handle the tls stuff in behalf of apps since I am using client authentication. Now, what I tried to do is to have a haproxy on the client side to listen on localhost interface but it seems not possible. How do I accomplish that; to have outgoing/incoming going through haproxy ?



enter image description here










share|improve this question









New contributor




Badr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • For simple TLS encapsulation, you may want to look also at stunnel. HAProxy can do it too of course but it is a more generic tool hence more options hence more things to understand or risks of being done wrong...

    – Patrick Mevzek
    3 hours ago
















0












0








0








I am trying to create a tls link between two haproxy instances. Each instance is installed on a machine which have some apps that need to talk with each other using the proxy. I want the haproxy instances to handle the tls stuff in behalf of apps since I am using client authentication. Now, what I tried to do is to have a haproxy on the client side to listen on localhost interface but it seems not possible. How do I accomplish that; to have outgoing/incoming going through haproxy ?



enter image description here










share|improve this question









New contributor




Badr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I am trying to create a tls link between two haproxy instances. Each instance is installed on a machine which have some apps that need to talk with each other using the proxy. I want the haproxy instances to handle the tls stuff in behalf of apps since I am using client authentication. Now, what I tried to do is to have a haproxy on the client side to listen on localhost interface but it seems not possible. How do I accomplish that; to have outgoing/incoming going through haproxy ?



enter image description here







ssl proxy haproxy






share|improve this question









New contributor




Badr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Badr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 45 mins ago









Rui F Ribeiro

42.2k1484142




42.2k1484142






New contributor




Badr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 6 hours ago









BadrBadr

11




11




New contributor




Badr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Badr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Badr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • For simple TLS encapsulation, you may want to look also at stunnel. HAProxy can do it too of course but it is a more generic tool hence more options hence more things to understand or risks of being done wrong...

    – Patrick Mevzek
    3 hours ago





















  • For simple TLS encapsulation, you may want to look also at stunnel. HAProxy can do it too of course but it is a more generic tool hence more options hence more things to understand or risks of being done wrong...

    – Patrick Mevzek
    3 hours ago



















For simple TLS encapsulation, you may want to look also at stunnel. HAProxy can do it too of course but it is a more generic tool hence more options hence more things to understand or risks of being done wrong...

– Patrick Mevzek
3 hours ago







For simple TLS encapsulation, you may want to look also at stunnel. HAProxy can do it too of course but it is a more generic tool hence more options hence more things to understand or risks of being done wrong...

– Patrick Mevzek
3 hours ago












0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Badr is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f513312%2fhow-to-use-haproxy-for-outgoing-requests%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Badr is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Badr is a new contributor. Be nice, and check out our Code of Conduct.













Badr is a new contributor. Be nice, and check out our Code of Conduct.












Badr is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f513312%2fhow-to-use-haproxy-for-outgoing-requests%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...