[artix-general] nftables-openrc

neeshy neeshy at tfwno.gf
Fri Feb 22 21:46:46 EET 2019


On Fri, 22 Feb 2019 19:47:58 +0300
artix_qwezxl via artix-general <artix-general at artixlinux.org> wrote:

> On Fri, Feb 22, 2019, at 01:45, Christos Nouskas wrote:
> > On Thu, 21 Feb 2019 20:52:34 +0300
> > artix_qwezxl via artix-general <artix-general at artixlinux.org> wrote:
> > 
> >> Hello,
> >> I want change my iptables to nftables, but there no nftables-
> >> openrc package.Can someone of developers add it?
> > 
> > Use the .init and .confd files from
> > https://gitweb.gentoo.org/repo/gentoo.git/tree/net-firewall/nftables/files>
> > Put them in /etc/init.d and /etc/conf.d respectively and don't
> > forget to replace the shebang with #!/usr/bin/openrc-run - then
> > report success here and we'll (eventually) create a package.> 
> > 
> > 
> > 
> > --
> > Christos Nouskas
> > https://systemd-free.artixlinux.org
> There also libexec[1] folder, required by init script. Where i
> should put it?
> Links:
> 
>   1.
> https://gitweb.gentoo.org/repo/gentoo.git/tree/net-firewall/nftables/files/libexec

Looks like nftables.sh goes in /usr/libexec/nftables/. Also, the ebuild
suggests that you should use the '-mk' versions of the scripts if
your kernel version is over 3.18.

https://gitweb.gentoo.org/repo/gentoo.git/tree/net-firewall/nftables/nftables-0.9.0-r4.ebuild


More information about the artix-general mailing list