Skip to content

Get proxy protocol working correctly #404

Description

@rjbaat

Hi All,
I am trying to get proxy protocol enabled on my Traefik setup on DigitalOcean k8s.
The hw load balancer has proxy protocol. I can enable it manually, but then I get a error 400 respons from my ingressRoute.

I tried to add an additional argument to the entry point web with the trusted ip. I tried it with the internal subnet of DO and 127.0.0.1/32 like stated in the documentation. But on my 3 node cluster it sometimes gives the node ip of one of the 3 cluster nodes, instead of my ISP ip. I think this is because it is the node that Traefik container actual lives on.

--entryPoints.web.proxyProtocol.trustedIPs=127.0.0.1/32,<INTERNAL_IP_SUBNET>

I noticed that it only truly works when I add the additional argument like:

--entryPoints.web.proxyProtocol.insecure

Any idea how to get proxy protocol working with the DO load balancer entry points, without getting the node ip?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions