#oci-network-lb-source-header
In my case running Traefik on docker I was not getting real ip addresses. I changed the NLB option Source header (IP, port) preservation: Enabled
NOTE: To change this you need to remove the targets from the backend set first.
console issue
Suddenly the console did not allow me to re-add the VM.Standard.A1.Flex server back into the backend set. It required me to upgrade to a paid account. Which is nonsense since I used this server as a target for a long time and now suddenly they want to be sneaky with free options. At least the CLI did add the IP back in.
❯ ocicli nlb backend create --backend-set-name server01-443 --network-load-balancer-id <nlb ocid> --port 443 --ip-address 10.0.10.226test
$ curl https://whoami.virrio.comHostname: d86282cf4314IP: 127.0.0.1IP: 192.168.240.5RemoteAddr: 192.168.240.10:39018GET / HTTP/1.1Host: whoami.virrio.comUser-Agent: curl/7.81.0Accept: */*Accept-Encoding: gzipX-Forwarded-For: 141.148.143.6X-Forwarded-Host: whoami.virrio.comX-Forwarded-Port: 443X-Forwarded-Proto: httpsX-Forwarded-Server: 7ec716586d0bX-Real-Ip: 141.148.143.6