Help - Search - Members - Calendar
Full Version: Opening Up Ports On The Machine
Linuxhelp > Support > Technical Support
jstroop
How do I open up specific ports on my Red Hat Enterprise Linux machine or even check to see which ones are open? Thanks.

Jon
hughesjr
RHEL uses iptables as it's firewall.

You can make coarse adjustments using the Menu - System Settings - Security Level option (ie, checking www opens port 80 and 443 in for everyone ... checking ssh opens port 22 from everywhere, ect.) Here are the details from the RHEL SysAdmin Guide

You can see the current ruleset by editing the file:

/etc/sysconfig/iptables

and man iptables gives you all the commands that can be used.
------------------------------
RedHat has a little bit about iptables in Chapter 7 of the RHEL Security Guide and here is some info from the RHEL Reference Guide. BTW, here are all the RHEL docs at RedHat.
-----------------------------
You can find how-to's and lots of information and scripts for iptables {also know as netfilter} from http://www.netfilter.org/ .
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.