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
Iptables module for debian-like systems #8889
Comments
@spuzirev, iptables on Debian can be tricky here because Debian does not have a standard location for iptables files. The defaults that we've set up are for Arch, Gentoo and RedHat. On other systems, you need to manually specify a conf_file to use. |
Hmm, you can use /etc/iptables/rules.v4 file, this is standard location for package iptables-persistent. |
@spuzirev is that the default for Debian proper, or Ubuntu, or something else? Or am I missing something? |
Yes, Debian and its derivatives (e.g. Ubuntu) has no standard location for saving iptables rules in package 'iptables'. But they have package 'iptables-persistent', which provides init-script /etc/init.d/iptables-persistent with 'save' argument like RedHat iptables init-script. In this case rules are saved to /etc/iptables/rules.v4 for ipv4 and /etc/iptables/rules.v6 for ipv6. As I know this package works equally on Ubuntu, Debian and Mint. |
Perfect. I'll get that in there as the default for Debian. Thanks @spuzirev! |
Iptables module is not working on Debian-like systems. How can it be fixed?
The text was updated successfully, but these errors were encountered: