Skip to content

Iptables not found in Ubuntu 20.04 #76

@elmo-666

Description

@elmo-666

I was previously running a Ubuntu 18.04 server with PSAD configured and working as expected, which I recently upgraded to 20.04. Since doing so, PSAD won't start - it gives the error Could not find/execute iptables, specify path via _iptables at /usr/share/perl5/IPTables/ChainMgr.pm line 37. I have edited /etc/psad/psad.conf and changed

iptablesCmd      /sbin/iptables;
ip6tablesCmd     /sbin/ip6tables;

to

iptablesCmd      /usr/sbin/iptables;
ip6tablesCmd     /usr/sbin/ip6tables;

to match where iptables is on the filesystem;

which iptables
/usr/sbin/iptables

But this makes no difference. I have also tried setting

ENABLE_OVERRIDE_FW_CMD Y;
FW_CMD /usr/sbin/iptables;

Which also seems to make no difference. I'm running v2.4.3 from the Ubuntu repositories.

Any indication as to how I can address this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions