Tag

fedora

Browsing

If you want to open or close a port for a Linux firewall you have to edit the rules in the iptables configuration. By default iptables firewall stores its configuration at /etc/sysconfig/iptables file. You need to edit this file and add rules to open port.

Here are the steps to open the port XY using the default visual editor vi:

Open port XY

Open file /etc/sysconfig/iptables:

# vi /etc/sysconfig/iptables

Append rule as follows:

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport XY -j ACCEPT

Save and close the file. Restart iptables:

# /etc/init.d/iptables restart

Verify that port is open

Run following command:

# netstat -tulpn | less

Make sure iptables is allowing port connections:

# iptables -L -n

For more information visit:

http://www.cyberciti.biz/faq/howto-rhel-linux-open-port-using-iptables/

We have completed our annual OS survey and wanted to share the top OS choices as selected by our customers.

The operating systems most frequently selected by our clients, in order of popularity, are:

  1. CentOS 5.x
  2. Debian 4.0rx
  3. Ubuntu 8.10
  4. Windows Server 2003
  5. Fedora Core 10
  6. FreeBSD 7.x
  7. Windows Server 2003 Web Edition
  8. CentOS 5.x 64-bit
  9. Ubuntu 8.10 64-bit
  10. Gentoo 2008

“We’re releasing this information as a public service, both to our clients and anyone who is researching the best options in operating systems,” explained Octavio Diaz, COO of ServerPronto. “Generally speaking, an operating system’s popularity is going to be a significant indicator of their quality, and these operating systems clearly have a lot of satisfied customers.”

ServerPronto offers affordable and secure dedicated servers and cloud hosting service packages.