LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-24-2006, 10:54 PM   #1
dsschanze
Member
 
Registered: Aug 2004
Location: Gainesville, FL
Distribution: Linux Mint 12, Win7, iOS
Posts: 208

Rep: Reputation: 33
How can I change RH9 firewall settings after install?


I have finished my install of redhat 9 and realized that I forgot allow ports for Webmin during the firewall config. How can I change this in Redhat 9 after install, as when using the Security Level Config tool, I cannot get to where I can manually enter ports to allow.

-Derek
 
Old 07-24-2006, 11:15 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I can't remember if RH9 firewall GUI allowed you to enter a user-defined port or not. Certain RH versions only allowed you to select from a list of common ports, but didn't have a user-defined option. You can however use the commandline to open ports in the firewall.

Open a terminal and become root using su -

Then use the following command to open the desired ports:
iptables -I INPUT -p tcp --dport XX -j ACCEPT

**where XX is the desired port number**

Then run: service iptables save
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fresh install of RH9 for a newb user - incorrect display settings? utaeladil Linux - Hardware 2 09-18-2005 04:09 PM
Cant change firewall settings Noplis Linux - Newbie 4 02-27-2004 07:13 PM
Firewall- install RH9 as server or workstation? hookem1994 Linux - Newbie 2 11-14-2003 08:13 AM
firewall- cannot modify settings rob7712 Linux - Networking 3 04-01-2003 05:13 AM
firewall settings? akebono Linux - General 0 09-27-2001 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration