nftables-sysvinit_Readme_ii 438 B

12345678910111213141516171819
  1. apt-get install nftables orphan-sysvinit-scripts
  2. cp /usr/share/orphan-sysvinit-scripts/nftables /etc/init.d
  3. update-rc.d nftables defaults
  4. cd devuan_gnome
  5. cp nftables /usr/local/bin/
  6. cd /usr/local/bin/
  7. chmod 755 nftables
  8. nft flush ruleset
  9. nano /usr/local/bin/nftables
  10. nftables
  11. echo '#!/usr/sbin/nft -f' > /etc/nftables.conf
  12. echo 'flush ruleset' >> /etc/nftables.conf
  13. nft list ruleset >> /etc/nftables.conf
  14. cat /etc/nftables.conf
  15. reboot