Originally posted here by steve.milner
Tried this?

iptables -A INPUT -i eth0 -s 0/0 -d MyPrivateIPForSlackwarebox -p tcp --dport 22 -j DROP

Steve

Oh, and -p is protocol
"Bad argument --dport"

I just looked at the iptables help file and --dport isn't even an option it says. Does someone know if --dport has a new syntax? Or what? I'm looking here and there is nothing for --dport and I'm not sure what to switch it with.