Home  »  CodeSnippets   »   UFW Allow Port Range Through Firewall

UFW Allow Port Range Through Firewall

Posted: March 9, 2022 | by Michael Bright

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.