# Bindsame feature?

**URL:** <https://discourse.mitmproxy.org/t/bindsame-feature/656>\
**Category:** development\
**Created:** [October 13, 2017, 4:13am UTC](https://discourse.mitmproxy.org/t/bindsame-feature/656 "2017-10-13T04:13:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arya6000](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/arya6000/32/214_2.png) [@arya6000](https://discourse.mitmproxy.org/u/arya6000)\
**Post date:** [October 13, 2017, 4:13am UTC](https://discourse.mitmproxy.org/t/bindsame-feature/656/1 "2017-10-13T04:13:56Z")

</div>

Tinyproxy has a feature called “bindsame” if enabled, it binds the connecting ip to the outgoing ip

Would this be possible by making small modifications to the mitmproxy’s source code?

---

<div class="post-metadata">

**Author:** ![mhils](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/mhils/32/7_2.png) [@mhils](https://discourse.mitmproxy.org/u/mhils)\
**Post date:** [October 16, 2017, 2:05am UTC](https://discourse.mitmproxy.org/t/bindsame-feature/656/2 "2017-10-16T02:05:24Z")

</div>

Not sure if I understand you correctly, but are you looking for our spoof\_source\_address option?
