I have set up Cowrie (2222) and SSH (2233) on a Ubuntu server. To block all traffic except Cowrie and SSH, I have run the following commands:


iptables -A INPUT -p tcp --dport 2222 -j ACCEPT...