# Can't get DMZ client public IP address for SFTP backend

**URL:** <https://community.traefik.io/t/cant-get-dmz-client-public-ip-address-for-sftp-backend/8515>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [November 9, 2020, 11:17am UTC](https://community.traefik.io/t/cant-get-dmz-client-public-ip-address-for-sftp-backend/8515 "2020-11-09T11:17:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![leifnel](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/leifnel/32/2047_2.png) [@leifnel](https://community.traefik.io/u/leifnel)\
**Post date:** [December 21, 2020, 3:24am UTC](https://community.traefik.io/t/cant-get-dmz-client-public-ip-address-for-sftp-backend/8515/4 "2020-12-21T03:24:04Z")

</div>

I'm not sure if you are having this problem with legacy adresses, but the same problem exists here for modern ip-adresses.

> [@Traefik v2.1.4: X-Forwarded-For header doet not pass visitor IP when using IPv6](https://community.traefik.io/t/traefik-v2-1-4-x-forwarded-for-header-doet-not-pass-visitor-ip-when-using-ipv6/4803):
>
> We use Traefik as a front-end for multiple containers running websites, and some of these sites need an ip-whitelist. In order to do this we create an ipwhitelist middleware that is part of a chain. We craft a docker run command shown below, filled using parameters passed by our CI/CD pipeline: docker run \ --name $name \ --restart unless-stopped \ -l traefik.enable=true \ -l "traefik.http.routers.$name.rule=Host(\"$hostheaders\")…

---

_[View the full topic](https://community.traefik.io/t/cant-get-dmz-client-public-ip-address-for-sftp-backend/8515)._
