Outgoing SMTP port [SOLVED]
-
Hello,
I`m trying to block port 25 from LAN 192.168.11.54 (this address sends a lot of spams).
for example:
tcp 192.168.11.54:61855 -> WAN address:58345 -> 38.111.4.11:25 ESTABLISHED:ESTABLISHEDI have added this WAN rule:
reject TCP 192.168.11.54 * * 25 (SMTP) *
but it not works. The address 192.168.11.54 still connect to any by port 25.
What is wrong?
Thanks in advance
Filip
-
Rules work inbound on interfaces and not outbound.
–> Your rule on the WAN-tab does nothing.
The rule would have to be on the LAN-tab. -
thanks,
I start to understand pfsense firewall. It`s very important to know that Rules are inbound.
I have solved it. First LAN rule is:
reject TCP 192.168.11.54 * !local_smtp 25 (SMTP) *