but sbin is located on your system right? Or at least on my debian I have it, for example:
Code:root@deb:/# ls /sbin/iptables /sbin/iptables
See post #24 above
but sbin is located on your system right? Or at least on my debian I have it, for example:
Code:root@deb:/# ls /sbin/iptables /sbin/iptables
OK. Fixing thisthat's backward. you should make it access from "/sbin/" and jump into "/usr/sbin"
because he did not installed it before install csf right?
Yes. DA installed as rootyou did install it as root @davidc the iptables etc?
No. Did not do this the previous 2 times.also you did apt update before installing dependencies as root?
I did not install iptablesok did you install iptables as root?
because mine is installed in /sbin/
you need to install iptables before installing CSF or DA
I wiped the VPS and reinstalled Debian 11.0also if you reinstall first clean custombuild.
da build clean
I did this now, but not the previous times.How I do it is this:
Fresh OS and i do this as root:
apt update && apt upgrade
unrecognized serviceservice ufw stop
service ufw disable
apt install file libio-socket-inet6-perl libsocket6-perl sendmail dnsutils unzip libio-socket-ssl-perl libcrypt-ssleay-perl git perl iptables libnet-libidn-perl libwww-perl liblwp-protocol-https-perl libgd-graph-perl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
file is already the newest version (1:5.39-3+deb11u1).
iptables is already the newest version (1.8.7-1). <---
perl is already the newest version (5.32.1-4+deb11u3). <---
unzip is already the newest version (6.0-26+deb11u1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
exim4-config : Conflicts: sendmail-bin but 8.15.2-22+deb11u3 is to be installed. <---
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
I removed the symbolic link (from above) and am going to attempt the DA InstallAnd then install DA with CSF yes. Or I install DA with CSF no and afterwards I install CSF
I do not have symbolic links. I have everything in /sbin/ on my Debian.
root@vps:/usr/sbin# ls -l ipta*
lrwxrwxrwx 1 root root 26 Dec 1 2021 iptables -> /etc/alternatives/iptables <----
-rwxr-xr-x 1 root root 7057 Jan 15 2021 iptables-apply
lrwxrwxrwx 1 root root 20 Jan 17 2021 iptables-legacy -> xtables-legacy-multi
lrwxrwxrwx 1 root root 20 Jan 17 2021 iptables-legacy-restore -> xtables-legacy-multi
lrwxrwxrwx 1 root root 20 Jan 17 2021 iptables-legacy-save -> xtables-legacy-multi
lrwxrwxrwx 1 root root 17 Jan 17 2021 iptables-nft -> xtables-nft-multi
lrwxrwxrwx 1 root root 17 Jan 17 2021 iptables-nft-restore -> xtables-nft-multi
lrwxrwxrwx 1 root root 17 Jan 17 2021 iptables-nft-save -> xtables-nft-multi
lrwxrwxrwx 1 root root 34 Dec 1 2021 iptables-restore -> /etc/alternatives/iptables-restore
lrwxrwxrwx 1 root root 17 Jan 17 2021 iptables-restore-translate -> xtables-nft-multi
lrwxrwxrwx 1 root root 31 Dec 1 2021 iptables-save -> /etc/alternatives/iptables-save
lrwxrwxrwx 1 root root 17 Jan 17 2021 iptables-translate -> xtables-nft-multi
root@vps:/# which iptables
/usr/sbin/iptables
/sbin/iptables --version
that's normal, new OS will replace iptables with nftables, but it's will keep backwards comparative thing for command line.
csf installing script call binary from "/sbin/iptables". without this, it would be fail anyways.
you can testing it by yourself.
Code:/sbin/iptables --version
root@vps:/# /sbin/iptables --version
-bash: /sbin/iptables: No such file or directory
I do not know what they're doing. The Debian reinstall options areWe not sure. how's your cloud provider generate this Debian 11 template. If just upgrade from old version 8-9-10-11, could cause issued like this.