1

I have CSF installed on a cPanel server and know that I believe that I can unblock ports specifically for outgoing connections in the /etc/csf/csf.conf file.

It looks like this line can just be edited:

# Allow outgoing TCP ports
TCP_OUT = "20,21,22,25,37,43,53,80,110,113,443,587,873"

However, I need to unblock all ports for outgoing connections. Does anyone know if this is possible to do is CSF? It seems like it would be a bit odd for them to force you to list every one manually...

1 Answer 1

7

TCP_OUT = "1:65535"

Unless they changed it, that is how it is done.

2
  • Syntax still works 6 years later!
    – Jack
    Jan 10, 2020 at 14:51
  • confirmed . still works. thanks
    – h0mayun
    Apr 11, 2023 at 20:41

Not the answer you're looking for? Browse other questions tagged .