Questions tagged [proxy-protocol]

28 questions
1
vote
0 answers

Azure Logic App SFTP (SSH) connector - Enable Proxy Protocol

We have an Azure Logic App which connects to an external SFTP server via SSH. A couple of days ago the Logic App connector began to fail due to a "Gateway Timeout": { "error": { "code": 504, "source":…
Chris
  • 495
  • 5
  • 18
1
vote
2 answers

Using http2_push with nginX in conjunction with HAProxy does not work

I can not get HTTP/2 push to work when nginX is configured behind HaProxy. It does work when nginX is hit directly by the web browser however. Did a lot of research already but did not find any hints. Hope anybody knows what I am doing wrong. See…
Roel van Duijnhoven
  • 800
  • 1
  • 7
  • 24
1
vote
1 answer

How to parse custom PROXY protocol v2 header for custom routing in HAProxy configuration?

How can one parse the PROXY protocol version 2 header and use the parsed values to select a backend? Specifically, I am making a connection from one AWS account to another using a VPC PrivateLink endpoint with PROXY v2 enabled. This includes the…
theherk
  • 6,954
  • 3
  • 27
  • 52
0
votes
1 answer

How to enable proxy protocol in javalin?

I bought a load balancer at hetzner and for my backend (written in Java, Web-Server is Javalin) I want to use the Proxy Protocol, that the IP-Adresses will be redirected to my web-services. Hetzner Load Balancer enable Proxy Protocol Hetzner says,…
Lvkas_
  • 3
  • 1
0
votes
0 answers

How to capture client information in a application behind AWS load balancer

Running a [FIX][1] server behind a AWS load balancer, The Load balancer is located outside the application VPC. Need to allow/dissalow connections based on client IP. As client connection are through load balancer, only the load balancer IP is…
0
votes
1 answer

Kubernetes: Tomcat throws Exception when enabling proxy protocol

I am kind of lost right now. I set up a Kubernetes Cluster, deployed a Spring Boot API and a LoadBalancer which worked fine. Now I want to enable proxy protocol on the LoadBalancer to preserve the real clients IP, but once I do this my Spring Boot…
Tobi
  • 654
  • 3
  • 13
0
votes
1 answer

Proxying NGINX Traffic To Secondary Proxy with Proxy_Protocol Enabled

I am trying to route requests such that those requiring websockets will route to a long-lived nginx process, and all others will go to the general reverse-proxy which handles all other traffic. These nginx processes exist in our AWS cloud behind an…
Andonaeus
  • 872
  • 1
  • 5
  • 21
0
votes
2 answers

what is the better way to block CIDR ranges in nginx when using proxy_protocol?

I have a small pool of nginx instances that are behind an ELB in AWS. This ELB is internet-facing and speaks PROXY protocol, not HTTP. Here's the relevant section of my main.vhost server { # speak only PROXY protocol # Accept 80/443; we'll…
user1521764
  • 137
  • 3
  • 11
0
votes
1 answer

NGinx and Proxy Protocol forwarding

I'm trying to create an NGinx configuration in which NGinx receives the proxy protocol header on the incoming connection and passes it on the outgoing connection. Essentially to propagate the real ip address to the final target. I'm using the…
user1942586
  • 153
  • 1
  • 3
  • 16
0
votes
2 answers

Sending Proxy protocol to Server that doesn't support Proxy Protocol

I have a HTTP Acceleration solution that use reverse proxy. In order the provide the client IP to the server I'm trying to add proxy protocol support in my HTTP Acceleration solution. Although as the HTTP Acceleration solution endpoint itself can…
0
votes
0 answers

PostFix Dovecot Behind a SSL Terminating Load Balancer

Sadly, I have spent all weekend on this and I'm hopping someone can tell me if what I want to do is even possible or a good idea. I am trying to use an AWS Classic Load Balancer to terminate SSL before forwarding the decrypted TCP traffic to my EC2…
0
votes
1 answer

varnish nginx proxy protocol

I have this install from this guide https://www.linode.com/docs/websites/varnish/use-varnish-and-nginx-to-serve-wordpress-over-ssl-and-http-on-debian-8 is there any advantage for using proxoy protocol? from…
ahmad
  • 3
  • 3
0
votes
1 answer

Get Source IP Address from Go HTTP Server

I am trying to implement a HTTP server in Golang that receives requests from an Amazon ELB that uses the proxy protocol. Now I'd like to know what the original IP address is and so I was thinking about using this package. Now this package talks raws…
frankgreco
  • 1,426
  • 1
  • 18
  • 31
1
2