VICIdial Dynportal issue on Cloudflare SSL

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

VICIdial Dynportal issue on Cloudflare SSL

Postby callcentertech » Sat Aug 13, 2022 12:56 pm

Hello All,

Here is what I have achieved so far.
Setup Cloudlfare SSL for Apache2, dynprtal, viciphone and asterisk web socket (Fully Working)
Configured page rules and everything else in cloudflare to make it work

The issue is with the Dynportal. When I whitelist my IP. It should ideally take client machine IP, but instead its grabbing one of the proxy IP of client's nearest Cloudflare node.

I changed $remoteip=$_SERVER['REMOTE_ADDR'] to $remoteip=$_SERVER['HTTP_X_FORWARDED_FOR'] , It works but there are two issues with that.
1. Its a security risk
2. It does not whitelist (dynamic) the IP

Please advise..
Email: kaushal@callcentertech.net, Phone/WhatsApp: +1 (636)-556-0022
Web: https://www.callcentertech.net, Skype: live:52956f35f3283f55
Fully Automated VICIdial Installer https://www.callcentertech.net/vicifast/
callcentertech
 
Posts: 48
Joined: Sat Jul 17, 2021 2:01 pm
Location: Ahmedabad, India

Return to Support

Who is online

Users browsing this forum: No registered users and 75 guests