Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host/Network 'accurate' not found when trying to enable firewall #456

Open
kb-elmo opened this issue May 26, 2021 · 3 comments
Open

Host/Network 'accurate' not found when trying to enable firewall #456

kb-elmo opened this issue May 26, 2021 · 3 comments

Comments

@kb-elmo
Copy link

kb-elmo commented May 26, 2021

There seems to be a mismatch between the command that Firehol tries to run and the way that IPtables interprets the command.

ERROR   : # 1.
WHAT    : A runtime command failed to execute (returned error 2).
SOURCE  : 30@/etc/firehol/firehol.conf: server:
COMMAND : /sbin/iptables -t filter -A in_public4 -s accurate -m conntrack --ctstate NEW\,ESTABLISHED -j ACCEPT
OUTPUT  :

iptables v1.6.0: host/network `accurate' not found
Try `iptables -h' or 'iptables --help' for more information.

This error occurs 12 times in a row when running firehol nofast save.

When changing the firehol ruleset mode in firehol-defaults.conf to 'optimal' the error changes accordingly.

OS is Debian 9.13 Stretch
Firehol version is 3.1.1

@kb-elmo kb-elmo changed the title Host/Network Host/Network 'accurate' not found when trying to enable firewall May 26, 2021
@kb-elmo
Copy link
Author

kb-elmo commented Jun 28, 2021

Any ideas on this?

Or is firehol just not working anymore with certain IPtables versions now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@kb-elmo and others