ip6tables-restore: 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:

/sbin/ip6tables-restore - from package: iptables

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