Ferm 2.5.1 and Iptables 1.8.7 in Ubuntu 22.04

Asked by Chris Irwin

After upgrading from Ubuntu 20.04 to 22.04, my ferm rules are no longer working as expected. Rules meant to be applied to only one interface are showing as being applied to all interfaces.

During the upgrade, it appears as though iptables was upgraded from 1.8.4 to 1.8.7. Ferm was not upgraded, and remained at 2.5.1. I'm not sure what version of ferm may work, but I am considering removing 2.5.1 and installing 2.6 or 2.7 directly from https://github.com/MaxKellermann/ferm/tags

Or could there be some other problem? I haven't changed my configuration much. I just wanted to open a new port and when I applied my rules, all ports blocked on at least one interface are blocked on all interfaces. At least I think this is what is happening. I have a rue for one interface to open a port, and another rule to drop the same port on a different interface, but only anywhere drop is showing in iptables -L. I would want the port to be open on one interface, but not the other, instead of blocked everywhere.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ferm Edit question
Assignee:
No assignee Edit question
Solved by:
Chris Irwin
Solved:
Last query:
Last reply:
Revision history for this message
Chris Irwin (pianowow) said :
#1

Oh never mind. No idea why it just started working, but it did.

Revision history for this message
sdg (dfgd457) said :
#2

Our SEO services are tailored to maximize visibility and help you reach new heights. We provide up-to-date search engine optimization (SEO) services to ensure your business stays ahead of the competition.https://tdmarketinggroup.com/marketing-murrieta/