Skip to content

Commit

Permalink
Merge pull request #934 from NeroReflex/nftables
Browse files Browse the repository at this point in the history
Use nftables instead of the deprecated iptables
  • Loading branch information
ruineka authored Jun 21, 2024
2 parents 272bcc5 + a6d587b commit 44d80fd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@ rm -rf /var/cache/pacman/pkg
pacman --noconfirm -U --overwrite '*' /extra_pkgs/*
rm -rf /var/cache/pacman/pkg
# Install the new iptables
# See https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/issues/1
# Since base package group adds iptables by default
# pacman will ask for confirmation to replace that package
# but the default answer is no.
# doing yes | pacman omitting --noconfirm is a necessity
yes | pacman -S iptables-nft
# enable services
systemctl enable ${SERVICES}
Expand Down

0 comments on commit 44d80fd

Please sign in to comment.