Closed andruwa13 closed 2 years ago
Welcome! Also, huh? I have no idea what you’re asking.
@travisghansen In the nginx logs internal IP, but I need to have a real IP
You’re terminating on haproxy on pfsense and then using this project to create shared frontends to forward to your ingress controller?
yes
Just check use forwardfor
in the advanced
settings for the frontend. You can optionally put something like this in the advanced pass thru
in that same section:
http-request set-header X-Forwarded-Ssl on if { ssl_fc }
http-request set-header X-Forwarded-Port %[dst_port]
http-request set-header X-Real-Ip %[src]
not work(
This really isn’t managed by this project. Sorry :(
Add X-Real-IP & X-Forwarded-For are the private ip addr of the ingress controller.