WHMCS Widget For Zendesk - correct IP syntax in config

Discuss our WHMCS modules and everything associated with them.

WHMCS Widget For Zendesk - correct IP syntax in config

Postby datavault » 1st July 2014, 3:24 am

Hi guys,

Just need to check the correct syntax to list multiple IPs in the whitelist section of the configuration.php for the WHMCS Widget For Zendesk. We are using the hosted Zendesk, and need to whitelist about 20 different possible IPs (https://support.zendesk.com/entries/23126726-Zendesk-Public-IP-addresses).

At the moment, I have this written up like this -

Code: Select all
$widget_ip_whitelist = array(
   '23.253.8.0',
   '23.253.19.240',
   '23.253.198.176',
   '50.56.23.160',
   '50.57.4.208',
   '50.57.192.176',
   '50.57.199.0',
   '96.46.150.192',
   '96.46.156.0',
   '108.166.21.180',
   '108.166.24.224',
   '108.166.31.240',
   '108.166.44.40',
   '162.209.39.0',
   '173.203.47.128',
   '173.203.47.160',
   '174.137.46.0',
   '184.106.0.176',
   '184.106.12.184',
   '184.106.40.64',
   '185.12.80.0',
   '192.161.144.0',
   '198.61.143.28',
   '198.61.149.152',
   '198.101.188.224',
);


Is this correct? I'm still seeing the "Incorrect IP" error, but aren't sure if that's because they've been entered incorrectly or if it's actually a problem.

Thanks,

- Andrew
datavault
 
Posts: 2
Joined: 1st July 2014, 3:21 am

Re: WHMCS Widget For Zendesk - correct IP syntax in config

Postby Piotr » 1st July 2014, 4:04 pm

Hello,

The syntax is correct.
In that case you can make use of 'unauthorized_access_attempts.txt' file.
You can find further explanation of the problem in our Wiki at Common Problems section point number 1.
Piotr Dołęga
ModulesGarden CMO
Site Admin
ModulesGarden - High-End WHMCS Modules & Software Developer Outsourcing
User avatar
Piotr
Site Admin
 
Posts: 601
Joined: 14th June 2012, 10:19 am
Location: Poland

Re: WHMCS Widget For Zendesk - correct IP syntax in config

Postby datavault » 2nd July 2014, 3:13 am

Thanks for that, Piotr. Nice to know some of it is set up correctly, at least!

I'm not seeing any content in the .txt file - how do I ensure the permissions are correct?

Thanks,

- Andrew
datavault
 
Posts: 2
Joined: 1st July 2014, 3:21 am

Re: WHMCS Widget For Zendesk - correct IP syntax in config

Postby Piotr » 3rd July 2014, 4:03 pm

To ensure that permissions are correct you can use chmod, e.g. directly through your FTP.
Piotr Dołęga
ModulesGarden CMO
Site Admin
ModulesGarden - High-End WHMCS Modules & Software Developer Outsourcing
User avatar
Piotr
Site Admin
 
Posts: 601
Joined: 14th June 2012, 10:19 am
Location: Poland


Return to WHMCS Modules

Who is online

Users browsing this forum: No registered users and 11 guests

cron