apf ports management

apf ports management

Once in your server, open the following file in your favorite text editor:


/etc/apf/conf.apf

Use your editor’s search function to find the following line:


# Common inbound (ingress) TCP ports
IG_TCP_CPORTS="20,21,22,25,53,80,110,143,443,465,993,995"

Besides this ingress TCP entry, you should also see similar lines for UDP and ICMP ports, and outbound (egress) entries for all three packet types. For the most part, when a program needs a port opened, it needs inbound TCP opened. If you open the port following these article, and you still encounter problems, check to make sure the program does not need outbound TCP opened, or another packet type altogether.

Add the port that your program is requesting by adding the port number to the list. Make sure it is separated from other ports by commas.

After saving and closing out of your text editor, you will need to restart APF. This is as simple as running:


apf -r

    • Related Articles

    • New Access Management User setup on Linux

      1) Login to your accounts.cartika.com account 2) Select your access management service (customers with managed infrastructure in both the US and CAD will have two) 3) Navigate to Login to SolidCP -> Click Login 4) Click on Users under your Hosted ...
    • New Access Management User setup on Windows 2008 / 2008r2

      In order to manage your GDPR compliant access to Windows 2008 You will need to create  1) Login to your accounts.cartika.com account 2) Select your access management service (customers with managed infrastructure in both the US and CAD will have two) ...
    • New Access Management User setup on Windows 2012 / 2012 R2

      In order to manage your GDPR compliant access to Windows server (dedicated tunnel with secure session) You will need to create  1) RDS Collection And assigned your servers  2) Your desired Group and assigned users  3) RDS users assigned to each ...
    • Adding / Removing Remote Desktop Applications Through your solidcp

      You can manage all the remote applications that are available for download under your RDS/RDweb portal by navigating to your Solidcp account  RDS Collections > Choose an appropriate collection > Remote applications > Your server > choose an ...
    • Toronto Facility/NOC

      Cartika has a colocation facility in the Aptum Technologies Data Center located at 20 Pullman Court in Toronto, Canada. With Cartika, you can enjoy the peace of mind that comes from knowing your critical data is protected around the clock.  Our NOC ...