Portal Home > Knowledgebase > Articles Database > Security Risks of opening ports on cPanel server


Security Risks of opening ports on cPanel server




Posted by kshazad86, 08-25-2012, 01:45 PM
I have a user who needs to use Port 1129 to use a credit card payment gateway (LinkPoint API). How can I open up the port whilst making sure that only this application is able to use this port? Note: I am running a cPanel/WHM server with ConfigServer Firewall.

Posted by MikeDVB, 08-25-2012, 01:46 PM
There is no good way to make sure *only* that application uses the port that I know of. You could perhaps limit traffic on that port to that certain user but that's a pretty advanced firewall rule (if I'm even remembering correctly). I'd simply check the payment gateway's documentation to make sure it uses that port, and then open the *outbound* port only, that is, if you make changes such as these on your platform for customers.

Posted by kshazad86, 08-25-2012, 01:53 PM
Thanks, so this rule would be fine?: tcp|out|d=1129 Does anyone know what IP address linkpoint API uses as I think I can create a firewall rule that will only allow a particular IP address to access port 1129?

Posted by rcs, 08-25-2012, 01:55 PM
netstat -an|grep 1129 and see where it's connecting to.

Posted by BestServerSupport, 08-26-2012, 01:32 AM
I am not sure which IP address they are using to run their API. You can contact their support to get exact details. It is good idea to restrict certain IP address only for outbound port.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
abops.com ?? (Views: 716)
My Kind of Host (Views: 709)


Language: