Hi @hkcccc
Can you please be more specific and let me know exactly what you are trying to achieve with Formidable? I need some context to help understand what you are asking.
Thank you!
Nathanael.
Our website is behind a nginx reverse proxy with IP 192.168.1.2
When a client submits a form, the entry’s IP address is not the client’s IP address but 192.168.1.2. How to report the correct IP?
FYI: We use other wordpress plugins that has an option to choose which IP address to use, if we set HTTP_X_FORWARDED_FOR it will correctly report client’s IP.
Hi @hkcccc
If you login to your WordPress dashboard and navigate to the Formidable > Global Settings page, at the bottom part of the general settings section there is an option for “Use custom headers when retrieving IPs with form submissions.”
This is off by default as HTTP_X_FORWARDED_FOR can be spoofed. But it’s required for reverse proxies. If you check this box and save your settings it should resolve your issue.
Best,
Nathanael.
Thank you, the settings worked.
Hi @hkcccc
I’m delighted I could help. Have a great day!
Best,
Nathanael