The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Payment Gateway Connection

Discussion in 'Security' started by delalibera, Mar 17, 2014.

  1. delalibera

    delalibera Member

    Joined:
    Jan 6, 2014
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    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.
     
  2. robb3369

    robb3369 Well-Known Member

    Joined:
    Mar 1, 2008
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Are you running iptables or mod_security?
     
  3. delalibera

    delalibera Member

    Joined:
    Jan 6, 2014
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    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
     
  4. robb3369

    robb3369 Well-Known Member

    Joined:
    Mar 1, 2008
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...
Similar Threads - Payment Gateway Connection
  1. anniesteephan
    Replies:
    2
    Views:
    801

Share This Page