Payment Gateway Connection

delalibera

Member
Jan 6, 2014
20
0
1
cPanel Access Level
Reseller Owner
Hello,

Some of my sites have a integration with a payment gateway to receive payments.

This payment gateway send requests for the sites when a payment status change happens.

In the return page exists a log to see the received hits.

I belive that the server/cpanel is blocking the ip from the server that send the requests, this really happens? How can I change this?

Thanks.
 

delalibera

Member
Jan 6, 2014
20
0
1
cPanel Access Level
Reseller Owner
I think it is running with iptables because mod_security not show in phpinfo

If disabling iptables and use mod_security will solve this?

Thanks
 

robb3369

Well-Known Member
Mar 1, 2008
122
1
66
cPanel Access Level
Root Administrator
iptables is your server firewall and mod_security is your web firewall,you want to keep BOTH of them, they actually work together when configured correctly... I see that your only a reseller so this may outside your rights on the server...

First, you need to get the IP address of the gateway that is calling back and then figure out where its getting caught at...

If the gateway IP address is in the /var/log/messages log, then its blocked by iptables. Otherwise, check either /usr/local/apache/logs/modsec_audit.log or /usr/local/apache/logs/error_log to see if its getting caught by mod_security.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Your access level is listed as "Reseller Owner". Do you have root access to this server? If so, are you using a firewall management tool such as CSF?

Thank you.