[BlueOnyx:26817] Firewall question

Brian Davis bldavis at texquest.com
Sun Mar 10 19:30:20 -05 2024


Recently upgraded and before always used iptables.  As such not very
familiar with firewalld. 

I usually don't allow incoming connections on port 25 (localhost only)
but allow outgoing connections on port 25. 

What is a good way to implement this?  I am used to using iptables with
the following: 

iptables -A INPUT -p tcp -s localhost --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j REJECT 

Any help would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20240310/e3397036/attachment.html>


More information about the Blueonyx mailing list