Iptables: command not found

SYS Server with Ubunutu x64 16.04 and distribution kernel.

Ran setup and getting the following error prior to the mount point choice…
/etc/QuickBox/setup/quickbox-setup: line 206: iptables: command not found

[edit] Not sure if this is a bug or not. If so can you move to bug section.

202# This function blocks an insecure port 1900 that may lead to
203# DDoS masked attacks. Only remove this function if you absolutely
204# need port 1900. In most cases, this is a junk port.
205function _ssdpblock() {
206iptables -I INPUT 1 -p udp -m udp --dport 1900 -j DROP

If iptables is missing do
sudo apt-get install iptables

If it’s there but not working? do a reinstall
sudo apt-get --reinstall install iptables

2 Likes

Thanks for reply. I started over and did not see issue after reinstalling iptables first.

Not sure why it gives this error though. Have setup on an identical server with same OS and kernel but did not have that issue.