# Wrong sourceip for connection request

**URL:** <https://forum.genieacs.com/t/wrong-sourceip-for-connection-request/1987>\
**Category:** Uncategorized\
**Created:** [September 6, 2021, 11:50am UTC](https://forum.genieacs.com/t/wrong-sourceip-for-connection-request/1987 "2021-09-06T11:50:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrynjarP](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@BrynjarP](https://forum.genieacs.com/u/BrynjarP)\
**Post date:** [September 6, 2021, 11:50am UTC](https://forum.genieacs.com/t/wrong-sourceip-for-connection-request/1987/1 "2021-09-06T11:50:44Z")

</div>

Hi!

I have a installation that have multiple ip on the NIC facing the infrastucrure side, when I from web-ui initiate an connection-request towards the CPE, the specified IP in the env file is not used as source.

Periodic and other cwmp traffic is working as it should, but some CPE refuses connection-request from this “unknown” IP

In my env-file I have set:  
GENIEACS\_CWMP\_INTERFACE=172.17.200.10

---

<div class="post-metadata">

**Author:** ![zaidka](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/zaidka/32/9_2.png) [@zaidka](https://forum.genieacs.com/u/zaidka)\
**Post date:** [September 15, 2021, 12:14am UTC](https://forum.genieacs.com/t/wrong-sourceip-for-connection-request/1987/2 "2021-09-15T00:14:20Z")

</div>

The option CWMP\_INTERFACE only configures the binding address to listen for incoming requests. It has no effect on outgoing connection requests which are anyway initiated by `genieacs-ui` or `genieacs-nbi`, not `genieacs-cwmp`.

This sounds like something that can be fixed with the proper iptables rules.
