chr4-cookbooks / iptables-ng

Cookbook to maintain iptables rules and policies on different platforms, respecting the way the os handles these settings.
GNU General Public License v3.0
38 stars 32 forks source link

Ubuntu 16.04? #68

Closed alicebob closed 7 years ago

alicebob commented 7 years ago

Hi,

16.04 is not supported according to the README. Is that correct?

Systemd seems happy enough when changing netfilter-persistent back to iptables-persistent (it's still a file in /etc/init.d/ and not a proper systemd service, though).

Thanks!

chr4 commented 7 years ago

No, this is not correct. I'm using this cookbook in production on a lot of Ubuntu-16.04 machines. I'm adapting the README, thanks for spotting! 16.04 is actually also tested in the integration tests.

Regarding the netfilter-persistent service, could it be, you're talking about 16.10 or 17.04? On my machines, the systemd service is still called netfilter-persistent (having the iptables-persistent and netfilter-persistent packages installed).

alicebob commented 7 years ago

16.04.2 LTS, xenial, according to /etc/lsb-release. There is no netfilter-persistent package available...

alicebob commented 7 years ago

I missed 'universe' in my apt list. Grrr.

alicebob commented 7 years ago

Works great now, thanks and sorry for bothering :/

chr4 commented 7 years ago

Would you mind checking back how this is handled in 16.10/ 17.04? I think it makes sense to have this cookbook working without universe enabled.

No need to apologize :)