# \[SOLVED\] How to restore user IP address on a Silent Post Form Submission?

**URL:** <https://forum.mautic.org/t/solved-how-to-restore-user-ip-address-on-a-silent-post-form-submission/27925>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [May 5, 2023, 8:52pm UTC](https://forum.mautic.org/t/solved-how-to-restore-user-ip-address-on-a-silent-post-form-submission/27925 "2023-05-05T20:52:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnwick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/johnwick/32/3279_2.png) [@johnwick](https://forum.mautic.org/u/johnwick)\
**Post date:** [May 5, 2023, 8:52pm UTC](https://forum.mautic.org/t/solved-how-to-restore-user-ip-address-on-a-silent-post-form-submission/27925/1 "2023-05-05T20:52:49Z")

</div>

**Your software**  
My Mautic version is: v4.4.8  
My PHP version is: v8.0.28  
My Database type and version is: MariaDB 10.4

**Your problem**  
My problem is:

When using the silent post method to capture a new subscriber, the IP of the web server is recorded as the subscriber IP.

I see Mautic is taking the headers and extracting REMOTE\_ADDR as the IP address.

What options do I have to restore the true IP address of the subscriber? Is there a form field I can use to override, or do I have to figure out some kind of complicated header re-write?

---

<div class="post-metadata">

**Author:** ![johnwick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/johnwick/32/3279_2.png) [@johnwick](https://forum.mautic.org/u/johnwick)\
**Post date:** [May 5, 2023, 10:40pm UTC](https://forum.mautic.org/t/solved-how-to-restore-user-ip-address-on-a-silent-post-form-submission/27925/2 "2023-05-05T22:40:35Z")

</div>

Thanks to artificial intelligence technologies I’ve figured out a solution to restore a clients IP upon form submission using the silent post method.

If you’re running Joomla with RSForm! you can use a custom header using:

**X-Forward-For = {global:userip}**

 ![Screenshot 2023-05-05 at 5.35.47 PM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/79f5a0726469b558c8e572df643f29567699b20a.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [May 13, 2023, 7:07am UTC](https://forum.mautic.org/t/solved-how-to-restore-user-ip-address-on-a-silent-post-form-submission/27925/3 "2023-05-13T07:07:19Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
