setting ports in Red Hat 9

hi just playing around with a small linux network but i'm having trouble exporting nfs from the server.. ( a message about RPC not registered) in red hat 8 i could use the security dialog box to specify 'other ports' (111.369.2049) to allow nf...




Topic Options
#3292 - 11/10/03 03:39 AM setting ports in Red Hat 9
richo Offline
stranger

Registered: 07/30/03
Posts: 10
hi
just playing around with a small linux network but i'm having trouble exporting nfs from the server.. ( a message about RPC not registered)

in red hat 8 i could use the security dialog box to specify 'other ports' (111.369.2049) to allow nfs to be exported.

unfortunately the firewall dialog box in RH9 doesn't have an 'other ports' input box and i'm not able to work out how to specify those necessary ports

thanks i a

richo

Top
Advertisement
#137671 - 04/08/04 03:48 PM Re: setting ports in Red Hat 9
Dapper Dan Offline
Pooh-Bah

Registered: 09/27/03
Posts: 1703
Loc: The Sovereign state of South C...
What do you get when you set to "No firewall?" That should open up every port on the box to let it through.
Edit: Are you using a router? If so, have you checked it to make sure those ports are open?

Top
#137696 - 04/09/04 08:51 AM Re: setting ports in Red Hat 9
blackpage Offline
member

Registered: 03/23/04
Posts: 120
greetings,

I don't know what RedHat exactly does to initiate the firewall, and moreover _what_ firewall it is using. But in case it's iptables then you could "search" along the bootup sequence and find out what firewall script is used to fire up iptables. Start to look for files in the "rcX.d"-directories (whatever your regular runlevel is, normallly "3"->"rc3.d" and check for files like "S99iptables" or whatever; that's under MDK here). Doing so you will find out which file is passed to iptables, containing the firewall rules..

Once you've found it, it should be easy to add 2 apropriate rules (outgoing, incoming) for uncommon ports. If the script's somewhat reasonable it should have the port-familes specified in groups anyway (like $UNPRIVELEGDED=1023:65535, $SSH_PORT=22 or something like that).

In case there is no rule set for NFS (in case NFS is handeled by another "top-level"-gouverning rule) you can still launch some tool like "Firewall Builder" or the aforementioned "Firestarter" (not tested this one though) and examine the structure of their ruleset.

hope this helps

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
What version of Linux is this?
by DxxLinux
12/15/09 07:59 PM
Anything like HyperCam?
by Luckycharm8989
12/11/09 02:08 PM
Thank you for your help
by guaiguai
12/11/09 07:29 AM
What the problem is?
by guaiguai
12/11/09 05:09 AM
Need an database for Dictionary
by shaanspecial
12/09/09 10:19 AM
Who's Online
1 Registered (Nadya), 216 Guests and 42 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91333 Members
24 Forums
58946 Topics
189459 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22