Port 465 is working but TCP_OUT and TCP6_OUT do not exist

Post Reply
mikussikus
Junior Member
Posts: 3
Joined: 21 Dec 2022, 05:06

Port 465 is working but TCP_OUT and TCP6_OUT do not exist

Post by mikussikus »

Hi,
Someone can be able to explain me why port 465 works on my CSF Firewall ? I don't have set this port in TCP_OUT and TCP6_OUT. When I use below command, it works.

openssl s_client -connect smtp.gmail.com:465

In CSF I found in Firewall Configuration these parameters but I don't know how they compare to TCP_OUT

SMTP_BLOCK = ON
SMTP_ALLOWLOCAL = ON
SMTP_PORTS = 25,465,587
Sergio
Junior Member
Posts: 1747
Joined: 12 Dec 2006, 14:56

Re: Port 465 is working but TCP_OUT and TCP6_OUT do not exist

Post by Sergio »

Remember that SMTP uses an OUT port to deliver emails, so, the command:
SMTP_PORTS = 25,465,587
means that SMPT can use those ports to send info (on this case emails), so, that is why port 465 is open.
mikussikus
Junior Member
Posts: 3
Joined: 21 Dec 2022, 05:06

Re: Port 465 is working but TCP_OUT and TCP6_OUT do not exist

Post by mikussikus »

Thank you for the explanation.
Post Reply