by upofadown · 8y ago · 0 comments
Yes. It is called pf.
block in on fxp0 proto tcp to any port { 25 80 }
... blocks incoming email and http connections on the fxp0 interface. That is all you need to put in pf.conf to do that. block in on egress proto tcp to port { 25, 80 }