Which port setting is best for APF?

I'm running a webhosting service with:

RHE+Cpanel, and running my own DNS.

1. TCP Ports

IG_TCP_CPORTS="20,21,22,25,53,80,110,143,443,1040,2082,2083,2084,2086,2087,2095,2096"

or

IG_TCP_CPORTS="20,21,22,25,53,80,110,143,443,993,995,2082,2083,2086,2087,2095,2096,30000_35000"

2. UDP Ports

IG_UDP_CPORTS="53"

or

IG_UDP_CPORTS="20,21,37,53,873"


Which one do you think would be necessary, and should any ports be added/removed?

Thank you in advance for your replies.

 

 

 

 

Top