Skip to content

Commit

Permalink
Update Install.sh
Browse files Browse the repository at this point in the history
nftables is working now, no need to iptables
  • Loading branch information
jjxtra committed Dec 11, 2023
1 parent 552d00d commit abb3b2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IPBanCore/Linux/Scripts/Install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ FILE_NAME="IPBan-Linux-x64_$VERSION_UNDERSCORES.zip"
# install unzipper, install iptables and ipset
sudo apt -q -y update || true; sudo apt -q -y install unzip iptables ipset firewalld || true;
sudo yum -q -y update || true; sudo yum -q -y install unzip iptables ipset firewalld || true;
sudo update-alternatives --set iptables /usr/sbin/iptables-legacy || true;
sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy || true;
#sudo update-alternatives --set iptables /usr/sbin/iptables-legacy || true;
#sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy || true;

# make folder /opt/ipban
sudo mkdir /opt/ipban -p; cd /opt/ipban;
Expand Down

0 comments on commit abb3b2d

Please sign in to comment.