ufw allow udp and tcp code example
Example 1: allow ip through ufw
sudo ufw allow from 15.15.15.0/24 to any port 22
Example 2: ufw linux
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow from 15.15.15.0/24 to any port 22
sudo ufw default deny incoming
sudo ufw default allow outgoing