Page 1 of 1
How to allow all outcomming connection?
Posted: 23 Oct 2015, 11:33
by pt_trieu
Hello,
I have just installed CSF on my server and i see it blocks all outcomming connections by default. I see my some website does not work such as whois website, send email (using external smtp server), ...
How to fix it ?
Re: How to allow all outcomming connection?
Posted: 23 Oct 2015, 12:07
by marcele
While not recommended CSF does support port ranges. Edit your TCP_OUT and UDP_OUT in /etc/csf/csf/conf to:
TCP_OUT ="1:65535"
UDP_OUT ="1:65535"
That would allow all outgoing TCP and UDP on all ports.
Re: How to allow all outcomming connection?
Posted: 30 Oct 2015, 10:38
by Elizine
Please go through
http://www.mysql-apache-php.com/csf-firewall.htm to verify whether the settings are correct. Then remove the current firewall rules and restart CSF.
Re: How to allow all outcomming connection?
Posted: 06 Nov 2015, 03:24
by pt_trieu
marcele wrote:While not recommended CSF does support port ranges. Edit your TCP_OUT and UDP_OUT in /etc/csf/csf/conf to:
TCP_OUT ="1:65535"
UDP_OUT ="1:65535"
That would allow all outgoing TCP and UDP on all ports.
Problem has been solved. Thank you very much !