sudo ufw allow proto tcp from 192.168.0.2 to any port 22
sudo ufw delete deny 22
sudo ufw allow 22
sudo ufw enable
Ref: https://help.ubuntu.com/lts/serverguide/firewall.html
sudo ufw allow proto tcp from 192.168.0.2 to any port 22
sudo ufw delete deny 22
sudo ufw allow 22
sudo ufw enable
Ref: https://help.ubuntu.com/lts/serverguide/firewall.html