I'm trying to understand how to read the logs properly.
For the IP address 11.22.33.44.xx, is xx the port number?
As for the pf.conf file, is it really necessary to restrict outbound traffic? What's wrong / could go wrong with doing something like this?
I'm assuming omitting the word quick from the "pass in" rule above, further "pass in" and "block in" rules will be evaluated below?
I have my own dedicated server and I'm trying to keep things a simple as possible in order not to break nginx, apache, postfix, dovecot, etc
Code:
00:00:00.019892 rule 0..16777216/0(match): block in on em0: 180.188.246.156.29044 > 11.22.33.44.23: Flags S, seq 1208588937, win 23644, length 0
00:00:01.172317 rule 0..16777216/0(match): block in on em0: 151.226.32.226.24131 > 11.22.33.44.5900: Flags S, seq 1208588934, win 15147, length 0
As for the pf.conf file, is it really necessary to restrict outbound traffic? What's wrong / could go wrong with doing something like this?
Code:
block in all
pass in on $EXT_IF keep state
block in quick from <fail2ban> to any
pass in on ...
I have my own dedicated server and I'm trying to keep things a simple as possible in order not to break nginx, apache, postfix, dovecot, etc