ip6tables-apply: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/sbin/ip6tables-apply - from package: iptables

You may install the required package with command apt-get install {package}
Error in other languages:
ip6tables-apply: bevel nie gevind nie
ip6tables-apply: comandă negăsită
ip6tables-apply: comando não encontrado
ip6tables-apply: commande introuvable
ip6tables-apply: command not found
ip6tables-apply: käsku ei ole
ip6tables-apply: không tìm thấy lệnh
ip6tables-apply: komanda nerasta
ip6tables-apply: Kommando nicht gefunden.
ip6tables-apply: kommandot finns inte
ip6tables-apply: komut yok
ip6tables-apply: nie znaleziono polecenia
ip6tables-apply: níor aimsíodh an t-ordú
ip6tables-apply: no se encontró la orden
ip6tables-apply: no s'ha trobat l'ordre
ip6tables-apply: opdracht niet gevonden
ip6tables-apply: parancs nem található
ip6tables-apply: perintah tidak ditemukan
ip6tables-apply: príkaz nenájdený
ip6tables-apply: příkaz nenalezen
ip6tables-apply: команда не найдена
ip6tables-apply: командата не е открита
ip6tables-apply: 命令找不到
ip6tables-apply: コマンドが見つかりません