Title pretty much says it all. I try the line:
and get the error listed in the title.Code:sudo iptables -I INPUT 1 --dport 80 -j ACCEPT
EDIT: Fixed. I forgot that you have to list a protocol in order to use port. Changing line to:
workedCode:sudo iptables -I INPUT 1 -p tcp --dport 80 -j ACCEPT
Bookmarks