OpenSuse / Suse Linux Open a Port Range in the Firewall

Posted on in Categories , , , last updated June 2, 2009

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?

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.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Leave a Comment