# FTP Client IP

**URL:** <https://community.f5.com/t/ftp-client-ip/26309>\
**Category:** Technical Forums\
**Tags:** dev, irules, devops, application-delivery\
**Created:** [October 26, 2006, 5:40pm UTC](https://community.f5.com/t/ftp-client-ip/26309 "2006-10-26T17:40:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kirk\_Cribb\_4974](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@Kirk\_Cribb\_4974](https://community.f5.com/u/Kirk_Cribb_4974)\
**Post date:** [October 26, 2006, 5:40pm UTC](https://community.f5.com/t/ftp-client-ip/26309/1 "2006-10-26T17:40:18Z")

</div>

Is their an iRule to pass an FTP client’s real IP address to the back-end similar to the XForwarded-For or the following iRule for HTTP requests?

when HTTP\_REQUEST {

HTTP::header insert “Client-Addr” [IP::remote\_addr]

}

Thanks,

-Kirk

---

<div class="post-metadata">

**Author:** ![unRuleY\_95363](https://avatars.discourse-cdn.com/v4/letter/u/58f4c7/32.png) [@unRuleY\_95363](https://community.f5.com/u/unRuleY_95363)\
**Post date:** [October 27, 2006, 8:22pm UTC](https://community.f5.com/t/ftp-client-ip/26309/2 "2006-10-27T20:22:46Z")

</div>

Nope. Sorry, I dont think FTP wouldn’t support that.

---

<div class="post-metadata">

**Author:** ![omer\_69114](https://avatars.discourse-cdn.com/v4/letter/o/7ea924/32.png) [@omer\_69114](https://community.f5.com/u/omer_69114)\
**Post date:** [July 15, 2010, 10:28am UTC](https://community.f5.com/t/ftp-client-ip/26309/3 "2010-07-15T10:28:13Z")

</div>

is there any suggestion abour it?

---

<div class="post-metadata">

**Author:** ![hoolio](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@hoolio](https://community.f5.com/u/hoolio)\
**Post date:** [July 15, 2010, 11:52am UTC](https://community.f5.com/t/ftp-client-ip/26309/4 "2010-07-15T11:52:01Z")

</div>

Hi Omer,

There isn’t a way to insert an arbitrary header in FTP traffic. You could technically change the network layout to remove the requirement for source address translation to avoid the issue.

Aaron
