/srv/irclogs.ubuntu.com/2024/03/06/#ubuntu-security.txt

=== chris14_ is now known as chris14
wuzamarineI am having issues with ufw and I was hoping to get a fresh set of eyes on it. https://ubuntuforums.org/showthread.php?t=2495670&p=14181005#post14181005 I have a second issue that I have a feeling is very much connected  https://ubuntuforums.org/showthread.php?t=2495836&p=14181365#post14181365 and help would be dearly appreciated.16:46
sarnoldwuzamarine: if I'm reading your posts correctly, I think you'd have more consistent results if you disable or uninstall ufw and write nftables rules by hand -- ufw is meant to be easy enough to run simple commands to enable common filtering things, but beyond a certain level of complexity it'd just be easier to manage exactly the rules you want yourself20:43
JanCthe "u" in "ufw" stands for "uncomplicated"20:46
JanCthere are other frontends for nftables too20:48
sarnoldand probably way more for iptables, some of them very complicated :)20:52
JanCby default iptables itself is a frontend for nftables nowadays  :)20:59
wuzamarinesarnold the problem with iptables is that you will learn the syntax once to build a firewall and then 3 years later when you have to do the same task, the syntax changes and you have to relearn it again from scratch. At this point, I am looking for anything to make it easier.21:01
sarnoldwuzamarine: hah, yeah, i'm familiar with that .. ipfwadm was easy enough but then they introduced ipchains. ipchains was annoying so I switched to ipf. then ipf was replaced with pf. then just when I was starting to learn ipchains they introduced iptables. and then just when I was getting around to learning iptables they introduced nftables. who even knows how long this one is going to last..21:03
JanCufw has been good enough for what I need recently, but almost a couple decades ago I used shorewall; no idea how it compares nowadays...21:11
JanCand there are other tools/frontends too21:11
JanCeven ufw might work for what you are trying to do, but it's been a long time since I did anything complicated with it...   :)21:12
JanCcertainly port 25 just works for me...21:14
JanC(but it's probably a different ufw version)21:17
JanCare you certain fail2ban or knockd aren't causing your issues?21:18

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!