12345678910111213141516171819 |
- apt-get install nftables orphan-sysvinit-scripts
- cp /usr/share/orphan-sysvinit-scripts/nftables /etc/init.d
- update-rc.d nftables defaults
- cd devuan_gnome
- cp nftables /usr/local/bin/
- cd /usr/local/bin/
- chmod 755 nftables
- nft flush ruleset
- nano /usr/local/bin/nftables
- nftables
- echo '#!/usr/sbin/nft -f' > /etc/nftables.conf
- echo 'flush ruleset' >> /etc/nftables.conf
- nft list ruleset >> /etc/nftables.conf
- cat /etc/nftables.conf
- reboot
|