Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
port 587 not blocked?
« previous
next »
Print
Pages: [
1
]
Author
Topic: port 587 not blocked? (Read 872 times)
kr1p
Newbie
Posts: 11
Karma: 0
port 587 not blocked?
«
on:
February 06, 2023, 03:35:02 pm »
Hi,
I have this setup on my lan network where i allow traffic out on ports 22, 53, 80, 123, 443.
Then I block all traffic out on any ports
Then I allow all traffic in.
I have tried to send an email with python using smtp lib on port 587.
It was being blocked before I opened port 587 on my internet box. But after i open port 587 on my internet box it was not blocked anymore, as if the firewall let it pass.
What did i do wrong on my firewall lan rules?
See the attached screenshot for details.
Thank you
Logged
kr1p
Newbie
Posts: 11
Karma: 0
Re: port 587 not blocked?
«
Reply #1 on:
February 08, 2023, 05:09:55 pm »
The answer was to set rules in the "in" direction
see this topic for the direction meaning
https://forum.opnsense.org/index.php?topic=16829.0
Logged
Demusman
Sr. Member
Posts: 304
Karma: 13
Re: port 587 not blocked?
«
Reply #2 on:
February 08, 2023, 06:07:20 pm »
Yes, you would never use "out" except on floating rules.
The OPT rule you have there is useless. Optx can never be a source on LAN interface.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
port 587 not blocked?