#ufw command
ufw list
ufw status numbered
ufw delete 2

#from ip to specific port
sudo ufw allow from 192.168.3.0/24 to any port 9100 comment "enable node exporter"

#allow to any port from specific ip
sudo ufw allow from 10.104.0.0/20 to any