{"id":1904,"date":"2023-07-07T10:25:53","date_gmt":"2023-07-07T15:25:53","guid":{"rendered":"https:\/\/blog.ls-al.com\/?p=1904"},"modified":"2023-07-07T10:25:53","modified_gmt":"2023-07-07T15:25:53","slug":"oci-network-load-balancer-source-header-preservation","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/oci-network-load-balancer-source-header-preservation\/","title":{"rendered":"OCI Network Load Balancer Source Header Preservation"},"content":{"rendered":"
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<\/strong><\/p>\n To change this you need to remove the targets from the backend set first. <\/p>\n At the same time suddenly the console did not allow me to 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.<\/p>\n In my case running Traefik on docker I was not getting real ip addresses. I changed the NLB option Source<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[87,118],"tags":[],"class_list":["post-1904","post","type-post","status-publish","format-standard","hentry","category-oci","category-traefik"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=1904"}],"version-history":[{"count":1,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1904\/revisions"}],"predecessor-version":[{"id":1906,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1904\/revisions\/1906"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=1904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=1904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=1904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u276f ocicli nlb backend create --backend-set-name server01-443 --network-load-balancer-id