How to open ssh 22/TCP port using ufw on Ubuntu/Debian Linux

April 11, 2022 . 1 MIN READ

Reference:

https://www.cyberciti.biz/faq/ufw-allow-incoming-ssh-connections-from-a-specific-ip-address-subnet-on-ubuntu-debian/

 

https://askubuntu.com/questions/996340/how-to-restrict-ssh-and-ftp-to-certain-ip-address

 

sudo ufw allow from 192.168.1.100 to any port 22

Leave a Reply

Your email address will not be published. Required fields are marked *