On Mon, Nov 11, 2024 at 08:37:13AM +0000, Richard Bostrom wrote: > I would like to build a music server using samba, minidlna, navidrome, maybe > jellyfin. > I need to know the simple firewall rules to open up the firewall for inbound > traffic for samba, jellyfin etc. > > I am used to ufw. I don't know the pf commands. Grateful for any help.
Going from any linux packet filtering to managing your packet filtering via your favorite text editor and /etc/pf.conf is going to involve some adjustments in approach, but I think the process will end up with something a lot more pleasantly manageable. In addition to the official resources such as the PF FAQ (https://www.openbsd.org/faq/pf/index.html) I think my own writings such as "A Few of My Favorite Things About The OpenBSD Packet Filter Tools" https://nxdomain.no/~peter/better_off_with_pf.html (or with G's trackers as the cost for slightly nicer formatting https://bsdly.blogspot.com/2022/09/a-few-of-my-favorite-things-about.html) which has a few useful links at the end including to a certain book that *might* be worth looking into. All the best, Peter -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.