ufw status

ufw allow 80
ufw status numbered
ufw status numbered | grep 3306
ufw delete 1

Allow an IP to any port:
ufw allow from x.x.x.x/xx
ufw allow from x.x.x.x to <destination> port <port number> proto <protocol name>
ufw allow from x.x.x.x/xx