OpenSuse / Suse Linux Open a Port Range in the Firewall

How do I open a network port range in the firewall under OpenSuse / Suse Enterprise Linux server? How do open a port range in my firewall, such as the TCP ports 30000 to 35000?

Advertisement

You can use Yast tool to open a port ranges under Suse Linux.

Start YaST (type yast command prompt)

Select Security and Users

Select Firewall.

Click Allowed Services

Advanced and enter the desired port range 30000:35000 (syntax is from-port-start:to-port-end). For example, enter the following for the TCP ports 30000 to 35000:
30000:35000

Finally, Close the advanced configuration by clicking OK.

Click Next > Accept.

After closing the YaST firewall configuration, the TCP port range is opened for you.

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

0 comments… add one

Leave a Reply

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

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.