LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-17-2003, 05:43 PM   #1
DrLazardo
LQ Newbie
 
Registered: May 2003
Posts: 12

Rep: Reputation: 0
Red Hat 9.0 Firewall Configuration


I have been trying to set up NFS on my Red Hat machine and recently found that the problem was due to my Red Hat server's firewall. Using the "Security Level" tool I can disable the firewall completely, allowing for NFS to work. My question is how can I customize my Red Hat firewall to allow NFS connections while basically maintaining a "Medium" security level? The GUI tool allows basically for off/on and my experimenting with iptables has not been going anywhere.
 
Old 05-17-2003, 06:33 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
There are a lot of other GUI tools you can use for making a firewall. I would suggest firestarter:

http://firestarter.sourceforge.net/
 
Old 05-17-2003, 06:43 PM   #3
DrLazardo
LQ Newbie
 
Registered: May 2003
Posts: 12

Original Poster
Rep: Reputation: 0
That works, but I would like to understand the basic firewall configuration better. I would like to obtain greater knowledge about my system as is and remove the need for GUI tools. It can't be that hard to allow NFS to pass through my current setup, but I am at a loss at the moment. Thanks for the link, I may use Firestarter anyway but would like some more info if anyone can help.
 
Old 05-22-2003, 12:12 AM   #4
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
Hi!
Try running lokkit from a console, then select customize and you can allow traffic on any ports you wish. Common ones are predefined and you can check them, you can add ports on the bottom line (ie: 515 for lpd, 443 for https, etc).

Hope that helps.

Last edited by TheOther1; 05-22-2003 at 12:14 AM.
 
Old 05-23-2003, 10:12 PM   #5
know
LQ Newbie
 
Registered: May 2003
Posts: 4

Rep: Reputation: 0
Also you can define rules by youself.
 
Old 05-24-2003, 01:21 AM   #6
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Rep: Reputation: 30
I use shorewall in the nfs server and in /etc/shorewall/rules I add the following:

ACCEPT loc fw udp 111
ACCEPT loc fw tcp 111
ACCEPT loc fw udp 2049
ACCEPT loc fw udp 32700:
 
  


Reply



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
Need some Help with the firewall in Red Hat 8 ZFighteR Linux - Networking 7 03-31-2003 06:50 PM
Red Hat 8 and Firewall...... cnc76 Linux - Distributions 1 01-24-2003 04:12 PM
Red Hat 8 and Firewall...... cnc76 Linux - Networking 1 01-24-2003 11:07 AM
Red Hat Firewall Sigmund Gudvang Linux - Networking 2 04-29-2002 05:48 PM
Red Hat 7.2 configuration burchy Linux - Distributions 4 02-26-2002 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:58 PM.

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