UFW allow port range.
$ sudo ufw allow 7000:7200/tcp
UFW allow port from specific IP.
$ sudo ufw allow from 41.80.9.240 to any port 22
Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.